Back to Aurora Vision Library Lite website

You are here: Start » Region » Region Point Transforms » RegionComplement

RegionComplement


Header: AVL.h
Namespace: avl

Computes a region of pixels not contained in the input region.

Syntax

void avl::RegionComplement
(
	const avl::Region& inRegion,
	avl::Region& outRegion
)

Parameters

Name Type Default Description
Input value inRegion const Region& Input region
Output value outRegion Region& Output region

Description

The operation computes a region of the same dimensions, containing only pixels that do not belong to the given one.

Examples

RegionComplement run on a sample region.

Errors

List of possible exceptions:

Error type Description
DomainError Input and output regions are not distinct in RegionComplement.