18 #ifndef itkBinaryImageToStatisticsLabelMapFilter_h
19 #define itkBinaryImageToStatisticsLabelMapFilter_h
40 template <
typename TInputImage,
41 typename TFeatureImage,
42 typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
74 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
75 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
76 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
93 itkSetMacro(FullyConnected,
bool);
94 itkGetConstReferenceMacro(FullyConnected,
bool);
95 itkBooleanMacro(FullyConnected);
98 #ifdef ITK_USE_CONCEPT_CHECKING
126 itkSetMacro(ComputeFeretDiameter,
bool);
127 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
128 itkBooleanMacro(ComputeFeretDiameter);
135 itkSetMacro(ComputePerimeter,
bool);
136 itkGetConstReferenceMacro(ComputePerimeter,
bool);
137 itkBooleanMacro(ComputePerimeter);
145 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
149 const FeatureImageType *
159 this->SetInput(input);
166 this->SetFeatureImage(input);
175 itkSetMacro(ComputeHistogram,
bool);
176 itkGetConstReferenceMacro(ComputeHistogram,
bool);
177 itkBooleanMacro(ComputeHistogram);
185 itkSetMacro(NumberOfBins,
unsigned int);
186 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
193 PrintSelf(std::ostream & os,
Indent indent)
const override;
199 GenerateInputRequestedRegion()
override;
203 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
208 GenerateData()
override;
221 #ifndef ITK_MANUAL_INSTANTIATION
222 # include "itkBinaryImageToStatisticsLabelMapFilter.hxx"