17 #ifndef __itkLabelStatisticsKeepNObjectsImageFilter_h
18 #define __itkLabelStatisticsKeepNObjectsImageFilter_h
47 template<
class TInputImage,
class TFeatureImage>
76 itkStaticConstMacro(InputImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
78 itkStaticConstMacro(OutputImageDimension,
unsigned int,
79 TInputImage::ImageDimension);
80 itkStaticConstMacro(ImageDimension,
unsigned int,
81 TInputImage::ImageDimension);
98 #ifdef ITK_USE_CONCEPT_CHECKING
119 itkGetConstMacro(NumberOfObjects,
unsigned long);
120 itkSetMacro(NumberOfObjects,
unsigned long);
127 itkGetConstMacro( ReverseOrdering,
bool );
128 itkSetMacro( ReverseOrdering,
bool );
129 itkBooleanMacro( ReverseOrdering );
137 void SetAttribute(
const std::string & s )
139 this->SetAttribute( LabelObjectType::GetAttributeFromName( s ) );
143 void SetFeatureImage(
const TFeatureImage *input)
146 this->SetNthInput( 1, const_cast<TFeatureImage *>(input) );
158 this->SetInput( input );
164 this->SetFeatureImage( input );
171 void PrintSelf(std::ostream& os,
Indent indent)
const;
176 void GenerateInputRequestedRegion();
179 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output));
187 void operator=(
const Self&);
197 #ifndef ITK_MANUAL_INSTANTIATION