18#ifndef sitkLabelMapMaskImageFilter_h
19#define sitkLabelMapMaskImageFilter_h
116 SITK_RETURN_SELF_TYPE_HEADER
SetCropBorder ( std::vector<unsigned int> CropBorder ) { this->
m_CropBorder = std::move(CropBorder);
return *
this; }
119 SITK_RETURN_SELF_TYPE_HEADER
SetCropBorder(
unsigned int value ) { this->
m_CropBorder = std::vector<unsigned int>(3, value);
return *
this; }
127 std::string
GetName()
const {
return std::string (
"LabelMapMaskImageFilter"); }
162 std::vector<unsigned int>
m_CropBorder{std::vector<unsigned int>(3, 0)};
177 SITKBasicFilters_EXPORT Image LabelMapMask (
const Image & labelMapImage,
const Image & featureImage, uint64_t label = 1u,
double backgroundValue = 0,
bool negated =
false,
bool crop =
false, std::vector<unsigned int> cropBorder = std::vector<unsigned int>(3, 0) );
The Image class for SimpleITK.
Image(Self::*)(const Image *labelMapImage, const Image *featureImage) MemberFunctionType
std::vector< unsigned int > GetCropBorder() const
Self & SetCrop(bool Crop)
Self & SetLabel(uint64_t Label)
Self & SetNegated(bool Negated)
Self & SetBackgroundValue(double BackgroundValue)
Image Execute(const Image &labelMapImage, const Image &featureImage)
LabelPixelIDTypeList PixelIDTypeList
Self & SetCropBorder(unsigned int value)
std::vector< unsigned int > m_CropBorder
Self & SetCropBorder(std::vector< unsigned int > CropBorder)
std::string GetName() const
Image DualExecuteInternal(const Image *labelMapImage, const Image *featureImage)
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
LabelMapMaskImageFilter()
std::string ToString() const
virtual ~LabelMapMaskImageFilter()
double GetBackgroundValue() const
uint64_t GetLabel() const
LabelMapMaskImageFilter Self
Image Crop(Image &&image1, std::vector< unsigned int > lowerBoundaryCropSize=std::vector< unsigned int >(3, 0), std::vector< unsigned int > upperBoundaryCropSize=std::vector< unsigned int >(3, 0))
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of t...
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Image LabelMapMask(const Image &labelMapImage, const Image &featureImage, uint64_t label=1u, double backgroundValue=0, bool negated=false, bool crop=false, std::vector< unsigned int > cropBorder=std::vector< unsigned int >(3, 0))
Mask and image with a LabelMap .
#define SITKBasicFilters_EXPORT