Class SoEigenvaluesToStructurenessProcessing3d
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.edgedetection.edgemarking.SoEigenvaluesToStructurenessProcessing3d
-
- All Implemented Interfaces:
SafeDisposable
public class SoEigenvaluesToStructurenessProcessing3d extends SoImageVizEngine
SoEigenvaluesToStructurenessProcessing3d
engine computes a structure score image. It allows to extract tubular, blob-like and plate-like structures from dark or bright background.The computation is based on eigen values , and where .
The structure score for bright tubular structures corresponds to :
and the score for bright blob-like structures is computed as follow :
and the score for bright plate-like structures is computed as follow :
where is the Hessian norm
is a threshold which controls the flatness sensitivity, is a threshold which controls the blobness sensitivity, and c is a sensitivity threshold which controls the noise influence. with the maximum Hessian norm in the image.
For dark objects the conditions on , and are reversed.
The method is referenced by Frangi publication :
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.This filter provides output float grayscale image where each voxel intensity represents a structure score.
File format/default:
EigenvaluesToStructurenessProcessing3d {
inEigenvaluesImage NULL lightness BRIGHT structureType ROD alpha 0.75f beta 0.75f noiseCutoff 0.5f
Library references: EigenvaluesToStructureness3d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoEigenvaluesToStructurenessProcessing3d.LightnessType
static class
SoEigenvaluesToStructurenessProcessing3d.StructureTypes
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFFloat
alpha
Flatness sensitivity threshold.SoSFFloat
beta
Blobness sensitivity threshold.SoSFImageDataAdapter
inEigenvaluesImage
Image containing input eigenvalues field.SoSFEnum<SoEigenvaluesToStructurenessProcessing3d.LightnessType>
lightness
The type of structure lightness to extract.SoSFFloat
noiseCutoff
Noise scale factor.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output image.SoSFEnum<SoEigenvaluesToStructurenessProcessing3d.StructureTypes>
structureType
The type of structure lightness to extract.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoEigenvaluesToStructurenessProcessing3d()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
inEigenvaluesImage
public final SoSFImageDataAdapter inEigenvaluesImage
Image containing input eigenvalues field. Type must be float.Spectral series size is 3:
- channel 0 = largest Eigen value ( ),
- channel 1 = medium Eigen value ( ).
- channel 2 = smallest Eigen value ( ). Default value is NULL. Supported types include: grayscale color image.
-
lightness
public final SoSFEnum<SoEigenvaluesToStructurenessProcessing3d.LightnessType> lightness
The type of structure lightness to extract. . Default is BRIGHT
-
structureType
public final SoSFEnum<SoEigenvaluesToStructurenessProcessing3d.StructureTypes> structureType
The type of structure lightness to extract. . Default is ROD
-
alpha
public final SoSFFloat alpha
Flatness sensitivity threshold. It corresponds to the term of the score equation. Default value is 0.75f.
-
beta
public final SoSFFloat beta
Blobness sensitivity threshold. It corresponds to the term of the score equation. Default value is 0.75f.
-
noiseCutoff
public final SoSFFloat noiseCutoff
Noise scale factor. It is used for computing the c term of the score equation. Default value is 0.5f.
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Output image. Size (except spectral series, only one), calibration, type and interpretation of the outImage image are forced to the same values asinEigenvaluesImage
. All values are between 0 and 1. Default value is NULL. Supported types include: grayscale binary label color image.
-
-