18#ifndef itkBinaryShapeOpeningImageFilter_h
19#define itkBinaryShapeOpeningImageFilter_h
46template <
typename TInputImage>
71 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
72 static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension;
73 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
98 itkSetMacro(FullyConnected,
bool);
99 itkGetConstReferenceMacro(FullyConnected,
bool);
100 itkBooleanMacro(FullyConnected);
103#ifdef ITK_USE_CONCEPT_CHECKING
130 itkGetConstMacro(Lambda,
double);
131 itkSetMacro(Lambda,
double);
140 itkGetConstMacro(ReverseOrdering,
bool);
141 itkSetMacro(ReverseOrdering,
bool);
142 itkBooleanMacro(ReverseOrdering);
154 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
179 bool m_FullyConnected{};
183 bool m_ReverseOrdering{};
188#ifndef ITK_MANUAL_INSTANTIATION
189# include "itkBinaryShapeOpeningImageFilter.hxx"
Label the connected components in a binary image and produce a collection of label objects.
Remove objects based on the value of their shape attribute.
~BinaryShapeOpeningImageFilter() override=default
typename OutputImageType::RegionType OutputImageRegionType
void GenerateData() override
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
void GenerateInputRequestedRegion() override
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::ConstPointer OutputImageConstPointer
TInputImage OutputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputImageType::Pointer InputImagePointer
BinaryShapeOpeningImageFilter()
typename OutputImageType::Pointer OutputImagePointer
void EnlargeOutputRequestedRegion(DataObject *) override
void SetAttribute(const std::string &s)
typename LabelObjectType::AttributeType AttributeType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::PixelType InputImagePixelType
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Convert a LabelMap to a binary image.
Templated n-dimensional image to store labeled objects.
unsigned int AttributeType
Light weight base class for most itk classes.
The valuator class for the ShapeLabelObject.
A Label object to store the common attributes related to the shape of the object.
Remove objects according to the value of their shape attribute.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType