18 #ifndef itkLabelImageToShapeLabelMapFilter_h 19 #define itkLabelImageToShapeLabelMapFilter_h 47 template<
typename TInputImage,
typename TOutputImage =
48 LabelMap< ShapeLabelObject<
typename TInputImage::PixelType,
49 TInputImage::ImageDimension > > >
77 itkStaticConstMacro(
ImageDimension,
unsigned int, TInputImage::ImageDimension);
93 #ifdef ITK_USE_CONCEPT_CHECKING 108 itkSetMacro(BackgroundValue, OutputImagePixelType);
109 itkGetConstMacro(BackgroundValue, OutputImagePixelType);
116 itkSetMacro(ComputeFeretDiameter,
bool);
117 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
118 itkBooleanMacro(ComputeFeretDiameter);
125 itkSetMacro(ComputePerimeter,
bool);
126 itkGetConstReferenceMacro(ComputePerimeter,
bool);
127 itkBooleanMacro(ComputePerimeter);
148 void operator=(
const Self &) ITK_DELETE_FUNCTION;
156 #ifndef ITK_MANUAL_INSTANTIATION 157 #include "itkLabelImageToShapeLabelMapFilter.hxx" void GenerateData() override
convert a labeled image to a label collection image
LabelImageToShapeLabelMapFilter()
void EnlargeOutputRequestedRegion(DataObject *) override
InputImageType::RegionType InputImageRegionType
TInputImage InputImageType
~LabelImageToShapeLabelMapFilter()
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
void operator=(const Self &) ITK_DELETE_FUNCTION
LabelImageToLabelMapFilter< InputImageType, OutputImageType > LabelizerType
OutputImagePixelType m_BackgroundValue
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
OutputImageType::Pointer OutputImagePointer
Converts a label image to a label map and valuates the shape attributes.
InputImageType::ConstPointer InputImageConstPointer
TOutputImage OutputImageType
void GenerateInputRequestedRegion() override
LabelImageToShapeLabelMapFilter Self
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput
bool m_ComputeFeretDiameter
static const unsigned int ImageDimension
static const unsigned int OutputImageDimension
OutputImageType::LabelObjectType LabelObjectType
InputImageType::Pointer InputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for filters that take an image as input and produce an image as output.
OutputImageType::ConstPointer OutputImageConstPointer
Control indentation during Print() invocation.
static const unsigned int InputImageDimension
#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