18 #ifndef sitkInvertIntensityImageFilter_h
19 #define sitkInvertIntensityImageFilter_h
78 std::string
GetName()
const {
return std::string (
"InvertIntensityImageFilter"); }
81 std::string ToString()
const;
89 Image Execute (
const Image& image1,
double maximum );
96 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
97 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
100 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
#define SITKBasicFilters_EXPORT
Image InvertIntensity(const Image &image1, double maximum=255)
Invert the intensity of an image.
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
Self & SetMaximum(double Maximum)
InvertIntensityImageFilter Self
The main Image class for SimpleITK.
Invert the intensity of an image.
Image Maximum(const Image &image1, const Image &image2)
Implements a pixel-wise operator Max(a,b) between two images.
std::string GetName() const
double GetMaximum() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.