18 #ifndef itkBinaryImageToShapeLabelMapFilter_h
19 #define itkBinaryImageToShapeLabelMapFilter_h
60 template<
typename TInputImage,
typename TOutputImage =
61 LabelMap< ShapeLabelObject< SizeValueType, TInputImage::ImageDimension > > >
87 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
88 itkStaticConstMacro(OutputImageDimension,
unsigned int, TInputImage::ImageDimension);
89 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
108 itkSetMacro(FullyConnected,
bool);
109 itkGetConstReferenceMacro(FullyConnected,
bool);
110 itkBooleanMacro(FullyConnected);
113 #ifdef ITK_USE_CONCEPT_CHECKING
144 itkSetMacro(ComputeFeretDiameter,
bool);
145 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
146 itkBooleanMacro(ComputeFeretDiameter);
153 itkSetMacro(ComputePerimeter,
bool);
154 itkGetConstReferenceMacro(ComputePerimeter,
bool);
155 itkBooleanMacro(ComputePerimeter);
163 itkSetMacro(ComputeOrientedBoundingBox,
bool);
164 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
165 itkBooleanMacro(ComputeOrientedBoundingBox);
171 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
175 void GenerateInputRequestedRegion() ITK_OVERRIDE;
178 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
182 void GenerateData() ITK_OVERRIDE;
187 bool m_FullyConnected;
190 bool m_ComputeFeretDiameter;
191 bool m_ComputePerimeter;
192 bool m_ComputeOrientedBoundingBox;
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkBinaryImageToShapeLabelMapFilter.hxx"
InputImageType::Pointer InputImagePointer
OutputImageType::PixelType OutputImagePixelType
InputImageType::RegionType InputImageRegionType
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput
OutputImageType::ConstPointer OutputImageConstPointer
BinaryImageToShapeLabelMapFilter Self
~BinaryImageToShapeLabelMapFilter() override
InputImageType::PixelType InputImagePixelType
Base class for all process objects that output image data.
OutputImageType::RegionType OutputImageRegionType
BinaryImageToLabelMapFilter< InputImageType, OutputImageType > LabelizerType
OutputImageType::Pointer OutputImagePointer
OutputImageType::PixelType OutputImagePixelType
TInputImage InputImageType
ShapeLabelMapFilter< TOutputImage, ShapeLabelFilterOutput > LabelObjectValuatorType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::PixelType InputImagePixelType
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.
InputImageType::ConstPointer InputImageConstPointer
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
TOutputImage OutputImageType
Converts a binary image to a label map and valuate the shape attributes.
#define itkConceptMacro(name, concept)
OutputImageType::LabelObjectType LabelObjectType
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer