18 #ifndef itkBinaryImageToShapeLabelMapFilter_h
19 #define itkBinaryImageToShapeLabelMapFilter_h
60 template<
typename TInputImage,
typename TOutputImage =
61 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;
109 itkSetMacro(FullyConnected,
bool);
110 itkGetConstReferenceMacro(FullyConnected,
bool);
111 itkBooleanMacro(FullyConnected);
114 #ifdef ITK_USE_CONCEPT_CHECKING
145 itkSetMacro(ComputeFeretDiameter,
bool);
146 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
147 itkBooleanMacro(ComputeFeretDiameter);
154 itkSetMacro(ComputePerimeter,
bool);
155 itkGetConstReferenceMacro(ComputePerimeter,
bool);
156 itkBooleanMacro(ComputePerimeter);
164 itkSetMacro(ComputeOrientedBoundingBox,
bool);
165 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
166 itkBooleanMacro(ComputeOrientedBoundingBox);
172 void PrintSelf(std::ostream & os,
Indent indent)
const override;
176 void GenerateInputRequestedRegion()
override;
179 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
183 void GenerateData()
override;
195 #ifndef ITK_MANUAL_INSTANTIATION
196 #include "itkBinaryImageToShapeLabelMapFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
OutputImagePixelType m_OutputBackgroundValue
bool m_ComputeOrientedBoundingBox
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
InputImagePixelType m_InputForegroundValue
bool m_ComputeFeretDiameter
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::LabelObjectType LabelObjectType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename InputImageType::RegionType InputImageRegionType
Label the connected components in a binary image and produce a collection of label objects...
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
Converts a binary image to a label map and valuate the shape attributes.
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
typename OutputImageType::ConstPointer OutputImageConstPointer
Templated n-dimensional image class.