SoRegionToObjectProcessing2d image filter More...
#include <ImageViz/Engines/ImageSegmentation/Labeling/SoRegionToObjectProcessing2d.h>
Public Member Functions | |
SoRegionToObjectProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inRegionImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outObjectImage |
The SoRegionToObjectProcessing2d engine transforms an object image into a region image.
The SoObjectToRegionProcessing2d engine scans the image from top to bottom and left to right. The algorithm works in two steps:
BEFORE:
AFTER:
SoObjectToRegionProcessing2d, SoLabelingProcessing.
inRegionImage | NULL |
SoRegionToObjectProcessing2d::SoRegionToObjectProcessing2d | ( | ) |
Constructor.
The input region label image.
Default value is NULL. Supported types include: label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoRegionToObjectProcessing2d::outObjectImage |
The output object label image.
Default value is NULL. Supported types include: grayscale binary label color image.