18#ifndef sitkLabelMapMaskImageFilter_h
19#define sitkLabelMapMaskImageFilter_h
148 std::vector<unsigned int>
153 std::string
GetName()
const {
return std::string(
"LabelMapMaskImageFilter"); }
166 labelMapImage,
const Image *
171 labelMapImage,
const Image *
187 std::vector<unsigned int>
m_CropBorder{ std::vector<unsigned int>(3, 0) };
207 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.
void SetNegated(bool Negated)
std::vector< unsigned int > GetCropBorder() const
void SetCropBorder(std::vector< unsigned int > CropBorder)
Image Execute(const Image &labelMapImage, const Image &featureImage)
LabelPixelIDTypeList PixelIDTypeList
std::vector< unsigned int > m_CropBorder
Image(Self::*)(const Image * labelMapImage, const Image * featureImage) MemberFunctionType
void SetBackgroundValue(double BackgroundValue)
std::string GetName() const
Image DualExecuteInternal(const Image *labelMapImage, const Image *featureImage)
LabelMapMaskImageFilter()
static const detail::DualMemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
std::string ToString() const
void SetLabel(uint64_t Label)
virtual ~LabelMapMaskImageFilter()
double GetBackgroundValue() const
uint64_t GetLabel() const
void SetCropBorder(unsigned int value)
LabelMapMaskImageFilter Self
A class used to instantiate and generate function objects of templated member functions with two temp...
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