Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Point Transforms » PowerImage
Exponentiates each pixel to the given power.
Syntax
C++
C#
void avl::PowerImage ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, float inValue, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
inValue | float | 2.0f | The exponent | |
outImage | Image& | Output image |
Remarks
When diagnostic mode is used, this filter will check correctness of input data and throw an exception if possibility of NaN value in output image occur.
When working in optimized mode, this check is omitted.
In-place Processing
This function supports in-place data processing - you can pass the same reference to inImage and outImage
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.