18#ifndef sitkBinaryImageToLabelMapFilter_h
19#define sitkBinaryImageToLabelMapFilter_h
108 std::string
GetName()
const {
return std::string (
"BinaryImageToLabelMapFilter"); }
std::string ToString() const
Image(Self::*)(const Image &image1) MemberFunctionType
Self & SetInputForegroundValue(double InputForegroundValue)
bool GetFullyConnected() const
Self & SetOutputBackgroundValue(double OutputBackgroundValue)
Self & SetFullyConnected(bool FullyConnected)
double m_InputForegroundValue
virtual ~BinaryImageToLabelMapFilter()
double GetInputForegroundValue() const
IntegerPixelIDTypeList PixelIDTypeList
double GetOutputBackgroundValue() const
Self & FullyConnectedOff()
std::string GetName() const
BinaryImageToLabelMapFilter()
double m_OutputBackgroundValue
Image Execute(const Image &image1)
Image ExecuteInternal(const Image &image1)
uint64_t GetNumberOfObjects() const
BinaryImageToLabelMapFilter Self
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
uint64_t m_NumberOfObjects
Self & FullyConnectedOn()
The Image class for SimpleITK.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
Image BinaryImageToLabelMap(const Image &image1, bool fullyConnected=false, double inputForegroundValue=1.0, double outputBackgroundValue=0.0)
Label the connected components in a binary image and produce a collection of label objects.
#define SITKBasicFilters_EXPORT