18#ifndef itkLabelImageToStatisticsLabelMapFilter_h
19#define itkLabelImageToStatisticsLabelMapFilter_h
40template <
typename TInputImage,
41 typename TFeatureImage,
42 typename TOutputImage =
104 itkSetMacro(ComputeFeretDiameter,
bool);
105 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
106 itkBooleanMacro(ComputeFeretDiameter);
113 itkSetMacro(ComputePerimeter,
bool);
114 itkGetConstReferenceMacro(ComputePerimeter,
bool);
115 itkBooleanMacro(ComputePerimeter);
123 this->SetNthInput(1,
const_cast<TFeatureImage *
>(input));
127 const FeatureImageType *
137 this->SetInput(input);
153 itkSetMacro(ComputeHistogram,
bool);
154 itkGetConstReferenceMacro(ComputeHistogram,
bool);
155 itkBooleanMacro(ComputeHistogram);
163 itkSetMacro(NumberOfBins,
unsigned int);
164 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
197#ifndef ITK_MANUAL_INSTANTIATION
198# include "itkLabelImageToStatisticsLabelMapFilter.hxx"
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
convert a labeled image to a label collection image
TFeatureImage FeatureImageType
typename OutputImageType::PixelType OutputImagePixelType
SmartPointer< const Self > ConstPointer
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::ConstPointer InputImageConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
LabelImageToStatisticsLabelMapFilter Self
void PrintSelf(std::ostream &os, Indent indent) const override
static constexpr unsigned int OutputImageDimension
void EnlargeOutputRequestedRegion(DataObject *output) override
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
SmartPointer< Self > Pointer
static constexpr unsigned int InputImageDimension
LabelImageToStatisticsLabelMapFilter()
void SetFeatureImage(const TFeatureImage *input)
typename FeatureImageType::ConstPointer FeatureImageConstPointer
const FeatureImageType * GetFeatureImage()
void SetInput2(const FeatureImageType *input)
void GenerateInputRequestedRegion() override
typename OutputImageType::RegionType OutputImageRegionType
typename InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
LabelImageToLabelMapFilter< InputImageType, OutputImageType > LabelizerType
StatisticsLabelMapFilter< OutputImageType, FeatureImageType > LabelObjectValuatorType
typename OutputImageType::ConstPointer OutputImageConstPointer
~LabelImageToStatisticsLabelMapFilter() override=default
static constexpr unsigned int ImageDimension
bool m_ComputeFeretDiameter
OutputImagePixelType m_BackgroundValue
typename OutputImageType::LabelObjectType LabelObjectType
unsigned int m_NumberOfBins
void SetInput1(const InputImageType *input)
void GenerateData() override
typename FeatureImageType::PixelType FeatureImagePixelType
typename FeatureImageType::Pointer FeatureImagePointer
typename InputImageType::RegionType InputImageRegionType
Templated n-dimensional image to store labeled objects.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Implements transparent reference counting.
The valuator class for the StatisticsLabelObject.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....