Back to FabImage Library website
You are here: Start » Function Reference » Image Point Transforms » FisFilter_PowerImage
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | FIL.h |
---|---|
Namespace: | fis |
Exponentiates each pixel to the given power.
Syntax
void fis::FisFilter_PowerImage ( FisFilters_ImagePointTransformsState& ioState, const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, float inValue, fil::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioState | FisFilters_ImagePointTransformsState& | Object used to maintain state of the function. | ||
![]() |
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 |
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.
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. |