18 #ifndef sitkDivideImageFilter_h
19 #define sitkDivideImageFilter_h
54 typedef typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type
PixelIDTypeList;
58 std::string
GetName()
const {
return std::string (
"DivideImageFilter"); }
61 std::string ToString()
const;
69 Image Execute (
const Image& image1,
double constant );
70 Image Execute (
double constant,
const Image& image2 );
77 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
78 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
83 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
84 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
85 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
89 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
90 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
std::string GetName() const
Pixel-wise division of two images.
Image Divide(const Image &image1, const Image &image2)
Pixel-wise division of two images.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type PixelIDTypeList
The Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.