SoClosestBoundaryPointsProcessing2d engine More...
#include <ImageViz/Engines/MathematicalMorphology/DistanceMaps/SoClosestBoundaryPointsProcessing2d.h>
Public Member Functions | |
SoClosestBoundaryPointsProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inBinaryImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outMapImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImageX |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImageY |
The SoClosestBoundaryPointsProcessing2d engine computes the chamfer distance map on object boundary and the closest point.
This engine is like the SoChamferDistanceMapProcessing2d engine applied on the objects boundaries but it also computes the closest point contour onto the binary image for each pixel of the input image, and stores its position X and Y.
SoChamferDistanceMapProcessing2d.
inBinaryImage | NULL |
SoClosestBoundaryPointsProcessing2d::SoClosestBoundaryPointsProcessing2d | ( | ) |
Constructor.
The input binary image.
Default value is NULL. Supported types include: binary color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosestBoundaryPointsProcessing2d::outGrayImageX |
The output X distance map image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosestBoundaryPointsProcessing2d::outGrayImageY |
The output Y distance map image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosestBoundaryPointsProcessing2d::outMapImage |
The output background distance map image.
Default value is NULL. Supported types include: grayscale binary label color image.