Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Point Transforms » InvertImage

InvertImage


Header: AVL.h
Namespace: avl
Module: FoundationLite

Applies numeric inversion (1/x) of the pixel values.

Syntax

C++
C#
 
void avl::InvertImage
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	float inDividend,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Input value inDividend float
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.

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 InvertImage.