log_image — Calculate the logarithm of an image.
log_image calculates the logarithm to the base Base of an input image Image and stores the result in the image LogImage. If Image contains gray values outside the valid domain of the logarithm function, i.e., <= 0, the corresponding gray values in LogImage are set to 0.
log_image 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.
Base of the logarithm.
Default value: 'e'
Suggested values: 'e', 2, 10