17 #ifndef __itkLabelImageToStatisticsLabelMapFilter_h
18 #define __itkLabelImageToStatisticsLabelMapFilter_h
41 template<class TInputImage, class TFeatureImage, class TOutputImage=LabelMap< StatisticsLabelObject< ITK_TYPENAME TInputImage::PixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension> > >
72 itkStaticConstMacro(InputImageDimension,
unsigned int,
73 TInputImage::ImageDimension);
74 itkStaticConstMacro(OutputImageDimension,
unsigned int,
75 TInputImage::ImageDimension);
76 itkStaticConstMacro(ImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
89 #ifdef ITK_USE_CONCEPT_CHECKING
111 itkSetMacro(ComputeFeretDiameter,
bool);
112 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
113 itkBooleanMacro(ComputeFeretDiameter);
119 itkSetMacro(ComputePerimeter,
bool);
120 itkGetConstReferenceMacro(ComputePerimeter,
bool);
121 itkBooleanMacro(ComputePerimeter);
124 void SetFeatureImage(
const TFeatureImage *input)
127 this->SetNthInput( 1, const_cast<TFeatureImage *>(input) );
139 this->SetInput( input );
145 this->SetFeatureImage( input );
154 itkSetMacro(ComputeHistogram,
bool);
155 itkGetConstReferenceMacro(ComputeHistogram,
bool);
156 itkBooleanMacro(ComputeHistogram);
163 itkSetMacro(NumberOfBins,
unsigned int);
164 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
170 void PrintSelf(std::ostream& os,
Indent indent)
const;
175 void GenerateInputRequestedRegion();
178 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output));
187 void operator=(
const Self&);
199 #ifndef ITK_MANUAL_INSTANTIATION