public class SoMultiscaleStructureEnhancementProcessing3d extends SoImageVizEngine
SoMultiscaleStructureEnhancementProcessing2d engine
Overview
The purpose of this algorithm is to enhance structures of interest from an image using a multi scale analysis. The result of this algorithm is a score image that can be used with the goal of segmenting the input image.
The SoMultiscaleStructureEnhancement filters compute a score between 0 and 1 for each pixel, 1 representing a good matching with a structure model and 0 a background pixel. This provides a powerful technique for automatically identifying structures such as blood vessels. The score can be computed either on an Hessian matrix to detect ridge structures or on a Gradient tensor for object edges and corners. The structure models available are:
The principle of the algorithm can be summarized as follows :
The following publication describes this algorithm when applied to detect Rod structures with the Hessian matrix: A.F.Frangi, W.J.Niessen, K.L.Vincken, M.A.Viergever, "Multiscale vessel enhancement filtering", Lecture Notes in Computer Science(MICCAI), vol. 1496, pp. 130-137, 1998.
Tensor Extraction
2 modes are available for computing the tensor field; the GRADIENT mode and the HESSIAN mode. The first one is based on the gradient tensor the second one on the hessian matrix.
GRADIENT mode
In the GRADIENT mode, the gradient tensor is extracted. This tensor also referred to as structure tensor or second order moment matrix, is a matrix derived from the gradient of the image. This matrix summarizes the predominant directions of the gradient around the voxel of interest.
Where
is a gaussian kernel controlling the scale of analysis.
HESSIAN mode
In this mode, the tensor field is based on the extraction of the hessian matrix of the image. This hessian matrix is computed by filtering the image with the derivative of a gaussian kernel.The standard deviation of the kernel controls the scale of analysis.
Feature extraction
The parameter structureType controls the type of structure that is extracted from the tensor field(ROD/BALL/PLANE). The computation is based on eigen values
,
and
where
.
Let first introduce
, and
The first ratio attains its maximum for blob-like structure. The second ratio distinguishes plate-like and line-like structures.
The score for StructureType3D.ROD corresponds to :
The score for StructureType3D.BALL is computed as follow :
The score for StructureType3D.PLANE is computed as follow :
where
is the tensor norm
,
is a threshold which controls the flatness sensitivity,
is a threshold which controls the blobness sensitivity, and
is a sensitivity threshold which controls the noise influence.
with
the maximum Hessian norm in the image.
In the HESSIAN mode, the lightness parameter limits the feature extraction to dark or bright objects by analyzing the sign of eigenvalues. This parameter is ignored in GRADIENT mode where tensors are positive definite matrices.
See also:
SoMultiscaleStructureEnhancementProcessing2d.
File format/default:
MultiscaleStructureEnhancementProcessing3d {
| inImage | NULL |
| tensorType | HESSIAN |
| standardDeviationRange | 1.0f 3.0f |
| standardDeviationStep | 1.0f |
| lightness | BRIGHT |
| structureType | ROD |
Library references: structureenhancementfilter3d
| Modifier and Type | Class and Description |
|---|---|
static class |
SoMultiscaleStructureEnhancementProcessing3d.LightnessType |
static class |
SoMultiscaleStructureEnhancementProcessing3d.StructureTypes |
static class |
SoMultiscaleStructureEnhancementProcessing3d.TensorTypes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
static int |
BALL
Deprecated.
|
static int |
BRIGHT
Deprecated.
|
static int |
DARK
Deprecated.
|
static int |
GRADIENT
Deprecated.
|
static int |
HESSIAN
Deprecated.
|
SoSFImageDataAdapter |
inImage
Input image.
|
SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.LightnessType> |
lightness
The lightness type of structures to enhance.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
Output image.
|
static int |
PLANE
Deprecated.
|
static int |
ROD
Deprecated.
|
SoSFVec2f |
standardDeviationRange
Standard deviation of the Gaussian kernel at the minimum and maximum scale.
|
SoSFFloat |
standardDeviationStep
Standard deviation step.
|
SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.StructureTypes> |
structureType
Shape of structures to extract.
|
SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.TensorTypes> |
tensorType
Defines whether the command will use the gradient tensor or the hessian matrix.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoMultiscaleStructureEnhancementProcessing3d()
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, stopInternalThreads@Deprecated public static final int HESSIAN
SoMultiscaleStructureEnhancementProcessing3d.TensorTypes.HESSIAN instead.@Deprecated public static final int GRADIENT
SoMultiscaleStructureEnhancementProcessing3d.TensorTypes.GRADIENT instead.@Deprecated public static final int BRIGHT
SoMultiscaleStructureEnhancementProcessing3d.LightnessType.BRIGHT instead.@Deprecated public static final int DARK
SoMultiscaleStructureEnhancementProcessing3d.LightnessType.DARK instead.@Deprecated public static final int ROD
SoMultiscaleStructureEnhancementProcessing3d.StructureTypes.ROD instead.@Deprecated public static final int BALL
SoMultiscaleStructureEnhancementProcessing3d.StructureTypes.BALL instead.@Deprecated public static final int PLANE
SoMultiscaleStructureEnhancementProcessing3d.StructureTypes.PLANE instead.public final SoSFImageDataAdapter inImage
public final SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.TensorTypes> tensorType
public final SoSFVec2f standardDeviationRange
SbVec2f(1.0f,3.0f).public final SoSFFloat standardDeviationStep
public final SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.LightnessType> lightness
public final SoSFEnum<SoMultiscaleStructureEnhancementProcessing3d.StructureTypes> structureType
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com