Operator Reference

tan_imagetan_imageTanImageTanImagetan_image (Operator)

tan_imagetan_imageTanImageTanImagetan_image — Calculate the tangent of an image.

Signature

tan_image(Image : TanImage : : )

Herror tan_image(const Hobject Image, Hobject* TanImage)

Herror T_tan_image(const Hobject Image, Hobject* TanImage)

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

HImage HImage::TanImage() const

static void HOperatorSet.TanImage(HObject image, out HObject tanImage)

HImage HImage.TanImage()

def tan_image(image: HObject) -> HObject

Description

tan_imagetan_imageTanImageTanImagetan_image calculates the tangent of an input image ImageImageImageimageimage and stores the result in the image TanImageTanImageTanImagetanImagetan_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

tan_imagetan_imageTanImageTanImagetan_image can be executed on OpenCL devices.

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

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

Input image.

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

Output image.

See also

sin_imagesin_imageSinImageSinImagesin_image, cos_imagecos_imageCosImageCosImagecos_image, asin_imageasin_imageAsinImageAsinImageasin_image, acos_imageacos_imageAcosImageAcosImageacos_image, atan_imageatan_imageAtanImageAtanImageatan_image, atan2_imageatan2_imageAtan2ImageAtan2Imageatan2_image

Module

Foundation