Go to the documentation of this file.
18 #ifndef sitkMaskedAssignImageFilter_h
19 #define sitkMaskedAssignImageFilter_h
82 SITK_RETURN_SELF_TYPE_HEADER
SetAssignConstant (
double AssignConstant ) { this->m_AssignConstant = AssignConstant;
return *
this; }
89 std::string
GetName()
const {
return std::string (
"MaskedAssignImageFilter"); }
92 std::string ToString()
const;
108 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * maskImage,
const Image * assignImage );
116 double m_AssignConstant{0};
119 bool m_InPlace{
false};
The Image class for SimpleITK.
Mask an image with a mask.
Self & SetAssignConstant(double AssignConstant)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image(Self::*)(const Image *image, const Image *maskImage, const Image *assignImage) MemberFunctionType
double GetAssignConstant() const
#define SITKBasicFilters_EXPORT
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Image MaskedAssign(Image &&image, const Image &maskImage, const Image &assignImage, double assignConstant=0)
Mask an image with a mask.
std::string GetName() const
NonLabelPixelIDTypeList PixelIDTypeList