18 #ifndef __itkLabelStatisticsKeepNObjectsImageFilter_h
19 #define __itkLabelStatisticsKeepNObjectsImageFilter_h
45 template<
class TInputImage,
class TFeatureImage >
74 itkStaticConstMacro(InputImageDimension,
unsigned int,
75 TInputImage::ImageDimension);
76 itkStaticConstMacro(OutputImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
78 itkStaticConstMacro(ImageDimension,
unsigned int,
79 TInputImage::ImageDimension);
97 #ifdef ITK_USE_CONCEPT_CHECKING
129 itkGetConstMacro(ReverseOrdering,
bool);
130 itkSetMacro(ReverseOrdering,
bool);
131 itkBooleanMacro(ReverseOrdering);
140 void SetAttribute(
const std::string & s)
142 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
147 void SetFeatureImage(
const TFeatureImage *input)
150 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
162 this->SetInput(input);
168 this->SetFeatureImage(input);
174 void PrintSelf(std::ostream & os,
Indent indent)
const;
179 void GenerateInputRequestedRegion();
182 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
191 void operator=(
const Self &);
201 #ifndef ITK_MANUAL_INSTANTIATION
202 #include "itkLabelStatisticsKeepNObjectsImageFilter.hxx"