18 #ifndef __itkLabelImageToStatisticsLabelMapFilter_h
19 #define __itkLabelImageToStatisticsLabelMapFilter_h
40 template<
class TInputImage,
class TFeatureImage,
class TOutputImage =
41 LabelMap< StatisticsLabelObject<
typename TInputImage::PixelType,
73 itkStaticConstMacro(InputImageDimension,
unsigned int,
74 TInputImage::ImageDimension);
75 itkStaticConstMacro(OutputImageDimension,
unsigned int,
76 TInputImage::ImageDimension);
77 itkStaticConstMacro(ImageDimension,
unsigned int,
78 TInputImage::ImageDimension);
91 #ifdef ITK_USE_CONCEPT_CHECKING
115 itkSetMacro(ComputeFeretDiameter,
bool);
116 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
117 itkBooleanMacro(ComputeFeretDiameter);
124 itkSetMacro(ComputePerimeter,
bool);
125 itkGetConstReferenceMacro(ComputePerimeter,
bool);
126 itkBooleanMacro(ComputePerimeter);
130 void SetFeatureImage(
const TFeatureImage *input)
133 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
145 this->SetInput(input);
151 this->SetFeatureImage(input);
160 itkSetMacro(ComputeHistogram,
bool);
161 itkGetConstReferenceMacro(ComputeHistogram,
bool);
162 itkBooleanMacro(ComputeHistogram);
170 itkSetMacro(NumberOfBins,
unsigned int);
171 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
175 void PrintSelf(std::ostream & os,
Indent indent)
const;
181 void GenerateInputRequestedRegion();
184 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
193 void operator=(
const Self &);
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkLabelImageToStatisticsLabelMapFilter.hxx"