You are here: Start » AVL.NET » AVL.SquareRootImage Method

AVL.SquareRootImage Method

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

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.RegionRange of pixels to be processed. Default value: atl::NIL, or null.
outImageAvlNet.ImageOutput 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