18 #ifndef itkStatisticsLabelMapFilter_h
19 #define itkStatisticsLabelMapFilter_h
41 template <
typename TImage,
typename TFeatureImage>
43 :
public ShapeLabelMapFilter<TImage, Image<typename TImage::PixelType, TImage ::ImageDimension>>
71 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
79 #ifdef ITK_USE_CONCEPT_CHECKING
95 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
109 this->SetInput(input);
116 this->SetFeatureImage(input);
125 itkSetMacro(ComputeHistogram,
bool);
126 itkGetConstReferenceMacro(ComputeHistogram,
bool);
127 itkBooleanMacro(ComputeHistogram);
135 itkSetMacro(NumberOfBins,
unsigned int);
136 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
144 ThreadedProcessLabelObject(LabelObjectType * labelObject)
override;
147 BeforeThreadedGenerateData()
override;
150 PrintSelf(std::ostream & os,
Indent indent)
const override;
160 #ifndef ITK_MANUAL_INSTANTIATION
161 # include "itkStatisticsLabelMapFilter.hxx"