You are here: Start » AVL.NET » Function Reference » Region » Region Basics » AVL.RegionToLocations

AVL.RegionToLocations

Converts a region to an array of its pixel locations.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RegionToLocations
(
	AvlNet.Region inRegion,
	IList<AvlNet.Location> outLocations
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
outLocationsSystem.Collections.Generic.IList<AvlNet.Location>

Description

The operation forms an array of pixel locations equivalent to the given region. Note that the resulting array may occupy much more space than the region because it stores each pixels separately, as opposed to the run-length encoding used in regions.

See also