17 #ifndef __itkBinaryImageToStatisticsLabelMapFilter_h
18 #define __itkBinaryImageToStatisticsLabelMapFilter_h
41 template<class TInputImage, class TFeatureImage, class TOutputImage=LabelMap< StatisticsLabelObject< unsigned long, ::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);
95 itkSetMacro(FullyConnected,
bool);
96 itkGetConstReferenceMacro(FullyConnected,
bool);
97 itkBooleanMacro(FullyConnected);
99 #ifdef ITK_USE_CONCEPT_CHECKING
128 itkSetMacro(ComputeFeretDiameter,
bool);
129 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
130 itkBooleanMacro(ComputeFeretDiameter);
136 itkSetMacro(ComputePerimeter,
bool);
137 itkGetConstReferenceMacro(ComputePerimeter,
bool);
138 itkBooleanMacro(ComputePerimeter);
141 void SetFeatureImage(
const TFeatureImage *input)
144 this->SetNthInput( 1, const_cast<TFeatureImage *>(input) );
156 this->SetInput( input );
162 this->SetFeatureImage( input );
171 itkSetMacro(ComputeHistogram,
bool);
172 itkGetConstReferenceMacro(ComputeHistogram,
bool);
173 itkBooleanMacro(ComputeHistogram);
180 itkSetMacro(NumberOfBins,
unsigned int);
181 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
187 void PrintSelf(std::ostream& os,
Indent indent)
const;
192 void GenerateInputRequestedRegion();
195 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output));
204 void operator=(
const Self&);
218 #ifndef ITK_MANUAL_INSTANTIATION