IMcIntensityCalibLut Property
|
|
Get the calibration response LUT
Namespace:
MediaCy.IQL.Calibrations
Assembly:
MediaCy.IQL.Calibrations (in MediaCy.IQL.Calibrations.dll) Version: 10.0.6912.0
SyntaxProperty Lut (
Optional Index As Integer = -1
) As Object
Get
Set
Parameters
- Index (Optional)
- Type: SystemInt32
An index of -1 for the whole LUT, or 0 to LutCount-1 for a single value.
Property Value
Type:
Object
RemarksThe calibration response LUT is used to lookup calibrated values given
gray levels. For gray levels that fall between LUT entries, the program
linearly interpolates the value.
An assignment to the property with the Index argument -1 must supply
an array of LutCount numeric values. Any assignment changes the
Type to mcitLUT.
All three types above use a LUT contains N double floating point values
that map gray levels into calibrated values as follow:
CI(x,y) = (k - ki) * (LUT[ki+1] - LUT[ki]) + LUT[ki]
where CI(x,y) and I(x,y) are the calibrated intensity value and gray level
at pixel(x,y), k = (I(x,y) - InputMin) * (N - 1) / (InputMax - InputMin),
ki = integer value of k, InputMin and InputMax are user defined values
that specify the range of gray levels mapped by the calibration LUT.
See Also