18 #ifndef sitkBinaryImageToLabelMapFilter_h
19 #define sitkBinaryImageToLabelMapFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
71 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
82 SITK_RETURN_SELF_TYPE_HEADER
SetInputForegroundValue (
double InputForegroundValue ) { this->m_InputForegroundValue = InputForegroundValue;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetOutputBackgroundValue (
double OutputBackgroundValue ) { this->m_OutputBackgroundValue = OutputBackgroundValue;
return *
this; }
108 std::string
GetName()
const {
return std::string (
"BinaryImageToLabelMapFilter"); }
111 std::string ToString()
const;
123 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
131 bool m_FullyConnected{
false};
133 double m_InputForegroundValue{1.0};
135 double m_OutputBackgroundValue{0.0};
138 uint64_t m_NumberOfObjects{0};