Class ShiftScaleImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ShiftScaleImageFilter
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 computations are performed in the
precision 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.
See:
 itk::simple::ShiftScale for the procedural interface
 itk::ShiftScaleImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkShiftScaleImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ShiftScaleImageFilter::ShiftScaleImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedShiftScaleImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ShiftScaleImageFilter::~ShiftScaleImageFilter() DestructorImage itk::simple::ShiftScaleImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetName()std::string itk::simple::ShiftScaleImageFilter::GetName() const Name of this classPixelIDValueEnum itk::simple::ShiftScaleImageFilter::GetOutputPixelType() const Get the output pixel type.longint64_t itk::simple::ShiftScaleImageFilter::GetOverflowCount() const Get the number of pixels that underflowed and overflowed.doublegetScale()double itk::simple::ShiftScaleImageFilter::GetScale() const Set/Get the amount to Scale each Pixel.doublegetShift()double itk::simple::ShiftScaleImageFilter::GetShift() const Set/Get the amount to Shift each Pixel.longint64_t itk::simple::ShiftScaleImageFilter::GetUnderflowCount() const Get the number of pixels that underflowed and overflowed.voidsetOutputPixelType(PixelIDValueEnum OutputPixelType) Self& itk::simple::ShiftScaleImageFilter::SetOutputPixelType(PixelIDValueEnum OutputPixelType) Set the output pixel type, if sitkUnknown then the input type is used.voidsetScale(double Scale) Self& itk::simple::ShiftScaleImageFilter::SetScale(double Scale) Set/Get the amount to Scale each Pixel.voidsetShift(double Shift) Self& itk::simple::ShiftScaleImageFilter::SetShift(double Shift) Set/Get the amount to Shift each Pixel.protected static longtoString()std::string itk::simple::ShiftScaleImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
ShiftScaleImageFilterprotected ShiftScaleImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ShiftScaleImageFilterpublic ShiftScaleImageFilter()itk::simple::ShiftScaleImageFilter::ShiftScaleImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::ShiftScaleImageFilter::~ShiftScaleImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setShiftpublic void setShift(double Shift) Self& itk::simple::ShiftScaleImageFilter::SetShift(double Shift) Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
- 
getShiftpublic double getShift()double itk::simple::ShiftScaleImageFilter::GetShift() const Set/Get the amount to Shift each Pixel. The shift is followed by a Scale.
- 
setScalepublic void setScale(double Scale) Self& itk::simple::ShiftScaleImageFilter::SetScale(double Scale) Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
- 
getScalepublic double getScale()double itk::simple::ShiftScaleImageFilter::GetScale() const Set/Get the amount to Scale each Pixel. The Scale is applied after the Shift.
- 
setOutputPixelTypeSelf& itk::simple::ShiftScaleImageFilter::SetOutputPixelType(PixelIDValueEnum OutputPixelType) Set the output pixel type, if sitkUnknown then the input type is used.
- 
getOutputPixelTypePixelIDValueEnum itk::simple::ShiftScaleImageFilter::GetOutputPixelType() const Get the output pixel type.
- 
getUnderflowCountpublic long getUnderflowCount()int64_t itk::simple::ShiftScaleImageFilter::GetUnderflowCount() const Get the number of pixels that underflowed and overflowed. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getOverflowCountpublic long getOverflowCount()int64_t itk::simple::ShiftScaleImageFilter::GetOverflowCount() const Get the number of pixels that underflowed and overflowed. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getNamestd::string itk::simple::ShiftScaleImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ShiftScaleImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-