18 #ifndef itkLabelImageToShapeLabelMapFilter_h
19 #define itkLabelImageToShapeLabelMapFilter_h
47 template<
typename TInputImage,
typename TOutputImage =
48 LabelMap< ShapeLabelObject<
typename TInputImage::PixelType,
49 TInputImage::ImageDimension > > >
77 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
78 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
79 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
94 #ifdef ITK_USE_CONCEPT_CHECKING
117 itkSetMacro(ComputeFeretDiameter,
bool);
118 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
119 itkBooleanMacro(ComputeFeretDiameter);
126 itkSetMacro(ComputePerimeter,
bool);
127 itkGetConstReferenceMacro(ComputePerimeter,
bool);
128 itkBooleanMacro(ComputePerimeter);
136 itkSetMacro(ComputeOrientedBoundingBox,
bool);
137 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
138 itkBooleanMacro(ComputeOrientedBoundingBox);
145 void PrintSelf(std::ostream & os,
Indent indent)
const override;
149 void GenerateInputRequestedRegion()
override;
152 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
156 void GenerateData()
override;
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "itkLabelImageToShapeLabelMapFilter.hxx"
convert a labeled image to a label collection image
typename OutputImageType::Pointer OutputImagePointer
OutputImagePixelType m_BackgroundValue
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Converts a label image to a label map and valuates the shape attributes.
Base class for all process objects that output image data.
typename OutputImageType::ConstPointer OutputImageConstPointer
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::LabelObjectType LabelObjectType
typename InputImageType::Pointer InputImagePointer
bool m_ComputeFeretDiameter
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
bool m_ComputeOrientedBoundingBox
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
Templated n-dimensional image class.