log_image log_image LogImage LogImage (Operator)
Name
log_image log_image LogImage LogImage
— Calculate the logarithm of an image.
Signature
Description
log_image log_image LogImage LogImage LogImage
calculates the logarithm to the base Base Base Base Base baseVal
of an input image Image Image Image Image image
and stores the result in the image
LogImage LogImage LogImage LogImage logImage
. If Image Image Image Image image
contains gray values outside
the valid domain of the logarithm function, i.e.,
,
the corresponding gray values in LogImage LogImage LogImage LogImage logImage
are set to 0.
Attention
log_image log_image LogImage LogImage LogImage
can be executed on an OpenCL device for byte,
int1, int2, uint2, int4, and real images. Note that the results of
the OpenCL code may vary from the results produced by the CPU.
Execution Information
Supports OpenCL compute devices.
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Automatically parallelized on tuple level.
Automatically parallelized on channel level.
Automatically parallelized on domain level.
Parameters
Image Image Image Image image
(input_object) (multichannel-)image(-array) →
object HImage HImage Hobject (byte* / int1* / uint2* / int2* / int4* / int8 / real*) *allowed for compute devices
Input image.
LogImage LogImage LogImage LogImage logImage
(output_object) (multichannel-)image(-array) →
object HImage HImage Hobject * (real)
Output image.
Base Base Base Base baseVal
(input_control) number →
HTuple HTuple Htuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)
Base of the logarithm.
Default value:
'e'
"e"
"e"
"e"
"e"
Suggested values: 'e' "e" "e" "e" "e" , 2, 10
See also
pow_image pow_image PowImage PowImage PowImage
,
exp_image exp_image ExpImage ExpImage ExpImage
Module
Foundation