atan2_image🔗
Short description🔗
atan2_image — Calculate the arctangent of two images.
Signature🔗
atan2_image( image ImageY, image ImageX, out image ArctanImage )
Description🔗
atan2_image calculates the arctangent
\(\textrm{ImageY}/\textrm{ImageX}\) of the input images
ImageY and ImageX, using the signs of the gray
values of the two images to determine the quadrant of the result,
and stores the result in the image ArctanImage. The angles
in ArctanImage are represented in radians.
Attention🔗
atan2_image can be executed on an OpenCL device for int1,
int2, int4, and real images. Note that the results of the OpenCL
code may vary from the results produced by the CPU.
Execution information🔗
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🔗
ImageY (input_object) (multichannel-)image(-array) → object (int1* / int2* / int4* / int8 / real*) *allowed for compute devices
Input image 1.
ImageX (input_object) (multichannel-)image(-array) → object (int1 / int2 / int4 / int8 / real)
Input image 2.
ArctanImage (output_object) (multichannel-)image(-array) → object (real)
Output image.
Combinations with other operators🔗
Combinations
Alternatives
See also
Module🔗
Foundation