18 #ifndef __itkBinaryStatisticsKeepNObjectsImageFilter_h
19 #define __itkBinaryStatisticsKeepNObjectsImageFilter_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);
105 itkSetMacro(FullyConnected,
bool);
106 itkGetConstReferenceMacro(FullyConnected,
bool);
107 itkBooleanMacro(FullyConnected);
110 #ifdef ITK_USE_CONCEPT_CHECKING
150 itkGetConstMacro(ReverseOrdering,
bool);
151 itkSetMacro(ReverseOrdering,
bool);
152 itkBooleanMacro(ReverseOrdering);
161 void SetAttribute(
const std::string & s)
163 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
168 void SetFeatureImage(
const TFeatureImage *input)
171 this->SetNthInput( 1, const_cast< TFeatureImage * >( input ) );
183 this->SetInput(input);
189 this->SetFeatureImage(input);
195 void PrintSelf(std::ostream & os,
Indent indent)
const;
200 void GenerateInputRequestedRegion();
203 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
212 void operator=(
const Self &);
224 #ifndef ITK_MANUAL_INSTANTIATION
225 #include "itkBinaryStatisticsKeepNObjectsImageFilter.hxx"