ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkShiftScaleImageFilter.h>
Shift and scale the pixels in an image.
ShiftScaleImageFilter shifts the input pixel by Shift (default 0.0) and then scales the pixel by Scale (default 1.0). All computattions are performed in the precison of the input pixel's RealType. Before assigning the computed value to the output pixel, the value is clamped at the NonpositiveMin and max of the pixel type.
Definition at line 39 of file itkShiftScaleImageFilter.h.
typedef SmartPointer< const Self > itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 47 of file itkShiftScaleImageFilter.h.
typedef TInputImage::IndexType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImageIndexType |
Typedef to describe the output and input image index and size types.
Definition at line 65 of file itkShiftScaleImageFilter.h.
typedef TInputImage::OffsetType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImageOffsetType |
Definition at line 67 of file itkShiftScaleImageFilter.h.
typedef TInputImage::PixelType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Typedef to describe the type of pixel.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkShiftScaleImageFilter.h.
typedef TInputImage::Pointer itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Typedef to describe the pointer to the input/output.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkShiftScaleImageFilter.h.
typedef TInputImage::RegionType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Typedef to describe the output and input image region types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkShiftScaleImageFilter.h.
typedef TInputImage::SizeType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::InputImageSizeType |
Definition at line 66 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::IndexType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
Definition at line 68 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::OffsetType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImageOffsetType |
Definition at line 70 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::PixelType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::Pointer itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 58 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::RegionType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkShiftScaleImageFilter.h.
typedef TOutputImage::SizeType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::OutputImageSizeType |
Definition at line 69 of file itkShiftScaleImageFilter.h.
typedef SmartPointer< Self > itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 46 of file itkShiftScaleImageFilter.h.
typedef NumericTraits< OutputImagePixelType >::RealType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::RealType |
Type to use form computations.
Definition at line 73 of file itkShiftScaleImageFilter.h.
typedef ShiftScaleImageFilter itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 44 of file itkShiftScaleImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 45 of file itkShiftScaleImageFilter.h.
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ShiftScaleImageFilter | ( | ) | [protected] |
End concept checking
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::~ShiftScaleImageFilter | ( | ) | [protected] |
End concept checking
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ShiftScaleImageFilter | ( | const Self & | ) | [private] |
void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::AfterThreadedGenerateData | ( | ) | [protected, virtual] |
Tally accumulated in threads.
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData | ( | ) | [protected, virtual] |
Initialize some accumulators before the threads run.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual::itk::LightObject::Pointer itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual const char* itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual long itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::GetOverflowCount | ( | ) | const [virtual] |
Get the number of pixels that underflowed and overflowed.
virtual RealType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::GetScale | ( | ) | const [virtual] |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
virtual RealType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::GetShift | ( | ) | const [virtual] |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
virtual long itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::GetUnderflowCount | ( | ) | const [virtual] |
Get the number of pixels that underflowed and overflowed.
static Pointer itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::SetScale | ( | RealType | _arg | ) | [virtual] |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
virtual void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::SetShift | ( | RealType | _arg | ) | [virtual] |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
void itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
Multi-thread version GenerateData.
Reimplemented from itk::ImageSource< TOutputImage >.
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< OutputImagePixelType > | ) |
Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputImagePixelType > )
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::AdditiveOperators< InputImagePixelType, RealType, RealType > | ) |
This class requires InputPlusRealTypeCheck in the form of ( Concept::AdditiveOperators< InputImagePixelType, RealType, RealType > )
itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::MultiplyOperator< RealType > | ) |
This class requires RealTypeMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< RealType > )
const unsigned int itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static] |
Image related typedefs.
Definition at line 77 of file itkShiftScaleImageFilter.h.
long itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_OverflowCount [private] |
Definition at line 135 of file itkShiftScaleImageFilter.h.
RealType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_Scale [private] |
Definition at line 132 of file itkShiftScaleImageFilter.h.
RealType itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_Shift [private] |
Definition at line 131 of file itkShiftScaleImageFilter.h.
Array< long > itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_ThreadOverflow [private] |
Definition at line 138 of file itkShiftScaleImageFilter.h.
Array< long > itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_ThreadUnderflow [private] |
Definition at line 137 of file itkShiftScaleImageFilter.h.
long itk::ShiftScaleImageFilter< TInputImage, TOutputImage >::m_UnderflowCount [private] |
Definition at line 134 of file itkShiftScaleImageFilter.h.