18 #ifndef __itkLabelImageToStatisticsLabelMapFilter_h
19 #define __itkLabelImageToStatisticsLabelMapFilter_h
40 template<
class TInputImage,
class TFeatureImage,
class TOutputImage =
41 LabelMap< StatisticsLabelObject<
typename TInputImage::PixelType,
42 TInputImage::ImageDimension > > >
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);
177 void PrintSelf(std::ostream & os,
Indent indent)
const;
182 void GenerateInputRequestedRegion();
185 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
194 void operator=(
const Self &);
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkLabelImageToStatisticsLabelMapFilter.hxx"