You are here: Start » AVL.NET » Function Reference » Image » Image Point Transforms » AVL.SquareRootImage
Transforms pixel values to their square roots pixel by pixel.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SquareRootImage ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, AvlNet.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | outImage | 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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Not an unsigned-valued image in SquareRootImage. |
| DomainError | Region exceeds an input image in SquareRootImage. |
| DomainError | Not supported inImage pixel format in SquareRootImage. Supported formats: UInt8, UInt16. |




