Go to the documentation of this file.
18 #ifndef sitkDivideImageFilter_h
19 #define sitkDivideImageFilter_h
53 using PixelIDTypeList = typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList>::type;
58 std::string
GetName()
const {
return std::string (
"DivideImageFilter"); }
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.
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
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::type PixelIDTypeList
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.
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1, const Image &image2) MemberFunctionType