cos_imagecos_imageCosImageCosImagecos_image (Operator)

Name

cos_imagecos_imageCosImageCosImagecos_image — Calculate the cosine of an image.

Signature

cos_image(Image : CosImage : : )

Herror cos_image(const Hobject Image, Hobject* CosImage)

Herror T_cos_image(const Hobject Image, Hobject* CosImage)

void CosImage(const HObject& Image, HObject* CosImage)

HImage HImage::CosImage() const

static void HOperatorSet.CosImage(HObject image, out HObject cosImage)

HImage HImage.CosImage()

def cos_image(image: HObject) -> HObject

Description

cos_imagecos_imageCosImageCosImagecos_image calculates the cosine of an input image ImageImageImageimageimage and stores the result in the image CosImageCosImageCosImagecosImagecos_image of type real. If ImageImageImageimageimage is of type direction or cyclic, the angles in ImageImageImageimageimage are converted to radians internally. If ImageImageImageimageimage is of type real, the angles in ImageImageImageimageimage are assumed to be represented in radians. For direction images, the value of 255 will result in a value of 0 in the output image.

Attention

cos_imagecos_imageCosImageCosImagecos_image can be executed on OpenCL devices.

Execution Information

Parameters

ImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject (direction* / cyclic* / real*) *allowed for compute devices

Input image.

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

Output image.

See also

sin_imagesin_imageSinImageSinImagesin_image, tan_imagetan_imageTanImageTanImagetan_image, asin_imageasin_imageAsinImageAsinImageasin_image, acos_imageacos_imageAcosImageAcosImageacos_image, atan_imageatan_imageAtanImageAtanImageatan_image, atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image

Module

Foundation