Go to the documentation of this file.
18 #ifndef sitkMultiplyImageFilter_h
19 #define sitkMultiplyImageFilter_h
53 using PixelIDTypeList = typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::type;
58 std::string
GetName()
const {
return std::string (
"MultiplyImageFilter"); }
61 std::string ToString()
const;
71 Image Execute (
const Image& image1,
double constant );
73 Image Execute (
Image&& image1,
double constant );
75 Image Execute (
double constant,
const Image& image2 );
83 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
88 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
90 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
95 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
101 bool m_InPlace{
false};
The Image class for SimpleITK.
Image(Self::*)(double constant, const Image &image2) MemberFunction1Type
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
Pixel-wise multiplication of two images.
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::type PixelIDTypeList
Image Multiply(Image &&image1, const Image &image2)
Pixel-wise multiplication of two images.
Image(Self::*)(const Image &image1, double constant) MemberFunction2Type
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType
#define SITKBasicFilters_EXPORT
std::string GetName() const
The base interface for SimpleITK filters that take one input image.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory