sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image (Operator)
Name
sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image — Calculate the square root of an image.
Signature
def sqrt_image(image: HObject) -> HObject
Description
sqrt_imagesqrt_imageSqrtImageSqrtImageSqrtImagesqrt_image calculates the square root of an input image
ImageImageImageImageimageimage and stores the result in the image SqrtImageSqrtImageSqrtImageSqrtImagesqrtImagesqrt_image
of the same pixel type. In case the picture ImageImageImageImageimageimage is of a
signed pixel type, negative pixel values will be mapped to zero in
SqrtImageSqrtImageSqrtImageSqrtImagesqrtImagesqrt_image.
sqrt_imagesqrt_imageSqrtImageSqrtImageSqrtImagesqrt_image 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
ImageImageImageImageimageimage (input_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Input image
SqrtImageSqrtImageSqrtImageSqrtImagesqrtImagesqrt_image (output_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject * (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices
Output image
See also
pow_imagepow_imagePowImagePowImagePowImagepow_image
Module
Foundation