Class SoEigenvaluesToStructurenessProcessing2d
- 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.SoEigenvaluesToStructurenessProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoEigenvaluesToStructurenessProcessing2d extends SoImageVizEngine
SoEigenvaluesToStructurenessProcessing2d
engine computes a structure score image. It allows to extract tubular or blob-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 :
where is the Hessian norm ,
is a threshold which controls the blobness sensitivity,
and c is a sensitivity threshold wich 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 engine provides output float grayscale image where each voxel intensity represents a structure score.
File format/default:
EigenvaluesToStructurenessProcessing2d {
inEigenvaluesImage NULL lightness BRIGHT structureType ROD beta 0.75f noiseCutoff 0.5f
Library references: EigenvaluesToStructureness2d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoEigenvaluesToStructurenessProcessing2d.LightnessType
static class
SoEigenvaluesToStructurenessProcessing2d.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
beta
Blobness sensitivity threshold.SoSFImageDataAdapter
inEigenvaluesImage
Image containing input eigenvalues field.SoSFEnum<SoEigenvaluesToStructurenessProcessing2d.LightnessType>
lightness
The type of structure lightness to extract.SoSFFloat
noiseCutoff
Noise scale factor.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Output image.SoSFEnum<SoEigenvaluesToStructurenessProcessing2d.StructureTypes>
structureType
Shape of structures 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 SoEigenvaluesToStructurenessProcessing2d()
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 2 (channel 0 = largest Eigen value, channel 1 = smallest Eigen value). Default value is NULL. Supported types include: grayscale color image.
-
lightness
public final SoSFEnum<SoEigenvaluesToStructurenessProcessing2d.LightnessType> lightness
The type of structure lightness to extract. . Default is BRIGHT
-
structureType
public final SoSFEnum<SoEigenvaluesToStructurenessProcessing2d.StructureTypes> structureType
Shape of structures to extract. . Default is ROD
-
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 and interpretation of the ouput image are forced to the same values as the input. Type is forced to float. All values are between 0 and 1. Default value is NULL. Supported types include: grayscale binary label color image.
-
-