atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image (Operator)

Name

atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image — Calculate the arctangent of two images.

Signature

atan2_image(ImageY, ImageX : ArctanImage : : )

Herror atan2_image(const Hobject ImageY, const Hobject ImageX, Hobject* ArctanImage)

Herror T_atan2_image(const Hobject ImageY, const Hobject ImageX, Hobject* ArctanImage)

void Atan2Image(const HObject& ImageY, const HObject& ImageX, HObject* ArctanImage)

HImage HImage::Atan2Image(const HImage& ImageX) const

static void HOperatorSet.Atan2Image(HObject imageY, HObject imageX, out HObject arctanImage)

HImage HImage.Atan2Image(HImage imageX)

def atan2_image(image_y: HObject, image_x: HObject) -> HObject

Description

atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image calculates the arctangent ImageYImageYImageYimageYimage_y/ImageXImageXImageXimageXimage_x of the input images ImageYImageYImageYimageYimage_y and ImageXImageXImageXimageXimage_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 ArctanImageArctanImageArctanImagearctanImagearctan_image. The angles in ArctanImageArctanImageArctanImagearctanImagearctan_image are represented in radians.

Attention

atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_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

Parameters

ImageYImageYImageYimageYimage_y (input_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject (int1* / int2* / int4* / int8 / real*) *allowed for compute devices

Input image 1.

ImageXImageXImageXimageXimage_x (input_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject (int1 / int2 / int4 / int8 / real)

Input image 2.

ArctanImageArctanImageArctanImagearctanImagearctan_image (output_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject * (real)

Output image.

Alternatives

atan_imageatan_imageAtanImageAtanImageatan_image

See also

acos_imageacos_imageAcosImageAcosImageacos_image, asin_imageasin_imageAsinImageAsinImageasin_image, tan_imagetan_imageTanImageTanImagetan_image, sin_imagesin_imageSinImageSinImagesin_image, cos_imagecos_imageCosImageCosImagecos_image

Module

Foundation