18 #ifndef __itkBinaryShapeKeepNObjectsImageFilter_h
19 #define __itkBinaryShapeKeepNObjectsImageFilter_h
46 template<
typename TInputImage >
71 TInputImage::ImageDimension);
73 TInputImage::ImageDimension);
75 TInputImage::ImageDimension);
103 itkSetMacro(FullyConnected,
bool);
104 itkGetConstReferenceMacro(FullyConnected,
bool);
105 itkBooleanMacro(FullyConnected);
108 #ifdef ITK_USE_CONCEPT_CHECKING
147 itkGetConstMacro(ReverseOrdering,
bool);
148 itkSetMacro(ReverseOrdering,
bool);
149 itkBooleanMacro(ReverseOrdering);
194 #ifndef ITK_MANUAL_INSTANTIATION
195 #include "itkBinaryShapeKeepNObjectsImageFilter.hxx"
void EnlargeOutputRequestedRegion(DataObject *)
OutputImageType::Pointer OutputImagePointer
OutputImageType::RegionType OutputImageRegionType
Light weight base class for most itk classes.
InputImageType::ConstPointer InputImageConstPointer
TInputImage OutputImageType
SizeValueType m_NumberOfObjects
BinaryImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
ShapeKeepNObjectsLabelMapFilter< LabelMapType > KeepNObjectsType
ShapeLabelMapFilter< LabelMapType, ShapeLabelFilterOutput > LabelObjectValuatorType
SmartPointer< const Self > ConstPointer
BinaryShapeKeepNObjectsImageFilter()
LabelObjectType::AttributeType AttributeType
unsigned long SizeValueType
ImageToImageFilter< TInputImage, TInputImage > Superclass
static const unsigned int ImageDimension
void GenerateInputRequestedRegion()
ShapeLabelObject< LabelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
Superclass::AttributeType AttributeType
static AttributeType GetAttributeFromName(const std::string &s)
InputImageType::Pointer InputImagePointer
A Label object to store the common attributes related to the shape of the object. ...
LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > BinarizerType
Keep N objects according to their shape attributes.
BinaryShapeKeepNObjectsImageFilter Self
~BinaryShapeKeepNObjectsImageFilter()
OutputImagePixelType m_ForegroundValue
Label the connected components in a binary image and produce a collection of label objects...
LabelMap< LabelObjectType > LabelMapType
OutputImageType::ConstPointer OutputImageConstPointer
void operator=(const Self &)
Base class for filters that take an image as input and produce an image as output.
AttributeType m_Attribute
InputImageType::PixelType InputImagePixelType
Control indentation during Print() invocation.
Templated n-dimensional image to store labeled objects.
InputImageType::RegionType InputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const
TInputImage InputImageType
#define itkConceptMacro(name, concept)
static const unsigned int OutputImageDimension
keep N objects according to their shape attributes
The valuator class for the ShapeLabelObject.
static const unsigned int InputImageDimension
void SetAttribute(const std::string &s)
virtual void SetAttribute(AttributeType _arg)
Base class for all data objects in ITK.
Templated n-dimensional image class.
OutputImageType::PixelType OutputImagePixelType
OutputImagePixelType m_BackgroundValue
Convert a LabelMap to a binary image.
SmartPointer< Self > Pointer
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput