18 #ifndef sitkRescaleIntensityImageFilter_h
19 #define sitkRescaleIntensityImageFilter_h
77 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
91 std::string
GetName()
const {
return std::string (
"RescaleIntensityImageFilter"); }
94 std::string ToString()
const;
102 Image Execute (
const Image& image1,
double outputMinimum,
double outputMaximum );
109 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
110 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
113 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
BasicPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
Image RescaleIntensity(const Image &image1, double outputMinimum=0, double outputMaximum=255)
Applies a linear transformation to the intensity levels of the input Image .
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
double GetOutputMaximum() const
std::string GetName() const
RescaleIntensityImageFilter Self
Self & SetOutputMaximum(double OutputMaximum)
double GetOutputMinimum() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Applies a linear transformation to the intensity levels of the input Image .
The main Image class for SimpleITK.
Self & SetOutputMinimum(double OutputMinimum)
The base interface for SimpleITK filters that take one input image.