Go to the documentation of this file.
18 #ifndef sitkRescaleIntensityImageFilter_h
19 #define sitkRescaleIntensityImageFilter_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
78 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
85 std::string
GetName()
const {
return std::string (
"RescaleIntensityImageFilter"); }
88 std::string ToString()
const;
102 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
104 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
112 double m_OutputMinimum{0};
115 double m_OutputMaximum{255};
118 bool m_InPlace{
false};
The Image class for SimpleITK.
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
Image(Self::*)(const Image &image1) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
BasicPixelIDTypeList PixelIDTypeList
Self & SetOutputMinimum(double OutputMinimum)
std::string GetName() const
double GetOutputMinimum() const
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
double GetOutputMaximum() const
Self & SetOutputMaximum(double OutputMaximum)
Image RescaleIntensity(Image &&image1, double outputMinimum=0, double outputMaximum=255)
Applies a linear transformation to the intensity levels of the input Image .
Applies a linear transformation to the intensity levels of the input Image .