Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Image Point Transforms » AvsFilter_PowerImage

AvsFilter_PowerImage


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code. CreatePowerLut and ApplyPixelLut should be used instead.

Header: AVL.h
Namespace: avs

Exponentiates each pixel to the given power.

Syntax

void avs::AvsFilter_PowerImage
(
	AvsFilters_ImagePointTransformsState& ioState,
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	float inValue,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input will be modified ioState AvsFilters_ImagePointTransformsState& Object used to maintain state of the function.
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Input value inValue float 2.0f The exponent
Output value outImage Image& Output image

In-place Processing

This function supports in-place data processing - you can pass the same reference to inImage and outImage

Read more about In-place Computation.

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.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in PowerImage.

See Also