public class SoReconstructionFromMarkersProcessing extends SoImageVizEngine
SoReconstructionFromMarkersProcessing engine
The SoReconstructionFromMarkersProcessing engine rebuilds an image starting from markers.
For an introduction, see section Morphology.
This engine rebuilds a set of objects identified by markers and retrieves only the objects containing (at least) a marker.
Successive dilations are performed on the markers, each dilation being followed by an intersection with the original image until convergence (idempotence). This iterative process is called a geodesic dilation. It guarantees that a dilated marker will not merge into a particle other than the it marks.
Geodesic dilation is different from a large dilation of a given size followed by an intersection with the original image because a dilated marker may hit close particles which are not marked for reconstruction.
For example, given an erosion which eliminated the small particles of an image, this engine can rebuild the original shapes of the remaining particles if the eroded set is used as the markers.
See also:
SoBorderKillProcessing, SoObjectBoundariesProcessing.
File format/default:
ReconstructionFromMarkersProcessing {
| computeMode | MODE_AUTO |
| neighborhood3d | CONNECTIVITY_26 |
| inMaskImage | NULL |
| inMarkerImage | NULL |
Library references: reconstruct
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inMarkerImage
The binary marker image containing seeds for reconstruction.
|
SoSFImageDataAdapter |
inMaskImage
The binary mask image constraining reconstruction.
|
SoSFEnum<SoImageVizEngine.Neighborhood3ds> |
neighborhood3d
In 3D configuration (see
computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels. |
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoReconstructionFromMarkersProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFEnum<SoImageVizEngine.Neighborhood3ds> neighborhood3d
computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.
. Default is CONNECTIVITY_26.public final SoSFImageDataAdapter inMaskImage
public final SoSFImageDataAdapter inMarkerImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com