Skip to content

tan_imageTanImageTanImagetan_imagetan_image🔗

Short description🔗

tan_imageTanImageTanImagetan_imagetan_image — Calculate the tangent of an image.

Signature🔗

tan_image( image Image, out image TanImage )void TanImage( const HObject& Image, HObject* TanImage )static void HOperatorSet.TanImage( HObject image, out HObject tanImage )def tan_image( image: HObject ) -> HObject

Herror tan_image( const Hobject Image, Hobject* TanImage )

Herror T_tan_image( const Hobject Image, Hobject* TanImage )

HImage HImage::TanImage( ) const

HImage HImage.TanImage( )

Description🔗

tan_imageTanImage calculates the tangent of an input image Imageimageimage and stores the result in the image TanImagetanImagetan_image of type real. If Imageimageimage is of type direction or cyclic, the angles in Imageimageimage are converted to radians internally. If Imageimageimage is of type real, the angles in Imageimageimage 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_imageTanImage can be executed on OpenCL devices.

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🔗

Imageimageimage (input_object) (multichannel-)image(-array) → object (direction* / cyclic* / real*)HObject (direction* / cyclic* / real*)HImage (direction* / cyclic* / real*)HObject (direction* / cyclic* / real*)Hobject (direction* / cyclic* / real*) *allowed for compute devices

Input image.

TanImagetanImagetan_image (output_object) (multichannel-)image(-array) → object (real)HObject (real)HImage (real)HObject (real)Hobject * (real)

Output image.

Combinations with other operators🔗

Combinations

See also

sin_imageSinImage, cos_imageCosImage, asin_imageAsinImage, acos_imageAcosImage, atan_imageAtanImage, atan2_imageAtan2Image

Module🔗

Foundation