IMcOperationsConversion Property
|
|
Read/write property exposing the conversion method used for certain
operations when operand images need to be converted.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxProperty Conversion As mcConversionMode
Get
Set
Property Value
Type:
mcConversionMode
RemarksFor new applications it is recommended that you use AddEx,
SubEx, DiffEx, MultEx, DivEx and Div2Ex, for which the mcConversionMode is
passed as an argument and this Conversion property has no effect.
For other operations, if the operation will apply to two images, and the images
are not of the same bit-depth (as described by the image's %McImage~Type%), then the
right-hand operand image will be converted to the type of the destination image
prior to the operation.
This property specifies if pixel conversions should scale the right-hand pixels
to match the destination bit-depth (mccmScale) or should use the right-hand
pixel values without scaling (mccmDirect). The initial state of the Conversion
property is mccmScale, which is usually appropriate for Avg, Min, Max and all of
the logical operations (And, Or, Xor, etcetera). For the binary arithmetic
operations, mccmDirect is usually needed, and this is the default for the
ConversionMode argument for the AddEx, SubEx, DiffEx, MultEx, DivEx and Div2Ex
operations.
The ResetProperties method resets the Conversion property to mccmScale.
See Also