Go to the documentation of this file.
18 #ifndef sitkIntensityWindowingImageFilter_h
19 #define sitkIntensityWindowingImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMinimum (
double WindowMinimum ) { this->m_WindowMinimum = WindowMinimum;
return *
this; }
73 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMaximum (
double WindowMaximum ) { this->m_WindowMaximum = WindowMaximum;
return *
this; }
83 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
101 std::string
GetName()
const {
return std::string (
"IntensityWindowingImageFilter"); }
104 std::string ToString()
const;
118 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
126 double m_WindowMinimum{0.0};
128 double m_WindowMaximum{255.0};
130 double m_OutputMinimum{0.0};
132 double m_OutputMaximum{255.0};
135 bool m_InPlace{
false};
The Image class for SimpleITK.
Image(Self::*)(const Image &image1) MemberFunctionType
double GetWindowMinimum() const
std::string GetName() const
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
Self & SetWindowMaximum(double WindowMaximum)
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)