18 #ifndef sitkIntensityWindowingImageFilter_h
19 #define sitkIntensityWindowingImageFilter_h
74 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMinimum (
double WindowMinimum ) { this->m_WindowMinimum = WindowMinimum;
return *
this; }
84 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMaximum (
double WindowMaximum ) { this->m_WindowMaximum = WindowMaximum;
return *
this; }
94 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMaximum (
double OutputMaximum ) { this->m_OutputMaximum = OutputMaximum;
return *
this; }
111 std::string
GetName()
const {
return std::string (
"IntensityWindowingImageFilter"); }
114 std::string ToString()
const;
122 Image Execute (
const Image& image1,
double windowMinimum,
double windowMaximum,
double outputMinimum,
double outputMaximum );
129 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
130 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
double GetOutputMinimum() const
#define SITKBasicFilters_EXPORT
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
Applies a linear transformation to the intensity levels of the input Image that are inside a user-def...
double GetWindowMinimum() const
Image IntensityWindowing(const Image &image1, double windowMinimum=0.0, double windowMaximum=255, double outputMinimum=0, double outputMaximum=255)
Applies a linear transformation to the intensity levels of the input Image that are inside a user-def...
IntensityWindowingImageFilter Self
std::string GetName() const
Self & SetOutputMinimum(double OutputMinimum)
The main Image class for SimpleITK.
Self & SetWindowMinimum(double WindowMinimum)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetWindowMaximum(double WindowMaximum)
double GetWindowMaximum() const
Self & SetOutputMaximum(double OutputMaximum)
double GetOutputMaximum() const
The base interface for SimpleITK filters that take one input image.