18 #ifndef itkLabelImageToShapeLabelMapFilter_h
19 #define itkLabelImageToShapeLabelMapFilter_h
47 template<
typename TInputImage,
typename TOutputImage =
48 LabelMap< ShapeLabelObject<
typename TInputImage::PixelType,
49 TInputImage::ImageDimension > > >
75 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
76 itkStaticConstMacro(OutputImageDimension,
unsigned int, TInputImage::ImageDimension);
77 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
93 #ifdef ITK_USE_CONCEPT_CHECKING
116 itkSetMacro(ComputeFeretDiameter,
bool);
117 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
118 itkBooleanMacro(ComputeFeretDiameter);
125 itkSetMacro(ComputePerimeter,
bool);
126 itkGetConstReferenceMacro(ComputePerimeter,
bool);
127 itkBooleanMacro(ComputePerimeter);
135 itkSetMacro(ComputeOrientedBoundingBox,
bool);
136 itkGetConstReferenceMacro(ComputeOrientedBoundingBox,
bool);
137 itkBooleanMacro(ComputeOrientedBoundingBox);
144 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
148 void GenerateInputRequestedRegion() ITK_OVERRIDE;
151 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
155 void GenerateData() ITK_OVERRIDE;
161 bool m_ComputeFeretDiameter;
162 bool m_ComputePerimeter;
163 bool m_ComputeOrientedBoundingBox;
167 #ifndef ITK_MANUAL_INSTANTIATION
168 #include "itkLabelImageToShapeLabelMapFilter.hxx"
convert a labeled image to a label collection image
InputImageType::RegionType InputImageRegionType
TInputImage InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
LabelImageToLabelMapFilter< InputImageType, OutputImageType > LabelizerType
OutputImageType::Pointer OutputImagePointer
Converts a label image to a label map and valuates the shape attributes.
Base class for all process objects that output image data.
InputImageType::ConstPointer InputImageConstPointer
TOutputImage OutputImageType
LabelImageToShapeLabelMapFilter Self
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput
OutputImageType::PixelType OutputImagePixelType
OutputImageType::LabelObjectType LabelObjectType
InputImageType::Pointer InputImagePointer
Base class for filters that take an image as input and produce an image as output.
~LabelImageToShapeLabelMapFilter() override
OutputImageType::ConstPointer OutputImageConstPointer
Control indentation during Print() invocation.
#define itkConceptMacro(name, concept)
OutputImageType::PixelType OutputImagePixelType
ShapeLabelMapFilter< TOutputImage, ShapeLabelFilterOutput > LabelObjectValuatorType
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer
OutputImageType::RegionType OutputImageRegionType
InputImageType::PixelType InputImagePixelType