public class SoRescaleIntensityProcessing extends SoImageVizEngine
SoRescaleIntensityProcessing engine
The SoRescaleIntensityProcessing engine performs a linear scaling of the gray level values of an image.
This engine performs a linear scaling of the gray level values of an image to a user-specified interval. It may be applied to images with a gray level range other than [0, 255], and for short or floating point images. In Figure , the input gray levels of interest are in the user-specified interval [a, b], and the output range is the interval [c, d].
The input image is I, and the output image is O. Let [a, b] be the input range and [c, d] the output range, then:
See also:
SoMatchContrastProcessing, SoBackgroundImageProcessing2d, SoMathematicalFunctionProcessing.
File format/default:
RescaleIntensityProcessing {
| computeMode | MODE_AUTO |
| inImage | NULL |
| rangeMode | MIN_MAX |
| intensityRangeInput | 0.0f 255.0f |
| intensityRangeOutput | 0.0f 255.0f |
Library references: normalize
| Modifier and Type | Class and Description |
|---|---|
static class |
SoRescaleIntensityProcessing.RangeModes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoSFVec2f |
intensityRangeInput
The input intensity range.
|
SoSFVec2f |
intensityRangeOutput
The output intensity range.
|
static int |
MIN_MAX
Deprecated.
Use
SoRescaleIntensityProcessing.RangeModes.MIN_MAX instead. |
static int |
OTHER
Deprecated.
Use
SoRescaleIntensityProcessing.RangeModes.OTHER instead. |
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
SoSFEnum<SoRescaleIntensityProcessing.RangeModes> |
rangeMode
Select the input intensity range mode.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoRescaleIntensityProcessing()
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 MIN_MAX
SoRescaleIntensityProcessing.RangeModes.MIN_MAX instead.@Deprecated public static final int OTHER
SoRescaleIntensityProcessing.RangeModes.OTHER instead.public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFEnum<SoRescaleIntensityProcessing.RangeModes> rangeMode
public final SoSFVec2f intensityRangeInput
SbVec2f(0.0f,255.0f).public final SoSFVec2f intensityRangeOutput
SbVec2f(0.0f,255.0f).public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com