Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Region » Region Basics » LocationsToRegion

LocationsToRegion


Module: FoundationLite

Forms a region containing pixels of given locations.

Name Type Range Description
Input value inLocations LocationArray
Input value inFrameWidth Integer 0 - 65535
Input value inFrameHeight Integer 0 - 65535
Output value outRegion Region Output 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.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also