18 #ifndef __itkBinaryImageToStatisticsLabelMapFilter_h
19 #define __itkBinaryImageToStatisticsLabelMapFilter_h
40 template<
class TInputImage,
class TFeatureImage,
class TOutputImage =
41 LabelMap< StatisticsLabelObject< SizeValueType, ::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);
96 itkSetMacro(FullyConnected,
bool);
97 itkGetConstReferenceMacro(FullyConnected,
bool);
98 itkBooleanMacro(FullyConnected);
101 #ifdef ITK_USE_CONCEPT_CHECKING
133 itkSetMacro(ComputeFeretDiameter,
bool);
134 itkGetConstReferenceMacro(ComputeFeretDiameter,
bool);
135 itkBooleanMacro(ComputeFeretDiameter);
142 itkSetMacro(ComputePerimeter,
bool);
143 itkGetConstReferenceMacro(ComputePerimeter,
bool);
144 itkBooleanMacro(ComputePerimeter);
148 void SetFeatureImage(
const TFeatureImage *input)
151 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
163 this->SetInput(input);
169 this->SetFeatureImage(input);
178 itkSetMacro(ComputeHistogram,
bool);
179 itkGetConstReferenceMacro(ComputeHistogram,
bool);
180 itkBooleanMacro(ComputeHistogram);
188 itkSetMacro(NumberOfBins,
unsigned int);
189 itkGetConstReferenceMacro(NumberOfBins,
unsigned int);
193 void PrintSelf(std::ostream & os,
Indent indent)
const;
199 void GenerateInputRequestedRegion();
202 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
211 void operator=(
const Self &);
224 #ifndef ITK_MANUAL_INSTANTIATION
225 #include "itkBinaryImageToStatisticsLabelMapFilter.hxx"