Click or drag to resize

mcViewBlendStyle Enumeration

Flags for the McDisplay.BlendingStyle property and also for theMcDisplay.EditPasteAoi BlendOptionFlags argument.

Namespace:  MediaCy.IQL.Display.Viewer
Assembly:  MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcViewBlendStyle
Members
  Member nameValueDescription
mvbsUseSettings-1This value is legal only for theMcDisplay.EditPasteAoi BlendOptionFlags argument. When it is given as the BlendOptionFlags argument, then blend style values are determined from the settings saved by Application.CommandDialogs("Preferences").Pages("PasteOptions").
mvbsNormal0The blending formula is used for allpixels in the BlendingImage that intersect the ImageToDisplay. No LUT is applied to the BlendingImage when getting the RGB display values. When used as the McDisplay.EditPasteAoi BlendOptionFlags argument, then values for the BlendOptionFlags are determined from the settings saved by Application.CommandDialogs("Preferences").Pages("PasteOptions").
mvbsLighter1Blending only occurs if anImageToDisplay pixel is brighter than the coresponding BlendingImage pixel. The comparison is done on the luminance channel if there is one (e.g., for monochrome or HSI image types, or by averaging all color channels (e.g., for RGB images). Note however that the blending for display is done on the RGB display intensities of both the BlendingImage and the ImageToDisplay.
mvbsDarker2Blending only occurs if anImageToDisplay pixel is darker than the coresponding BlendingImage pixel. The comparison is done on the luminance channel if there is one (e.g., for monochrome or HSI image types, or by averaging all color channels (e.g., for RGB images). Note however that the blending for display is done on the RGB display intensities of both the BlendingImage and the ImageToDisplay.
mvbsMaskBySourceAoi4If set, pixels are only blended if theyare within the BlendingImage's AOI.
mvbsMaskByDestAoi8If set, pixels are only blended if theyare within the ImageToDisplay's AOI.
mvbsBlendUsesSourceLUT16If set, the BlendingImage's LookupTableproperty is used to get the LUT for the RGB display values. Use this flag (or the default of no LUT) if the blend is being used to align images that will stay separate.
mvbsBlendUsesDestLUT32If set, whatever LUT is being applied tothe ImageToDisplay when getting the RGB display values is also used for getting the BlendingImage's RGB display values. Use this flag, if the blend is being used to align a source image that will be combined with the destination ImageToDisplay (e.g., as in a preview of an Edit Paste operation).
Remarks
These flags may be Or'ed together to control the technique used to visually merge a BlendingImage with the ImageToDisplay. Generally, both images are averaged together, based on the IMcDisplay.BlendingFactor property. The basic formula used is: ((ImageToDisplay * (100 - Factor)) + (BlendingImage * Factor)), where ImageToDisplay and BlendingImage represent the RGB display intensities for these images after being passed through any display LUT's. Whenever blending is done on a pixel, the same blending formula is used, but the BlendingStyle flags control which pixels are blended and also what LUT, if any, should be used to get the BlendingImage RGB display triplet.
See Also