cos_imagecos_imageCosImageCosImagecos_image (算子名称)
名称
cos_imagecos_imageCosImageCosImagecos_image
— Calculate the cosine of an image.
参数签名
def cos_image(image: HObject) -> HObject
描述
cos_imagecos_imageCosImageCosImageCosImagecos_image
calculates the cosine of an input image
ImageImageImageImageimageimage
and stores the result in the image CosImageCosImageCosImageCosImagecosImagecos_image
of type real. If ImageImageImageImageimageimage
is of type direction or cyclic, the
angles in ImageImageImageImageimageimage
are converted to radians internally. If
ImageImageImageImageimageimage
is of type real, the angles in ImageImageImageImageimageimage
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.
注意
cos_imagecos_imageCosImageCosImageCosImagecos_image
can be executed on OpenCL devices.
运行信息
- 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.
参数表
ImageImageImageImageimageimage
(input_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject (direction* / cyclic* / real*) *allowed for compute devices
Input image.
CosImageCosImageCosImageCosImagecosImagecos_image
(output_object) (multichannel-)image(-array) →
objectHImageHObjectHImageHobject * (real)
Output image.
参考其它
sin_imagesin_imageSinImageSinImageSinImagesin_image
,
tan_imagetan_imageTanImageTanImageTanImagetan_image
,
asin_imageasin_imageAsinImageAsinImageAsinImageasin_image
,
acos_imageacos_imageAcosImageAcosImageAcosImageacos_image
,
atan_imageatan_imageAtanImageAtanImageAtanImageatan_image
,
atan2_imageatan2_imageAtan2ImageAtan2ImageAtan2Imageatan2_image
模块
Foundation