18#ifndef sitkLabelMapToBinaryImageFilter_h
19#define sitkLabelMapToBinaryImageFilter_h
96 std::string
GetName()
const {
return std::string(
"LabelMapToBinaryImageFilter"); }
136 const Image &image1,
double backgroundValue = 0,
double foregroundValue = 1.0
The Image class for SimpleITK.
std::string ToString() const
void SetForegroundValue(double ForegroundValue)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
LabelMapToBinaryImageFilter Self
virtual ~LabelMapToBinaryImageFilter()
Image ExecuteInternal(const Image &image1)
Image(Self::*)(const Image &image1) MemberFunctionType
std::string GetName() const
LabelPixelIDTypeList PixelIDTypeList
void SetBackgroundValue(double BackgroundValue)
LabelMapToBinaryImageFilter()
Image Execute(const Image &image1)
double GetBackgroundValue() const
double GetForegroundValue() const
A class used to instantiate and generate function object to templated member functions.
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Image LabelMapToBinary(const Image &image1, double backgroundValue=0, double foregroundValue=1.0)
Convert a LabelMap to a binary image.
#define SITKBasicFilters_EXPORT