Back to FabImage Library website
You are here: Start » Function Reference » Region Basics » RegionToLocations
Header: | FIL.h |
---|---|
Namespace: | fil |
Converts a region to an array of its pixels locations.
Syntax
C++
C#
void fil::RegionToLocations ( const fil::Region& inRegion, ftl::Array<fil::Location>& outLocations )
Parameters
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
- LocationsToRegion – Forms a region containing pixels of given locations.