Back to Aurora Vision Library Lite website

You are here: Start » Region » Region Basics » RegionToLocations

RegionToLocations


Header: AVL.h
Namespace: avl

Converts a region to an array of its pixel locations.

Applications: It may be considered explicit region decompression.

Syntax

void avl::RegionToLocations
(
	const avl::Region& inRegion,
	atl::Array<avl::Location>& outLocations
)

Parameters

Name Type Default Description
Input value inRegion const Region& Input region
Output value outLocations Array<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