Skip to content

sqrt_imageSqrtImageSqrtImagesqrt_imagesqrt_image🔗

Short description🔗

sqrt_imageSqrtImageSqrtImagesqrt_imagesqrt_image — Calculate the square root of an image.

Signature🔗

sqrt_image( image Image, out image SqrtImage )void SqrtImage( const HObject& Image, HObject* SqrtImage )static void HOperatorSet.SqrtImage( HObject image, out HObject sqrtImage )def sqrt_image( image: HObject ) -> HObject

Herror sqrt_image( const Hobject Image, Hobject* SqrtImage )

Herror T_sqrt_image( const Hobject Image, Hobject* SqrtImage )

HImage HImage::SqrtImage( ) const

HImage HImage.SqrtImage( )

Description🔗

sqrt_imageSqrtImage calculates the square root of an input image Imageimageimage and stores the result in the image SqrtImagesqrtImagesqrt_image of the same pixel type. In case the picture Imageimageimage is of a signed pixel type, negative pixel values will be mapped to zero in SqrtImagesqrtImagesqrt_image.

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

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 (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HImage (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / int1* / int2* / uint2* / int4* / int8 / real*)Hobject (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Input image

SqrtImagesqrtImagesqrt_image (output_object) (multichannel-)image(-array) → object (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HImage (byte* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / int1* / int2* / uint2* / int4* / int8 / real*)Hobject * (byte* / int1* / int2* / uint2* / int4* / int8 / real*) *allowed for compute devices

Output image

Combinations with other operators🔗

Combinations

See also

pow_imagePowImage

Module🔗

Foundation