Class SoEigenDecompositionProcessing2d
- 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.arithmeticandlogic.arithmeticoperations.SoEigenDecompositionProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoEigenDecompositionProcessing2d extends SoImageVizEngine
TheSoEigenDecompositionProcessing2d
engine computes the local eigenvectors and eigenvalues of a 2D matrix image. The input image must have three channels, where each channel contains one of the unique components of a 2x2 symmetric matrix. (The redundant fourth component is not necessary.) This engine creates output images containing the eigenvectors and/or eigenvalues of the input matrix image.Let be the matrix at position .
,
and ,
where is the spectral component value at the spatial position .
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoEigenDecompositionProcessing2d.OutputSelections
This enum defines the different outputs that can be selected.-
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 SoSFImageDataAdapter
inSymmetricMatrixImage
A matrix image containing symmetric 2x2 matrices.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outEigenValuesImage
Eigenvalues image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outEigenVector1Image
Eigenvector image containing the largest eigen value.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outEigenVector2Image
Eigenvector image containing the smallest eigen value.SoSFBitMask<SoEigenDecompositionProcessing2d.OutputSelections>
outputSelection
Enable computation of selected outputs.-
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 SoEigenDecompositionProcessing2d()
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
-
inSymmetricMatrixImage
public final SoSFImageDataAdapter inSymmetricMatrixImage
A matrix image containing symmetric 2x2 matrices. The image type must be float. The number of channels must be 3 in the following order: where is a symmetric matrix.
Default value is NULL. Supported types include: grayscale color image.
-
outputSelection
public final SoSFBitMask<SoEigenDecompositionProcessing2d.OutputSelections> outputSelection
Enable computation of selected outputs. . Default is EIGEN_VECTOR_1 | EIGEN_VECTOR_2 | EIGEN_VALUES
-
outEigenVector1Image
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outEigenVector1Image
Eigenvector image containing the largest eigen value. The IJK dimensions of the output image are the same as the input but the number of channels is 2 (channel 0 = x, channel 1 = y). The calibration (voxel size, origin, orientation) is forced to the same values as the input. The voxel type is forced to float. Default value is NULL. Supported types include: grayscale binary label image.
-
outEigenVector2Image
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outEigenVector2Image
Eigenvector image containing the smallest eigen value. The IJK dimensions of the output image are the same as the input but the number of channels is 2 (channel 0 = x, channel 1 = y). The calibration (voxel size, origin, orientation) is forced to the same values as the input. The voxel type is forced to float. Default value is NULL. Supported types include: grayscale binary label image.
-
outEigenValuesImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outEigenValuesImage
Eigenvalues image. The IJK dimensions of the output image are the same as the input but the number of channels is 2 (channel 0 = largest Eigen value, channel 1 = smallest Eigen value). The calibration (voxel size, origin, orientation) is forced to the same values as the input. The voxel type is forced to float. Default value is NULL. Supported types include: grayscale binary label color image.
-
-