SoChessboardDistanceMapProcessing Class Reference
[Distance Maps]

ImageViz SoChessboardDistanceMapProcessing engine More...

#include <ImageViz/Engines/MathematicalMorphology/DistanceMaps/SoChessboardDistanceMapProcessing.h>

Inheritance diagram for SoChessboardDistanceMapProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoChessboardDistanceMapProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inBinaryImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outMapImage

Detailed Description

ImageViz SoChessboardDistanceMapProcessing engine

The SoChessboardDistanceMapProcessing engine computes the chessboard distance transformation.

This engine is based upon a recursive method and work in two iterations. It is used for particle segmentation, before a Watershed engine.

This engine calculates the distance function of a binary image onto a gray level image, as the sum of successive erosions. The output image is a 16-bits signed image.

In the output image $O$, a voxel $x$ belonging to a particle $X$, takes an intensity $I$ equal to the distance in voxel units to the boundary. For a rectangular grid the distance is defined as:

$ I=d_ 8(x,\delta(X)) $

Where denotes the so called Chessboard distance:

$ d_8((i,j),(h,k))=max(|h-i|,|k-j|) $

SoChessboardDistanceMapProcessing_image01.png

Output image for chessboard distance transformation

SEE ALSO

SoChamferDistanceMapProcessing2d.

FILE FORMAT/DEFAULT


Library references: distance


Constructor & Destructor Documentation

SoChessboardDistanceMapProcessing::SoChessboardDistanceMapProcessing (  ) 

Constructor.


Member Data Documentation

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

Default is MODE_AUTO

The input binary image.

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

The output distance map 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 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/