Click or drag to resize

IMcLookupTableReset Method

Reset the LUT settings.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Sub Reset ( 
	Optional mode As mcLutResetMode = mcLutResetMode.mclrmAll
)

Parameters

mode (Optional)
Type: MediaCy.IQL.EnginemcLutResetMode
Which settings to reset and how to do so. When the mode has either the mclrmBWBestFit or mclrmBWTrueRange bits set and this is the luminance lookup table for a color image, that is McLookupTables(0), the BlackLevel and WhiteLevel of all channels are set based luminance information from the image. The color channels may all be set to the extremal Black/White values found in all color channels; this is the default and it keeps the color balance between channels the same. If the mclrmLuminanceBW flag is Or'ed into the mode, then the best fit or absolute range computations are based on an monochrome average luminance from all channels; this also keeps the color balance between channels and usually provides a brighter display, but the brightest color channels may be over saturated in some areas. If the mclrmSeparateBW flag is Or'ed into the mode, then the best fit or absolute range computations are based separately on individual channel luminance values; each channel is then shown with its full range of luminance, but the color balance between channels may be distorted.
Remarks
If the Black/White Levels of the Luminance LUT (channel 0 LUT of a multi-channel McLookupTables) are being reset or set, then each color channel LUT is also reset or set (the mode mclrmSeparateBW and mclrmLuminanceBW flags determines how when setting Black/White Levels). If anything is changed, the Modified property will be left True after a McLookupTable.Reset call; this differs from the McLookupTables.Reset call, where a Realize is done automatically after the Reset. The parent McLookupTables.BestFitPercent, McLookupTables.BestFitBalance properties control the amount and balance of the excluded luminanace values when the mode parameter is mclrmBWBestFit.
See Also