Go to the documentation of this file.
18 #ifndef sitkShiftScaleImageFilter_h
19 #define sitkShiftScaleImageFilter_h
60 SITK_RETURN_SELF_TYPE_HEADER
SetShift (
double Shift ) { this->m_Shift = Shift;
return *
this; }
65 double GetShift()
const {
return this->m_Shift; }\
70 SITK_RETURN_SELF_TYPE_HEADER
SetScale (
double Scale ) { this->m_Scale = Scale;
return *
this; }
75 double GetScale()
const {
return this->m_Scale; }
94 std::string
GetName()
const {
return std::string (
"ShiftScaleImageFilter"); }
97 std::string ToString()
const;
109 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
111 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
The Image class for SimpleITK.
Image ShiftScale(const Image &image1, double shift=0, double scale=1.0)
Shift and scale the pixels in an image.
Image(Self::*)(const Image &image1) MemberFunctionType
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
int64_t GetUnderflowCount() const
Shift and scale the pixels in an image.
BasicPixelIDTypeList PixelIDTypeList
std::string GetName() const
Self & SetScale(double Scale)
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetShift(double Shift)
int64_t GetOverflowCount() const