You are here: Start » AVL.NET » AVL.LocationsToRegion(AvlNet.Location[], int, int, AvlNet.Region)

AVL.LocationsToRegion(AvlNet.Location[], int, int, AvlNet.Region)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void LocationsToRegion(
	AvlNet.Location[] inLocations,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion
)

Parameters

inLocations
Type: AvlNet.Location
inFrameWidth
Type: System.Int32
inFrameHeight
Type: System.Int32
outRegion
Type: AvlNet.Region

Description

The operation forms a region equivalent to the given array of pixel locations. If any of the parameters inFrameWidth, inFrameHeight is not provided, it is set to the smallest value that allows to contain all locations inside of the region.

The inFrameWidth and inFrameHeight parameters most often should be set equal to the dimensions of the image this region will be used with.

See also