Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Point Transforms » SquareRootImage
Transforms pixel values to their square roots pixel by pixel.
Syntax
C++
C#
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
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. |