Go to the documentation of this file.
18 #ifndef sitkIntensityWindowingImageFilter_h
19 #define sitkIntensityWindowingImageFilter_h
64 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMinimum (
double WindowMinimum ) { this->m_WindowMinimum = WindowMinimum;
return *
this; }
74 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMaximum (
double WindowMaximum ) { this->m_WindowMaximum = WindowMaximum;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
102 std::string
GetName()
const {
return std::string (
"IntensityWindowingImageFilter"); }
105 std::string ToString()
const;
119 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
127 double m_WindowMinimum{0.0};
129 double m_WindowMaximum{255.0};
131 double m_OutputMinimum{0.0};
133 double m_OutputMaximum{255.0};
136 bool m_InPlace{
false};
The Image class for SimpleITK.
Image(Self::*)(const Image &image1) MemberFunctionType
double GetWindowMinimum() const
std::string GetName() const
Self & SetWindowMaximum(double WindowMaximum)
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
BasicPixelIDTypeList PixelIDTypeList
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
double GetOutputMaximum() const
#define SITKBasicFilters_EXPORT
Self & SetOutputMinimum(double OutputMinimum)
double GetWindowMaximum() const
The base interface for SimpleITK filters that take one input image.
double GetOutputMinimum() const
Image IntensityWindowing(Image &&image1, double windowMinimum=0.0, double windowMaximum=255.0, double outputMinimum=0.0, double outputMaximum=255.0)
Applies a linear transformation to the intensity levels of the input Image that are inside a user-def...
Self & SetWindowMinimum(double WindowMinimum)
Applies a linear transformation to the intensity levels of the input Image that are inside a user-def...
Self & SetOutputMaximum(double OutputMaximum)