sqrt_imagesqrt_imageSqrtImageSqrtImage (Operator)
Name
sqrt_imagesqrt_imageSqrtImageSqrtImage
— Calculate the square root of an image.
Signature
Description
sqrt_imagesqrt_imageSqrtImageSqrtImageSqrtImage
calculates the square root of an input image
ImageImageImageImageimage
and stores the result in the image SqrtImageSqrtImageSqrtImageSqrtImagesqrtImage
of the same pixel type. In case the picture ImageImageImageImageimage
is of a
signed pixel type, negative pixel values will be mapped to zero in
SqrtImageSqrtImageSqrtImageSqrtImagesqrtImage
.
sqrt_imagesqrt_imageSqrtImageSqrtImageSqrtImage
can be executed on an OpenCL device for byte, int1, int2,
uint2, int4, and real images.
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) →
objectHImageHImageHobject (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Input image
SqrtImageSqrtImageSqrtImageSqrtImagesqrtImage
(output_object) (multichannel-)image(-array) →
objectHImageHImageHobject * (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Output image
See also
pow_imagepow_imagePowImagePowImagePowImage
Module
Foundation