Class SoShadingCorrectionProcessing
- 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.imagefiltering.grayscaletransforms.SoShadingCorrectionProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoShadingCorrectionProcessing extends SoImageVizEngine
SoShadingCorrectionProcessing
engine. TheSoShadingCorrectionProcessing
engine corrects the shading.This engine is bound to correct the shading, that is to say the lighting standardisation. It is an histogram spreading performed pixel by pixel. The process needs a white and a black reference for each pixel to apply the right correction.
Where
is the normalization factor, usually equals to 255.
-
-
Nested Class Summary
-
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
inBlackReferenceImage
The input black reference image.SoSFImageDataAdapter
inImage
The input image.SoSFImageDataAdapter
inWhiteReferenceImage
The input white reference image.SoSFFloat
normalizationFactor
The normalization factor.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.-
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 SoShadingCorrectionProcessing()
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
-
inImage
public final SoSFImageDataAdapter inImage
The input image. Default value is NULL. Supported types include: grayscale binary label color image.
-
inBlackReferenceImage
public final SoSFImageDataAdapter inBlackReferenceImage
The input black reference image. This parameter is optional. Default value is NULL. Supported types include: grayscale binary label color image.
-
inWhiteReferenceImage
public final SoSFImageDataAdapter inWhiteReferenceImage
The input white reference image. This parameter is optional. Default value is NULL. Supported types include: grayscale binary label color image.
-
normalizationFactor
public final SoSFFloat normalizationFactor
The normalization factor. Default value is 200.0f.
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-