18#ifndef itkShapeRelabelImageFilter_h
19#define itkShapeRelabelImageFilter_h
45template <
typename TInputImage>
70 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
71 static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension;
72 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
89#ifdef ITK_USE_CONCEPT_CHECKING
110 itkGetConstMacro(ReverseOrdering,
bool);
111 itkSetMacro(ReverseOrdering,
bool);
112 itkBooleanMacro(ReverseOrdering);
123 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
150 bool m_ReverseOrdering{};
155#ifndef ITK_MANUAL_INSTANTIATION
156# include "itkShapeRelabelImageFilter.hxx"
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 labeled image to a label collection image
Converts a LabelMap to a labeled 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.
relabel objects according to their shape attributes
~ShapeRelabelImageFilter() override=default
void EnlargeOutputRequestedRegion(DataObject *) override
typename OutputImageType::PixelType OutputImagePixelType
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputImageType::PixelType InputImagePixelType
TInputImage OutputImageType
typename LabelObjectType::AttributeType AttributeType
typename InputImageType::RegionType InputImageRegionType
TInputImage InputImageType
void GenerateInputRequestedRegion() override
typename InputImageType::Pointer InputImagePointer
void SetAttribute(const std::string &s)
typename OutputImageType::ConstPointer OutputImageConstPointer
typename OutputImageType::Pointer OutputImagePointer
void GenerateData() override
typename OutputImageType::RegionType OutputImageRegionType
ShapeRelabelImageFilter()
typename InputImageType::ConstPointer InputImageConstPointer
Relabels objects according to their shape attributes.
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....