IMcOperations2Log Method
|
|
Performs an arithmetic Natural Logarithm operation on an image.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxFunction Log (
<OptionalAttribute> ScaleOffset As Object,
<OptionalAttribute> vSourceImg As Object
) As McImage
Parameters
- ScaleOffset (Optional)
- Type: SystemObject
If given, a single value or an array of N-channels values that
is used to scale the result before storing the operation result. If a
single value is supplied, then that value is used to scale all channels; if
an array is supplied each value in the array is used to scale the result for
the corresponding color channel. If not given, no scaling is done. A
scaling value of zero is ignored, so that no scaling of the result is done. - vSourceImg (Optional)
- Type: SystemObject
Optional source image, operator applies to parent image
when parameter is omitted.
Return Value
Type:
McImageThe result McImage.
RemarksEach source pixel channel X is replaced by Ln(X) * ScaleOffset.
Pixel values less than or equal to zero are assigned the destination
McImage.RangeMin value.
The result is stored in the parent image or vSourceImg if there is no parent.
For floating point image types, the stored results may exceed the bounds
of the current destination McImage.RangeMin to McImage.RangeMax. These
range properties are not changed automatically.
See Also