18#ifndef itkLabelImageToShapeLabelMapFilter_h
19#define itkLabelImageToShapeLabelMapFilter_h
47template <
typename TInputImage,
48 typename TOutputImage =
76 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
77 static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension;
78 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
90#ifdef ITK_USE_CONCEPT_CHECKING
110 itkSetMacro(ComputeFeretDiameter,
bool);
111 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
112 itkBooleanMacro(ComputeFeretDiameter);
119 itkSetMacro(ComputePerimeter,
bool);
120 itkGetConstReferenceMacro(ComputePerimeter,
bool);
121 itkBooleanMacro(ComputePerimeter);
129 itkSetMacro(ComputeOrientedBoundingBox,
bool);
130 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
131 itkBooleanMacro(ComputeOrientedBoundingBox);
139 PrintSelf(std::ostream & os,
Indent indent)
const override;
144 GenerateInputRequestedRegion()
override;
148 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
153 GenerateData()
override;
157 bool m_ComputeFeretDiameter{};
158 bool m_ComputePerimeter{};
159 bool m_ComputeOrientedBoundingBox{};
163#ifndef ITK_MANUAL_INSTANTIATION
164# include "itkLabelImageToShapeLabelMapFilter.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 label image to a label map and valuates the shape attributes.
TOutputImage OutputImageType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::ConstPointer OutputImageConstPointer
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::LabelObjectType LabelObjectType
typename InputImageType::ConstPointer InputImageConstPointer
TInputImage InputImageType
Templated n-dimensional image to store labeled objects.
The valuator class for the ShapeLabelObject.
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....