18 #ifndef sitkIntensityWindowingImageFilter_h
19 #define sitkIntensityWindowingImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMinimum (
double WindowMinimum ) { this->m_WindowMinimum = WindowMinimum;
return *
this; }
75 SITK_RETURN_SELF_TYPE_HEADER
SetWindowMaximum (
double WindowMaximum ) { this->m_WindowMaximum = WindowMaximum;
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetOutputMinimum (
double OutputMinimum ) { this->m_OutputMinimum = OutputMinimum;
return *
this; }
95 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;
113 Image Execute (
const Image& image1,
double windowMinimum,
double windowMaximum,
double outputMinimum,
double outputMaximum );
119 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
120 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 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.