18 #ifndef itkShapeRelabelImageFilter_h
19 #define itkShapeRelabelImageFilter_h
45 template<
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;
92 #ifdef ITK_USE_CONCEPT_CHECKING
116 itkGetConstMacro(ReverseOrdering,
bool);
117 itkSetMacro(ReverseOrdering,
bool);
118 itkBooleanMacro(ReverseOrdering);
128 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
135 void PrintSelf(std::ostream & os,
Indent indent)
const override;
140 void GenerateInputRequestedRegion()
override;
143 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
147 void GenerateData()
override;
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkShapeRelabelImageFilter.hxx"
typename InputImageType::PixelType InputImagePixelType
convert a labeled image to a label collection image
Relabels objects according to their shape attributes.
Light weight base class for most itk classes.
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
void SetAttribute(const std::string &s)
relabel objects according to their shape attributes
typename InputImageType::Pointer InputImagePointer
TInputImage OutputImageType
typename OutputImageType::RegionType OutputImageRegionType
typename LabelObjectType::AttributeType AttributeType
typename InputImageType::RegionType InputImageRegionType
A Label object to store the common attributes related to the shape of the object. ...
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
Base class for filters that take an image as input and produce an image as output.
typename OutputImageType::ConstPointer OutputImageConstPointer
Control indentation during Print() invocation.
AttributeType m_Attribute
Templated n-dimensional image to store labeled objects.
OutputImagePixelType m_BackgroundValue
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.
Converts a LabelMap to a labeled image.