Impact Acquire SDK Java
|
Properties for configuring settings belonging to a certain LUT (Look Up Table) to be applied to a captured image. More...
Public Member Functions | |
synchronized void | delete () |
PropertyI | getDirectValues () |
An integer property which can be used to directly define a LUT. | |
PropertyF | getGamma () |
A float property which can be used to set the gamma value. | |
PropertyF | getGammaAlpha () |
A float property which can be used to set the gammaAlpha value. | |
PropertyI | getGammaInverter () |
An enumerated integer property defining whether the calculated gamma correction function shall be inverted or not. | |
PropertyI | getGammaMode () |
An enumerated integer property which can be used to configure the LUT(Look Up Table) gamma mode. | |
PropertyI | getGammaStartThreshold () |
An integer property which can be used to define a start threshold above which the gamma correction formula shall be used in mvIMPACT.acquire.LUTParameters.getGammaMode() mvIMPACT.acquire.TLUTGammaMode.LUTgmLinearStart. | |
PropertyI | getInputValues () |
An integer property to define the input values for sampling points for interpolated LUT transformations. | |
PropertyI | getOutputValues () |
An integer property to define the output values for sampling points for interpolated LUT transformations. | |
PropertyI | getValueCount () |
An integer property to define the number of sampling points for interpolated LUT transformations. | |
int | hObj () |
Returns a unique identifier for the component collection referenced by this object. | |
ComponentCollection | restoreDefault () |
Restores the default for every component of this collection. | |
Protected Member Functions | |
void | finalize () |
LUTParameters (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (ComponentCollection obj) |
static long | swigRelease (LUTParameters obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Properties for configuring settings belonging to a certain LUT (Look Up Table) to be applied to a captured image.
|
protected |
synchronized void delete | ( | ) |
Reimplemented from ComponentCollection.
|
protected |
Reimplemented from ComponentCollection.
PropertyI getDirectValues | ( | ) |
An integer property which can be used to directly define a LUT.
This property will provide a complete LUT thus e.g. in a LUT mapping to a 10 bit output this property will store 2^10 (1024) values that can be accessed and modified by the user.
PropertyF getGamma | ( | ) |
A float property which can be used to set the gamma value.
Gamma correction is explained e.g. in this Wikipedia article: http://en.wikipedia.org/wiki/Gamma_correction.
The gamma value will be used to calculate the corresponding input -> output transformation LUT.
The following formula will be used:
PropertyF getGammaAlpha | ( | ) |
A float property which can be used to set the gammaAlpha value.
Refer to mvIMPACT.acquire.LUTParameters.getGamma() to see how this parameter affects the resulting LUT data.
PropertyI getGammaInverter | ( | ) |
An enumerated integer property defining whether the calculated gamma correction function shall be inverted or not.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TBoolean.
PropertyI getGammaMode | ( | ) |
An enumerated integer property which can be used to configure the LUT(Look Up Table) gamma mode.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TLUTGammaMode.
PropertyI getGammaStartThreshold | ( | ) |
An integer property which can be used to define a start threshold above which the gamma correction formula shall be used in mvIMPACT.acquire.LUTParameters.getGammaMode() mvIMPACT.acquire.TLUTGammaMode.LUTgmLinearStart.
Values below that threshold will be calculated using linear interpolation.
PropertyI getInputValues | ( | ) |
An integer property to define the input values for sampling points for interpolated LUT transformations.
The number of values stored by this property can be changed by writing to the property mvIMPACT.acquire.LUTParameters.getValueCount(). The documentation of this property also provides some example values and resulting transfer characteristics.
PropertyI getOutputValues | ( | ) |
An integer property to define the output values for sampling points for interpolated LUT transformations.
The number of values stored by this property can be changed by writing to the property mvIMPACT.acquire.LUTParameters.getValueCount(). The documentation of this property also provides some example values and resulting transfer characteristics.
PropertyI getValueCount | ( | ) |
An integer property to define the number of sampling points for interpolated LUT transformations.
At least 2 sampling points are needed, the max. number of sampling points is defined by the bit depth of the input image, thus a 8 bit input image can have no more than 2^8 (256) sampling points. if the max. number of sampling points is used, the behaviour is the same a when working with mvIMPACT.acquire.ImageProcessing.getLUTMode() set to mvIMPACT.acquire.TLUTMode.LUTmDirect.
EXAMPLE
Assuming 4 sampling points in mvIMPACT.acquire.TLUTInterpolationMode.LUTimThreshold mode for an 8 to 8 bit transformation where the following values are used:
index | input value | output value |
0 | 0 | 64 |
1 | 128 | 255 |
2 | 192 | 0 |
3 | 255 | 0 |
This will result in the following transfer function characteristic:
Assuming 3 sampling points in mvIMPACT.acquire.TLUTInterpolationMode.LUTimLinear mode for an 8 to 8 bit transformation where the following values are used:
index | input value | output value |
0 | 0 | 64 |
1 | 128 | 255 |
2 | 255 | 0 |
This will result in the following transfer function characteristic:
Assuming 4 sampling points in mvIMPACT.acquire.TLUTInterpolationMode.LUTimCubic mode for an 8 to 8 bit transformation where the following values are used:
index | input value | output value |
0 | 0 | 0 |
1 | 128 | 255 |
2 | 192 | 192 |
3 | 255 | 0 |
This will result in the following transfer function characteristic:
|
inherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mvIMPACT.acquire.ComponentList.
|
inherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
|
staticprotectedinherited |
|
staticprotected |
|
protectedinherited |