Go to the documentation of this file.
18 #ifndef sitkBinaryContourImageFilter_h
19 #define sitkBinaryContourImageFilter_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
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
92 SITK_RETURN_SELF_TYPE_HEADER
SetForegroundValue (
double ForegroundValue ) { this->m_ForegroundValue = ForegroundValue;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"BinaryContourImageFilter"); }
103 std::string ToString()
const;
117 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
126 bool m_FullyConnected{
false};
128 double m_BackgroundValue{0.0};
130 double m_ForegroundValue{1.0};
133 bool m_InPlace{
false};
The Image class for SimpleITK.
Labels the pixels on the border of the objects in a binary image.
Self & FullyConnectedOff()
Self & SetBackgroundValue(double BackgroundValue)
Self & SetFullyConnected(bool FullyConnected)
IntegerPixelIDTypeList PixelIDTypeList
double GetBackgroundValue() const
#define SITKBasicFilters_EXPORT
Self & FullyConnectedOn()
Self & SetForegroundValue(double ForegroundValue)
bool GetFullyConnected() const
The base interface for SimpleITK filters that take one input image.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
Image(Self::*)(const Image &image1) MemberFunctionType
Image BinaryContour(Image &&image1, bool fullyConnected=false, double backgroundValue=0.0, double foregroundValue=1.0)
Labels the pixels on the border of the objects in a binary image.
double GetForegroundValue() const