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
SyntaxPublic Enumeration mcViewBlendStyle
Members
| Member name | Value | Description |
---|
| mvbsUseSettings | -1 | This 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"). |
| mvbsNormal | 0 | The 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"). |
| mvbsLighter | 1 | Blending 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. |
| mvbsDarker | 2 | Blending 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. |
| mvbsMaskBySourceAoi | 4 | If set, pixels are only blended if theyare within the BlendingImage's AOI. |
| mvbsMaskByDestAoi | 8 | If set, pixels are only blended if theyare within the ImageToDisplay's AOI. |
| mvbsBlendUsesSourceLUT | 16 | If 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. |
| mvbsBlendUsesDestLUT | 32 | If 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). |
RemarksThese 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