Go to the documentation of this file.
18 #ifndef sitkGreaterImageFilter_h
19 #define sitkGreaterImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
uint8_t BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
uint8_t ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
90 std::string
GetName()
const {
return std::string (
"GreaterImageFilter"); }
93 std::string ToString()
const;
103 Image Execute (
const Image& image1,
double constant );
105 Image Execute (
Image&& image1,
double constant );
107 Image Execute (
double constant,
const Image& image2 );
117 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
124 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
129 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
139 bool m_InPlace{
false};
The Image class for SimpleITK.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
Image(Self::*)(double constant, const Image &image2) MemberFunction1Type
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
Image Greater(Image &&image1, const Image &image2, uint8_t backgroundValue=0u, uint8_t foregroundValue=1u)
Implements pixel-wise generic operation of two images, or of an image and a constant.
uint8_t GetForegroundValue() const
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
Self & SetForegroundValue(uint8_t ForegroundValue)
Image(Self::*)(const Image &image1, double constant) MemberFunction2Type
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
Implements pixel-wise generic operation of two images, or of an image and a constant.
uint8_t GetBackgroundValue() const
BasicPixelIDTypeList PixelIDTypeList
Self & SetBackgroundValue(uint8_t BackgroundValue)