18 #ifndef __itkLabelShapeKeepNObjectsImageFilter_h
19 #define __itkLabelShapeKeepNObjectsImageFilter_h
50 template<
class TInputImage >
74 itkStaticConstMacro(InputImageDimension,
unsigned int,
75 TInputImage::ImageDimension);
76 itkStaticConstMacro(OutputImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
78 itkStaticConstMacro(ImageDimension,
unsigned int,
79 TInputImage::ImageDimension);
85 typedef Image<
typename OutputImageType::PixelType,
100 #ifdef ITK_USE_CONCEPT_CHECKING
132 itkGetConstMacro(ReverseOrdering,
bool);
133 itkSetMacro(ReverseOrdering,
bool);
134 itkBooleanMacro(ReverseOrdering);
143 void SetAttribute(
const std::string & s)
145 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
152 void PrintSelf(std::ostream & os,
Indent indent)
const;
157 void GenerateInputRequestedRegion();
160 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
168 void operator=(
const Self &);
177 #ifndef ITK_MANUAL_INSTANTIATION
178 #include "itkLabelShapeKeepNObjectsImageFilter.hxx"