18#ifndef sitkShiftScaleImageFilter_h
19#define sitkShiftScaleImageFilter_h
61 SITK_RETURN_SELF_TYPE_HEADER
SetShift (
double Shift ) { this->
m_Shift = Shift;
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
SetScale (
double Scale ) { this->
m_Scale = Scale;
return *
this; }
105 std::string
GetName()
const {
return std::string (
"ShiftScaleImageFilter"); }
The Image class for SimpleITK.
virtual ~ShiftScaleImageFilter()
PixelIDValueEnum GetOutputPixelType() const
Get the output pixel type.
Self & SetScale(double Scale)
Image DualExecuteInternalVector(const Image &image1)
std::string GetName() const
BasicPixelIDTypeList PixelIDTypeList
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
Set the output pixel type, if sitkUnknown then the input type is used.
std::string ToString() const
int64_t GetOverflowCount() const
int64_t GetUnderflowCount() const
ShiftScaleImageFilter Self
PixelIDValueEnum m_OutputPixelType
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Image Execute(const Image &image1)
Self & SetShift(double Shift)
Image DualExecuteInternal(const Image &image1)
Image(Self::*)(const Image &image1) MemberFunctionType
Image ShiftScale(const Image &image1, double shift=0, double scale=1.0, PixelIDValueEnum outputPixelType=itk::simple::sitkUnknown)
Shift and scale the pixels in an image.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
PixelIDValueEnum
Enumerated values of pixelIDs.
#define SITKBasicFilters_EXPORT