18 #ifndef itkLabelImageToShapeLabelMapFilter_h
19 #define itkLabelImageToShapeLabelMapFilter_h
47 template <
typename TInputImage,
48 typename TOutputImage =
49 LabelMap<ShapeLabelObject<typename TInputImage::PixelType, TInputImage::ImageDimension>>>
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"