Go to the documentation of this file.
18 #ifndef sitkVectorConnectedComponentImageFilter_h
19 #define sitkVectorConnectedComponentImageFilter_h
60 SITK_RETURN_SELF_TYPE_HEADER
SetDistanceThreshold (
double DistanceThreshold ) { this->m_DistanceThreshold = DistanceThreshold;
return *
this; }
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); }
78 std::string
GetName()
const {
return std::string (
"VectorConnectedComponentImageFilter"); }
81 std::string ToString()
const;
89 Image Execute (
const Image& image1,
double distanceThreshold,
bool fullyConnected );
96 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
The main Image class for SimpleITK.
Self & FullyConnectedOn()
RealVectorPixelIDTypeList PixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetDistanceThreshold(double DistanceThreshold)
Self & SetFullyConnected(bool FullyConnected)
bool GetFullyConnected() const
#define SITKBasicFilters_EXPORT
A connected components filter that labels the objects in a vector image. Two vectors are pointing sim...
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
VectorConnectedComponentImageFilter Self
std::string GetName() const
typelist::MakeTypeList< VectorPixelID< float >, VectorPixelID< double > >::Type RealVectorPixelIDTypeList
Image VectorConnectedComponent(const Image &image1, double distanceThreshold=1.0, bool fullyConnected=false)
A connected components filter that labels the objects in a vector image. Two vectors are pointing sim...
Self & FullyConnectedOff()
double m_DistanceThreshold
double GetDistanceThreshold() const