atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image (算子名称)
名称
atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image
— Calculate the arctangent of two images.
参数签名
描述
atan2_imageatan2_imageAtan2ImageAtan2ImageAtan2Imageatan2_image
calculates the arctangent
ImageYImageYImageYImageYimageYimage_y
/ImageXImageXImageXImageXimageXimage_x
of the input images
ImageYImageYImageYImageYimageYimage_y
and ImageXImageXImageXImageXimageXimage_x
, 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 ArctanImageArctanImageArctanImageArctanImagearctanImagearctan_image
. The angles
in ArctanImageArctanImageArctanImageArctanImagearctanImagearctan_image
are represented in radians.
注意
atan2_imageatan2_imageAtan2ImageAtan2ImageAtan2Imageatan2_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.
运行信息
- 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.
参数表
ImageYImageYImageYImageYimageYimage_y
(input_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject (int1* / int2* / int4* / int8 / real*) *allowed for compute devices
Input image 1.
ImageXImageXImageXImageXimageXimage_x
(input_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject (int1 / int2 / int4 / int8 / real)
Input image 2.
ArctanImageArctanImageArctanImageArctanImagearctanImagearctan_image
(output_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject * (real)
Output image.
可替代算子
atan_imageatan_imageAtanImageAtanImageAtanImageatan_image
参考其它
acos_imageacos_imageAcosImageAcosImageAcosImageacos_image
,
asin_imageasin_imageAsinImageAsinImageAsinImageasin_image
,
tan_imagetan_imageTanImageTanImageTanImagetan_image
,
sin_imagesin_imageSinImageSinImageSinImagesin_image
,
cos_imagecos_imageCosImageCosImageCosImagecos_image
模块
Foundation