18 #ifndef sitkDivideImageFilter_h
19 #define sitkDivideImageFilter_h
60 typedef typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type
PixelIDTypeList;
64 std::string
GetName()
const {
return std::string (
"DivideImageFilter"); }
67 std::string ToString()
const;
76 Image Execute (
const Image& image1,
double constant );
77 Image Execute (
double constant,
const Image& image2 );
84 typedef Image (Self::*MemberFunctionType)(
const Image& image1,
const Image& image2 );
85 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
91 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
92 typedef Image (Self::*MemberFunction1Type)(
double constant,
const Image& image2 );
93 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
97 typedef Image (Self::*MemberFunction2Type)(
const Image& image1,
double constant );
98 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 main Image class for SimpleITK.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.