ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkShiftScaleImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
void | operator= (const Self &) |
ShiftScaleImageFilter (const Self &) |
Private Attributes | |
long | m_OverflowCount |
RealType | m_Scale |
RealType | m_Shift |
Array< long > | m_ThreadOverflow |
Array< long > | m_ThreadUnderflow |
long | m_UnderflowCount |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
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.
|
protected |
End concept checking
|
protected |
End concept checking
|
private |
|
protectedvirtual |
Tally accumulated in threads.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
Initialize some accumulators before the threads run.
Reimplemented from itk::ImageSource< TOutputImage >.
|
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 |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Get the number of pixels that underflowed and overflowed.
|
virtual |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
|
virtual |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
|
virtual |
Get the number of pixels that underflowed and overflowed.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
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 >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
|
virtual |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
|
protectedvirtual |
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 > )
|
static |
Image related typedefs.
Definition at line 77 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 135 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 132 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 131 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 138 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 137 of file itkShiftScaleImageFilter.h.
|
private |
Definition at line 134 of file itkShiftScaleImageFilter.h.