18 #ifndef itkLabelShapeOpeningImageFilter_h
19 #define itkLabelShapeOpeningImageFilter_h
46 template<
typename TInputImage >
72 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
73 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
74 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
93 #ifdef ITK_USE_CONCEPT_CHECKING
115 itkGetConstMacro(Lambda,
double);
116 itkSetMacro(Lambda,
double);
125 itkGetConstMacro(ReverseOrdering,
bool);
126 itkSetMacro(ReverseOrdering,
bool);
127 itkBooleanMacro(ReverseOrdering);
138 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
145 void PrintSelf(std::ostream & os,
Indent indent)
const override;
150 void GenerateInputRequestedRegion()
override;
153 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
157 void GenerateData()
override;
167 #ifndef ITK_MANUAL_INSTANTIATION
168 #include "itkLabelShapeOpeningImageFilter.hxx"
convert a labeled image to a label collection image
OutputImagePixelType m_BackgroundValue
typename InputImageType::ConstPointer InputImageConstPointer
Light weight base class for most itk classes.
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::Pointer OutputImagePointer
TInputImage OutputImageType
TInputImage InputImageType
Remove objects according to the value of their shape attribute.
AttributeType m_Attribute
A Label object to store the common attributes related to the shape of the object. ...
typename OutputImageType::ConstPointer OutputImageConstPointer
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
void SetAttribute(const std::string &s)
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Templated n-dimensional image to store labeled objects.
typename LabelObjectType::AttributeType AttributeType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
The valuator class for the ShapeLabelObject.
typename Superclass::AttributeType AttributeType
Base class for all data objects in ITK.
Templated n-dimensional image class.
typename OutputImageType::RegionType OutputImageRegionType
Converts a LabelMap to a labeled image.
remove the objects according to the value of their shape attribute