sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image (Operator)

Name

sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image — Calculate the square root of an image.

Signature

sqrt_image(Image : SqrtImage : : )

Herror sqrt_image(const Hobject Image, Hobject* SqrtImage)

Herror T_sqrt_image(const Hobject Image, Hobject* SqrtImage)

void SqrtImage(const HObject& Image, HObject* SqrtImage)

HImage HImage::SqrtImage() const

static void HOperatorSet.SqrtImage(HObject image, out HObject sqrtImage)

HImage HImage.SqrtImage()

def sqrt_image(image: HObject) -> HObject

Description

sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image calculates the square root of an input image ImageImageImageimageimage and stores the result in the image SqrtImageSqrtImageSqrtImagesqrtImagesqrt_image 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 SqrtImageSqrtImageSqrtImagesqrtImagesqrt_image.

sqrt_imagesqrt_imageSqrtImageSqrtImagesqrt_image can be executed on an OpenCL device for byte, int1, int2, uint2, int4, and real images.

Execution Information

Parameters

ImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Input image

SqrtImageSqrtImageSqrtImagesqrtImagesqrt_image (output_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject * (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Output image

See also

pow_imagepow_imagePowImagePowImagepow_image

Module

Foundation