18 #ifndef sitkMultiplyImageFilter_h
19 #define sitkMultiplyImageFilter_h
54 typedef typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type
PixelIDTypeList;
58 std::string
GetName()
const {
return std::string (
"MultiplyImageFilter"); }
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< MemberFunction1Type > > m_MemberFactory1
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
Pixel-wise multiplication of two images.
The Image class for SimpleITK.
typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type PixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Image Multiply(const Image &image1, const Image &image2)
Pixel-wise multiplication of two images.
The base interface for SimpleITK filters that take one input image.