18 #ifndef itkStatisticsLabelMapFilter_h
19 #define itkStatisticsLabelMapFilter_h
40 template <
typename TImage,
typename TFeatureImage>
42 :
public ShapeLabelMapFilter<TImage, Image<typename TImage::PixelType, TImage::ImageDimension>>
70 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
78 #ifdef ITK_USE_CONCEPT_CHECKING
94 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
108 this->SetInput(input);
115 this->SetFeatureImage(input);
124 itkSetMacro(ComputeHistogram,
bool);
125 itkGetConstReferenceMacro(ComputeHistogram,
bool);
126 itkBooleanMacro(ComputeHistogram);
134 itkSetMacro(NumberOfBins,
unsigned int);
135 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
143 ThreadedProcessLabelObject(LabelObjectType * labelObject)
override;
146 BeforeThreadedGenerateData()
override;
149 PrintSelf(std::ostream & os,
Indent indent)
const override;
159 #ifndef ITK_MANUAL_INSTANTIATION
160 # include "itkStatisticsLabelMapFilter.hxx"