18 #ifndef itkBinaryImageToShapeLabelMapFilter_h
19 #define itkBinaryImageToShapeLabelMapFilter_h
60 template <
typename TInputImage,
61 typename TOutputImage = LabelMap<ShapeLabelObject<SizeValueType, TInputImage::ImageDimension>>>
89 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
90 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
91 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
108 itkSetMacro(FullyConnected,
bool);
109 itkGetConstReferenceMacro(FullyConnected,
bool);
110 itkBooleanMacro(FullyConnected);
113 #ifdef ITK_USE_CONCEPT_CHECKING
141 itkSetMacro(ComputeFeretDiameter,
bool);
142 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
143 itkBooleanMacro(ComputeFeretDiameter);
150 itkSetMacro(ComputePerimeter,
bool);
151 itkGetConstReferenceMacro(ComputePerimeter,
bool);
152 itkBooleanMacro(ComputePerimeter);
160 itkSetMacro(ComputeOrientedBoundingBox,
bool);
161 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
162 itkBooleanMacro(ComputeOrientedBoundingBox);
169 PrintSelf(std::ostream & os,
Indent indent)
const override;
174 GenerateInputRequestedRegion()
override;
178 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
183 GenerateData()
override;
186 bool m_FullyConnected{};
189 bool m_ComputeFeretDiameter{};
190 bool m_ComputePerimeter{};
191 bool m_ComputeOrientedBoundingBox{};
195 #ifndef ITK_MANUAL_INSTANTIATION
196 # include "itkBinaryImageToShapeLabelMapFilter.hxx"