Impact Acquire SDK .NET
|
Properties for configuring settings belonging to a certain LUT (Look Up Table) to be applied to a captured image. More...
Public Member Functions | |
IEnumerable< T > | getEnumerable< T > () |
Returns an enumerator of a certain type that iterates through the collection. | |
IEnumerator< int > | GetEnumerator () |
Returns an enumerator that iterates through the collection. | |
void | restoreDefault () |
Restores the default for every component of this collection. | |
Public Attributes | |
readonly PropertyI | directValues = new PropertyI() |
An integer property which can be used to directly define a LUT. | |
readonly PropertyF | gamma = new PropertyF() |
A float property which can be used to set the gamma value. | |
readonly PropertyF | gammaAlpha = new PropertyF() |
A float property which can be used to set the gammaAlpha value. | |
readonly PropertyIBoolean | gammaInverter = new PropertyIBoolean() |
An enumerated integer property defining whether the calculated gamma correction function shall be inverted or not. | |
readonly EnumPropertyI< TLUTGammaMode > | gammaMode = new EnumPropertyI<TLUTGammaMode>() |
An enumerated integer property which can be used to configure the LUT(Look Up Table) gamma mode. | |
readonly PropertyI | gammaStartThreshold = new PropertyI() |
An integer property which can be used to define a start threshold above which the gamma correction formula shall be used in mv.impact.acquire.LUTParameters.gammaMode mv.impact.acquire.TLUTGammaMode.LUTgmLinearStart. | |
readonly PropertyI | inputValues = new PropertyI() |
An integer property to define the input values for sampling points for interpolated LUT transformations. | |
readonly PropertyI | outputValues = new PropertyI() |
An integer property to define the output values for sampling points for interpolated LUT transformations. | |
readonly PropertyI | valueCount = new PropertyI() |
An integer property to define the number of sampling points for interpolated LUT transformations. | |
Properties | |
IEnumerable< Component > | componentEnumerable [get] |
Returns an enumerator that iterates through the collection. | |
IEnumerable< ComponentList > | componentListEnumerable [get] |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection. | |
int | hObj [get] |
Returns a unique identifier for the component collection referenced by this object. | |
Properties for configuring settings belonging to a certain LUT (Look Up Table) to be applied to a captured image.
|
inlineinherited |
Returns an enumerator of a certain type that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Returns an enumerator that iterates through the collection.
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
inlineinherited |
Restores the default for every component of this collection.
Calling this function will restore the default value for every component belonging to this collection.
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.
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:
A float property which can be used to set the gammaAlpha value.
Refer to mv.impact.acquire.LUTParameters.gamma to see how this parameter affects the resulting LUT data.
readonly PropertyIBoolean gammaInverter = new PropertyIBoolean() |
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 mv.impact.acquire.TBoolean.
readonly EnumPropertyI<TLUTGammaMode> gammaMode = new EnumPropertyI<TLUTGammaMode>() |
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 mv.impact.acquire.TLUTGammaMode.
An integer property which can be used to define a start threshold above which the gamma correction formula shall be used in mv.impact.acquire.LUTParameters.gammaMode mv.impact.acquire.TLUTGammaMode.LUTgmLinearStart.
Values below that threshold will be calculated using linear interpolation.
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 mv.impact.acquire.LUTParameters.valueCount. The documentation of this property also provides some example values and resulting transfer characteristics.
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 mv.impact.acquire.LUTParameters.valueCount. The documentation of this property also provides some example values and resulting transfer characteristics.
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 mv.impact.acquire.ImageProcessing.LUTMode set to mv.impact.acquire.TLUTMode.LUTmDirect.
Example
Assuming 4 sampling points in mv.impact.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:
The following code would be needed to achieve this behaviour for mono video sources:
Assuming 3 sampling points in mv.impact.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 mv.impact.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:
|
getinherited |
Returns an enumerator that iterates through the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns an enumerator that iterates through all the mv.impact.acquire.ComponentList elements in the collection.
This interface will allow to e.g. write code like this:
See the framework's documentation about the System.Collections.IEnumerable interface for more information.
|
getinherited |
Returns a unique identifier for the component collection referenced by this object.
This handle will always reference an object of type mv.impact.acquire.ComponentList.