SoRemoveSmallHolesProcessing Class Reference
[Feature Selection]

ImageViz SoRemoveSmallHolesProcessing engine More...

#include <ImageViz/Engines/ImageSegmentation/FeatureSelection/SoRemoveSmallHolesProcessing.h>

Inheritance diagram for SoRemoveSmallHolesProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoRemoveSmallHolesProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inObjectImage
SoSFFloat holeSize
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outObjectImage

Detailed Description

ImageViz SoRemoveSmallHolesProcessing engine

SoRemoveSmallHolesProcessing allows filling smallest holes in a binary image

This engine allows filling the smallest holes in a binary image. The holeSize parameter indicates the maximum size of the holes to be filled.

In order to fill the holes, this engine computes the negative of the binary image, and then filters it with:

Finally, the engine computes again the negative to obtain the result image.

SEE ALSO

SoRemoveSmallSpotsProcessing.

FILE FORMAT/DEFAULT


Library references: removalsmallholes


Constructor & Destructor Documentation

SoRemoveSmallHolesProcessing::SoRemoveSmallHolesProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

The maximum size of holes to delete (in pixel).

Default value is 10.0f.

The input object binary image.

Default value is NULL. Supported types include: binary color image.

The output object binary image.

Default value is NULL. Supported types include: grayscale binary label color image.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/