18 #ifndef itkBinaryShapeOpeningImageFilter_h
19 #define itkBinaryShapeOpeningImageFilter_h
46 template<
typename TInputImage >
70 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
71 itkStaticConstMacro(OutputImageDimension,
unsigned int, TInputImage::ImageDimension);
72 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
99 itkSetMacro(FullyConnected,
bool);
100 itkGetConstReferenceMacro(FullyConnected,
bool);
101 itkBooleanMacro(FullyConnected);
104 #ifdef ITK_USE_CONCEPT_CHECKING
134 itkGetConstMacro(Lambda,
double);
135 itkSetMacro(Lambda,
double);
144 itkGetConstMacro(ReverseOrdering,
bool);
145 itkSetMacro(ReverseOrdering,
bool);
146 itkBooleanMacro(ReverseOrdering);
157 this->SetAttribute( LabelObjectType::GetAttributeFromName(s) );
164 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
168 void GenerateInputRequestedRegion() ITK_OVERRIDE;
171 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
175 void GenerateData() ITK_OVERRIDE;
180 bool m_FullyConnected;
184 bool m_ReverseOrdering;
189 #ifndef ITK_MANUAL_INSTANTIATION
190 #include "itkBinaryShapeOpeningImageFilter.hxx"
void SetAttribute(const std::string &s)
SmartPointer< const Self > ConstPointer
Light weight base class for most itk classes.
LabelMapToBinaryImageFilter< LabelMapType, OutputImageType > BinarizerType
LabelMap< LabelObjectType > LabelMapType
InputImageType::RegionType InputImageRegionType
ShapeLabelMapFilter< LabelMapType, ShapeLabelFilterOutput > LabelObjectValuatorType
unsigned long SizeValueType
ImageToImageFilter< TInputImage, TInputImage > Superclass
OutputImageType::ConstPointer OutputImageConstPointer
SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
TInputImage OutputImageType
Remove objects based on the value of their shape attribute.
Remove objects according to the value of their shape attribute.
BinaryShapeOpeningImageFilter Self
Image< typename OutputImageType::PixelType, itkGetStaticConstMacro(OutputImageDimension) > ShapeLabelFilterOutput
Superclass::AttributeType AttributeType
InputImageType::ConstPointer InputImageConstPointer
BinaryImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
A Label object to store the common attributes related to the shape of the object. ...
ShapeLabelObject< LabelType, itkGetStaticConstMacro(ImageDimension) > LabelObjectType
ShapeOpeningLabelMapFilter< LabelMapType > OpeningType
OutputImageType::RegionType OutputImageRegionType
Label the connected components in a binary image and produce a collection of label objects...
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
InputImageType::PixelType InputImagePixelType
Templated n-dimensional image to store labeled objects.
~BinaryShapeOpeningImageFilter() override
OutputImageType::PixelType OutputImagePixelType
InputImageType::Pointer InputImagePointer
#define itkConceptMacro(name, concept)
TInputImage InputImageType
LabelObjectType::AttributeType AttributeType
The valuator class for the ShapeLabelObject.
Base class for all data objects in ITK.
Templated n-dimensional image class.
Convert a LabelMap to a binary image.