You are here: Start » AVL.NET » AVL.SquareRootImage(AvlNet.Image, AvlNet.Region, AvlNet.Image)

AVL.SquareRootImage(AvlNet.Image, AvlNet.Region, AvlNet.Image)

Transforms pixel values to their square roots pixel by pixel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SquareRootImage(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.Region
Range of pixels to be processed, or null.
outImage
Type: AvlNet.Image
Output image

Description

The operation decreases the brightness of an image by transforming each pixel value to its square root.

Examples

The SquareRootImage performed on the sample image.

Hardware Acceleration

This operation is optimized for SSE2 technology for pixels of type: UINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

Error type Description
DomainError Not an unsigned-valued image in SquareRootImage.

See also