18 #ifndef itkShapeRelabelImageFilter_h
19 #define itkShapeRelabelImageFilter_h
45 template<
typename TInputImage >
69 itkStaticConstMacro(InputImageDimension,
unsigned int,
70 TInputImage::ImageDimension);
71 itkStaticConstMacro(OutputImageDimension,
unsigned int,
72 TInputImage::ImageDimension);
73 itkStaticConstMacro(ImageDimension,
unsigned int,
74 TInputImage::ImageDimension);
94 #ifdef ITK_USE_CONCEPT_CHECKING
118 itkGetConstMacro(ReverseOrdering,
bool);
119 itkSetMacro(ReverseOrdering,
bool);
120 itkBooleanMacro(ReverseOrdering);
130 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
137 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 void GenerateInputRequestedRegion() ITK_OVERRIDE;
145 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
149 void GenerateData() ITK_OVERRIDE;
155 bool m_ReverseOrdering;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkShapeRelabelImageFilter.hxx"
ShapeRelabelImageFilter Self
InputImageType::RegionType InputImageRegionType
convert a labeled image to a label collection image
Relabels objects according to their shape attributes.
OutputImageType::PixelType OutputImagePixelType
Light weight base class for most itk classes.
ShapeLabelObject< InputImagePixelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
TInputImage OutputImageType
void SetAttribute(const std::string &s)
OutputImageType::Pointer OutputImagePointer
relabel objects according to their shape attributes
InputImageType::PixelType InputImagePixelType
OutputImageType::RegionType OutputImageRegionType
~ShapeRelabelImageFilter() override
Superclass::AttributeType AttributeType
InputImageType::ConstPointer InputImageConstPointer
A Label object to store the common attributes related to the shape of the object. ...
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput
ImageToImageFilter< TInputImage, TInputImage > Superclass
ShapeRelabelLabelMapFilter< LabelMapType > RelabelType
LabelMapToLabelImageFilter< LabelMapType, OutputImageType > BinarizerType
LabelObjectType::AttributeType AttributeType
InputImageType::Pointer InputImagePointer
Base class for filters that take an image as input and produce an image as output.
OutputImageType::ConstPointer OutputImageConstPointer
ShapeLabelMapFilter< LabelMapType, ShapeLabelFilterOutput > LabelObjectValuatorType
Control indentation during Print() invocation.
Templated n-dimensional image to store labeled objects.
SmartPointer< const Self > ConstPointer
LabelImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
TInputImage InputImageType
Templated n-dimensional image class.
LabelMap< LabelObjectType > LabelMapType
Converts a LabelMap to a labeled image.