Go to the documentation of this file.
18 #ifndef sitkDivideImageFilter_h
19 #define sitkDivideImageFilter_h
54 using PixelIDTypeList = typelist::Append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::Type;
59 std::string
GetName()
const {
return std::string (
"DivideImageFilter"); }
62 std::string ToString()
const;
72 Image Execute (
const Image& image1,
double constant );
74 Image Execute (
Image&& image1,
double constant );
76 Image Execute (
double constant,
const Image& image2 );
84 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
const Image& image2 );
89 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
91 template <
class TImageType>
Image ExecuteInternal (
double constant,
const Image& image2 );
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1,
double constant );
102 bool m_InPlace{
false};
The Image class for SimpleITK.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction1Type > > m_MemberFactory1
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunction2Type > > m_MemberFactory2
Image(Self::*)(double constant, const Image &image2) MemberFunction1Type
Image(Self::*)(const Image &image1, double constant) MemberFunction2Type
Image Divide(Image &&image1, const Image &image2)
Pixel-wise division of two images.
#define SITKBasicFilters_EXPORT
std::string GetName() const
Pixel-wise division of two images.
typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type PixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType