Skip to content

sin_imageSinImageSinImagesin_imagesin_image🔗

Short description🔗

sin_imageSinImageSinImagesin_imagesin_image — Calculate the sine of an image.

Signature🔗

sin_image( image Image, out image SinImage )void SinImage( const HObject& Image, HObject* SinImage )static void HOperatorSet.SinImage( HObject image, out HObject sinImage )def sin_image( image: HObject ) -> HObject

Herror sin_image( const Hobject Image, Hobject* SinImage )

Herror T_sin_image( const Hobject Image, Hobject* SinImage )

HImage HImage::SinImage( ) const

HImage HImage.SinImage( )

Description🔗

sin_imageSinImage calculates the sine of an input image Imageimageimage and stores the result in the image SinImagesinImagesin_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🔗

sin_imageSinImage 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.

SinImagesinImagesin_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

cos_imageCosImage, tan_imageTanImage, asin_imageAsinImage, acos_imageAcosImage, atan_imageAtanImage, atan2_imageAtan2Image

Module🔗

Foundation