18 #ifndef sitkBinaryImageToLabelMapFilter_h
19 #define sitkBinaryImageToLabelMapFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetFullyConnected (
bool FullyConnected ) { this->m_FullyConnected = FullyConnected;
return *
this; }
72 SITK_RETURN_SELF_TYPE_HEADER
FullyConnectedOn() {
return this->SetFullyConnected(
true); }
83 SITK_RETURN_SELF_TYPE_HEADER
SetInputForegroundValue (
double InputForegroundValue ) { this->m_InputForegroundValue = InputForegroundValue;
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetOutputBackgroundValue (
double OutputBackgroundValue ) { this->m_OutputBackgroundValue = OutputBackgroundValue;
return *
this; }
109 std::string
GetName()
const {
return std::string (
"BinaryImageToLabelMapFilter"); }
112 std::string ToString()
const;
124 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
132 bool m_FullyConnected{
false};
134 double m_InputForegroundValue{1.0};
136 double m_OutputBackgroundValue{0.0};