18 #ifndef sitkModulusImageFilter_h
19 #define sitkModulusImageFilter_h
62 std::string
GetName()
const {
return std::string (
"ModulusImageFilter"); }
65 std::string ToString()
const;
82 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
83 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
89 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
91 template <
class TImageType>
Image ExecuteInternal (
uint32_t constant,
const Image& image2 );
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
uint32_t constant );
Image Modulus(const Image &image1, const Image &image2)
Computes the modulus (x % dividend) pixel-wise.
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
#define SITKBasicFilters_EXPORT
std::string GetName() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Computes the modulus (x % dividend) pixel-wise.
IntegerPixelIDTypeList PixelIDTypeList
The main Image class for SimpleITK.
The base interface for SimpleITK filters that take one input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2