You are here: Start » AVL.NET » AVL.RegionComplement(AvlNet.Region, AvlNet.Region)

AVL.RegionComplement(AvlNet.Region, AvlNet.Region)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RegionComplement(
	AvlNet.Region inRegion,
	out AvlNet.Region outRegion
)

Parameters

inRegion
Type: AvlNet.Region
Input region
outRegion
Type: AvlNet.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

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

See also