18 #ifndef itkLabelImageToStatisticsLabelMapFilter_h
19 #define itkLabelImageToStatisticsLabelMapFilter_h
40 template<
typename TInputImage,
typename TFeatureImage,
typename TOutputImage =
41 LabelMap< StatisticsLabelObject<
typename TInputImage::PixelType,
42 TInputImage::ImageDimension > > >
74 TInputImage::ImageDimension);
76 TInputImage::ImageDimension);
78 TInputImage::ImageDimension);
91 #ifdef ITK_USE_CONCEPT_CHECKING
114 itkSetMacro(ComputeFeretDiameter,
bool);
115 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
116 itkBooleanMacro(ComputeFeretDiameter);
123 itkSetMacro(ComputePerimeter,
bool);
124 itkGetConstReferenceMacro(ComputePerimeter,
bool);
125 itkBooleanMacro(ComputePerimeter);
132 this->
SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
159 itkSetMacro(ComputeHistogram,
bool);
160 itkGetConstReferenceMacro(ComputeHistogram,
bool);
161 itkBooleanMacro(ComputeHistogram);
169 itkSetMacro(NumberOfBins,
unsigned int);
170 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
193 void operator=(const Self &);
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkLabelImageToStatisticsLabelMapFilter.hxx"
static const unsigned int ImageDimension
void EnlargeOutputRequestedRegion(DataObject *) override
FeatureImageType::Pointer FeatureImagePointer
convert a labeled image to a label collection image
SmartPointer< const Self > ConstPointer
unsigned int m_NumberOfBins
OutputImageType::Pointer OutputImagePointer
OutputImagePixelType m_BackgroundValue
InputImageType::Pointer InputImagePointer
OutputImageType::LabelObjectType LabelObjectType
LabelImageToLabelMapFilter< InputImageType, OutputImageType > LabelizerType
OutputImageType::RegionType OutputImageRegionType
SmartPointer< Self > Pointer
TOutputImage OutputImageType
a convenient class to convert a label image to a label map and valuate the statistics attributes at o...
Base class for all process objects that output image data.
void PrintSelf(std::ostream &os, Indent indent) const override
FeatureImageType::ConstPointer FeatureImageConstPointer
InputImageType::ConstPointer InputImageConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
bool m_ComputeFeretDiameter
LabelImageToStatisticsLabelMapFilter Self
static const unsigned int OutputImageDimension
void SetFeatureImage(const TFeatureImage *input)
~LabelImageToStatisticsLabelMapFilter()
OutputImageType::ConstPointer OutputImageConstPointer
virtual void SetInput(const InputImageType *image)
static const unsigned int InputImageDimension
void SetInput1(const InputImageType *input)
TInputImage InputImageType
OutputImageType::PixelType OutputImagePixelType
OutputImageType::PixelType OutputImagePixelType
InputImageType::PixelType InputImagePixelType
TInputImage InputImageType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
const FeatureImageType * GetFeatureImage()
void SetInput2(const FeatureImageType *input)
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
InputImageType::RegionType InputImageRegionType
FeatureImageType::PixelType FeatureImagePixelType
void GenerateData() override
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
The valuator class for the ShapeLabelObject.
#define itkConceptMacro(name, concept)
void GenerateInputRequestedRegion() override
Base class for all data objects in ITK.
StatisticsLabelMapFilter< OutputImageType, FeatureImageType > LabelObjectValuatorType
TFeatureImage FeatureImageType
LabelImageToStatisticsLabelMapFilter()