ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkShiftScaleInPlaceImageFilter.h>
Shift and scale the pixels in an image.
ShiftScaleInPlaceImageFilter 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.
ShiftScaleInPlaceImageFilter overwrites the input image to form the output image. If you do not want the input data destroyed, use the ShiftScaleImageFilter instead.
Definition at line 46 of file itkShiftScaleInPlaceImageFilter.h.
typedef SmartPointer< const Self > itk::ShiftScaleInPlaceImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 54 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::IndexType itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImageIndexType |
Typedef to describe the output and input image index and size types.
Definition at line 72 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::OffsetType itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImageOffsetType |
Definition at line 74 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::PixelType itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImagePixelType |
Typedef to describe the type of pixel.
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 68 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::Pointer itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImagePointer |
Typedef to describe the pointer to the input/output.
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 64 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::RegionType itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImageRegionType |
Typedef to describe the output and input image region types.
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 57 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::SizeType itk::ShiftScaleInPlaceImageFilter< TInputImage >::InputImageSizeType |
Definition at line 73 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::IndexType itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImageIndexType |
Definition at line 75 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::OffsetType itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImageOffsetType |
Definition at line 77 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::PixelType itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 69 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::Pointer itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 65 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::RegionType itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 61 of file itkShiftScaleInPlaceImageFilter.h.
typedef TInputImage::SizeType itk::ShiftScaleInPlaceImageFilter< TInputImage >::OutputImageSizeType |
Definition at line 76 of file itkShiftScaleInPlaceImageFilter.h.
typedef SmartPointer< Self > itk::ShiftScaleInPlaceImageFilter< TInputImage >::Pointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 53 of file itkShiftScaleInPlaceImageFilter.h.
typedef NumericTraits< OutputImagePixelType >::RealType itk::ShiftScaleInPlaceImageFilter< TInputImage >::RealType |
Type to use form computations.
Definition at line 80 of file itkShiftScaleInPlaceImageFilter.h.
typedef ShiftScaleInPlaceImageFilter itk::ShiftScaleInPlaceImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 51 of file itkShiftScaleInPlaceImageFilter.h.
typedef InPlaceImageFilter< TInputImage > itk::ShiftScaleInPlaceImageFilter< TInputImage >::Superclass |
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
Definition at line 52 of file itkShiftScaleInPlaceImageFilter.h.
itk::ShiftScaleInPlaceImageFilter< TInputImage >::ShiftScaleInPlaceImageFilter | ( | ) | [protected] |
End concept checking
itk::ShiftScaleInPlaceImageFilter< TInputImage >::~ShiftScaleInPlaceImageFilter | ( | ) | [protected] |
End concept checking
itk::ShiftScaleInPlaceImageFilter< TInputImage >::ShiftScaleInPlaceImageFilter | ( | const Self & | ) | [private] |
void itk::ShiftScaleInPlaceImageFilter< TInputImage >::AfterThreadedGenerateData | ( | ) | [protected, virtual] |
Tally data accumulated in threads.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::ShiftScaleInPlaceImageFilter< TInputImage >::BeforeThreadedGenerateData | ( | ) | [protected, virtual] |
Initialize some accumulators before the threads run.
Reimplemented from itk::ImageSource< TInputImage >.
virtual::itk::LightObject::Pointer itk::ShiftScaleInPlaceImageFilter< TInputImage >::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::ShiftScaleInPlaceImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
virtual long itk::ShiftScaleInPlaceImageFilter< TInputImage >::GetOverflowCount | ( | ) | const [virtual] |
Get the number of pixels that underflowed and overflowed.
virtual RealType itk::ShiftScaleInPlaceImageFilter< TInputImage >::GetScale | ( | ) | const [virtual] |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
virtual RealType itk::ShiftScaleInPlaceImageFilter< TInputImage >::GetShift | ( | ) | const [virtual] |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
virtual long itk::ShiftScaleInPlaceImageFilter< TInputImage >::GetUnderflowCount | ( | ) | const [virtual] |
Get the number of pixels that underflowed and overflowed.
static Pointer itk::ShiftScaleInPlaceImageFilter< TInputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::ShiftScaleInPlaceImageFilter< TInputImage >::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::InPlaceImageFilter< TInputImage >.
void itk::ShiftScaleInPlaceImageFilter< TInputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::InPlaceImageFilter< TInputImage >.
virtual void itk::ShiftScaleInPlaceImageFilter< TInputImage >::SetScale | ( | RealType | _arg | ) | [virtual] |
Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
virtual void itk::ShiftScaleInPlaceImageFilter< TInputImage >::SetShift | ( | RealType | _arg | ) | [virtual] |
Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
void itk::ShiftScaleInPlaceImageFilter< TInputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected] |
Multi-thread version GenerateData.
itk::ShiftScaleInPlaceImageFilter< TInputImage >::typedef | ( | Concept::HasNumericTraits< InputImagePixelType > | ) |
Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputImagePixelType > )
itk::ShiftScaleInPlaceImageFilter< TInputImage >::typedef | ( | Concept::AdditiveOperators< InputImagePixelType, RealType, RealType > | ) |
This class requires InputPlusRealTypeCheck in the form of ( Concept::AdditiveOperators< InputImagePixelType, RealType, RealType > )
itk::ShiftScaleInPlaceImageFilter< TInputImage >::typedef | ( | Concept::MultiplyOperator< RealType > | ) |
This class requires RealTypeMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< RealType > )
const unsigned int itk::ShiftScaleInPlaceImageFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension [static] |
Image related typedefs.
Definition at line 84 of file itkShiftScaleInPlaceImageFilter.h.
long itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_OverflowCount [private] |
Definition at line 142 of file itkShiftScaleInPlaceImageFilter.h.
RealType itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_Scale [private] |
Definition at line 139 of file itkShiftScaleInPlaceImageFilter.h.
RealType itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_Shift [private] |
Definition at line 138 of file itkShiftScaleInPlaceImageFilter.h.
Array< long > itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_ThreadOverflow [private] |
Definition at line 145 of file itkShiftScaleInPlaceImageFilter.h.
Array< long > itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_ThreadUnderflow [private] |
Definition at line 144 of file itkShiftScaleInPlaceImageFilter.h.
long itk::ShiftScaleInPlaceImageFilter< TInputImage >::m_UnderflowCount [private] |
Definition at line 141 of file itkShiftScaleInPlaceImageFilter.h.