Back to Adaptive Vision Library Lite website
You are here: Start » Image Point Transforms » SquareRootImage
![](../../img/icon/ImageProcessing.png)
SquareRootImage
Transforms pixel values to their square roots pixel by pixel.
Syntax
void avl::SquareRootImage ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed |
![]() |
outImage | 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.
In-place Processing
This function supports in-place data processing - you can pass the same reference to inImage and outImage
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of type: UINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
Error type | Description |
---|---|
DomainError | Not an unsigned-valued image in SquareRootImage. |