IMcLookupTablesReset Method
|
|
Reset the LUT settings for all of the LUTs in the collection
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxSub 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 for a color image, 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. Or in the mclrmNoResetDisplayTint flag to
avoid resetting IMcLookupTablesEx.DisplayTint.
RemarksIf the Black/White Levels of a multi-channel McLookupTables
collectionare being reset or set, then each color channel LUT is also reset or
set (the mode mclrmSeparateBW and mclrmLuminanceBW flags determine how when
setting Black/White Levels). Realize is done automatically after the Reset;
this behavior differs from calling individual McLookupTable.Reset methods, where
Realize is not called automatically.
The McLookupTables.BestFitPercent, McLookupTables.BestFitBalance properties
control the amount and balance of the excluded luminanace values when the
mode parameter is mclrmBWBestFit.
See AlsoReference
BestFitPercent
BestFitBalance