Go to the documentation of this file.
18 #ifndef sitkLabelContourImageFilter_h
19 #define sitkLabelContourImageFilter_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
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
91 std::string
GetName()
const {
return std::string (
"LabelContourImageFilter"); }
94 std::string ToString()
const;
108 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
117 bool m_FullyConnected{
false};
119 double m_BackgroundValue{0};
122 bool m_InPlace{
false};
The Image class for SimpleITK.
IntegerPixelIDTypeList PixelIDTypeList
Self & FullyConnectedOn()
Image LabelContour(Image &&image1, bool fullyConnected=false, double backgroundValue=0)
Labels the pixels on the border of the objects in a labeled image.
std::string GetName() const
double GetBackgroundValue() const
Self & FullyConnectedOff()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
#define SITKBasicFilters_EXPORT
bool GetFullyConnected() const
Self & SetFullyConnected(bool FullyConnected)
Labels the pixels on the border of the objects in a labeled image.
Image(Self::*)(const Image &image1) MemberFunctionType
The base interface for SimpleITK filters that take one input image.
Self & SetBackgroundValue(double BackgroundValue)
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList