Back to Aurora Vision Library Lite website

You are here: Start » Region

Region

Region Basics

Icon Name Description / Applications
CreateBoxBorderRegion

Creates a frame-shaped region with given parameters.

CreateBoxRegion

Creates a rectangular region corresponding to a given box.

CreateCircleRegion

Creates a circular region corresponding to a given circle.

CreateCrossRegion

Creates a cross-shaped region with given parameters.

CreateEllipseRegion

Creates an elliptic region of given bounding rectangle.

CreateGridRegion

Creates a grid-shaped region with given parameters.

CreateLineRegion

Creates a line region.

CreatePathBorderRegion

Creates a region along a given path. The region may be internal or external to the path.

CreatePathRegion

Creates a region along the given path.

CreatePolygonRegion

Creates a polygonal region corresponding to a given closed path.

CreateRectangleBorderRegion

Creates a frame-shaped region with given parameters.

CreateRectangleRegion

Creates a region corresponding to a given rectangle.

CreateRingRegion

Creates a ring-shaped region with given parameters.

CreateSegmentRegion

Creates a segment region.

EmptyRegion

Creates an empty region with a given frame.

GetRegionFrame

Returns the width and height of the entire region's frame (not to be confused with RegionBoundingBox!).

LocationsToRegion

Forms a region containing pixels of given locations.

RegionCharacteristicPoint

Returns a characteristic point of the input's region bounding box.

RegionToLocations

Converts a region to an array of its pixel locations.


It may be considered explicit region decompression.

SetRegionFrame

Changes the width and the height of a region's frame (but does not rescale the content).

SkipEmptyRegion

If the input region contains at least one pixel, then it is copied to the output; otherwise Nil is returned.


Secures against domain errors caused by empty regions, e.g. just before the RegionMassCenter filter is to be invoked.

TestRegionEmpty

Tests whether the size of a region equals zero.

TestRegionNotEmpty

Tests whether the size of a region doesn't equal zero.

TestRegionOnBorder

Tests whether a region is adjacent to its border.

VerifyRegion

Checks if the point-runs of the input region are correctly arranged (sorted, not overlapping etc.).


You only need to use this tool if you create regions from point-runs manually.

Region Combinators

Icon Name Description / Applications
RegionDifference

Computes a region containing pixels from the first input region but not from the second input region.

RegionIntersection

Computes the common part of two regions.

RegionIntersection_OfArray

Computes the common part of an array of regions.

RegionIntersection_OfLoop

Computes the common part of regions appearing in consecutive iterations.

RegionSymmetricDifference

Computes a region containing pixels from first or second input region, but not from both.

RegionSymmetricDifference_OfArray

Computes a region containing pixels belonging to an odd number of array regions.

RegionUnion

Computes a region containing pixels from both input regions.

RegionUnion_OfArray

Computes a region containing all the pixels that any of the input regions contains.

RegionUnion_OfLoop

Computes the union of regions appearing in consecutive iterations.

Region Features

Icon Name Description / Applications
RegionArea

Computes the number of pixels contained in a region.

RegionBoundingBox

Computes the smallest box containing a region.

RegionBoundingBox_OrNil

Computes the smallest box containing a region; returns NIL if the region is empty.

RegionMassCenter

Computes a point with coordinates equal to the average coordinates of the region's pixels.

RegionMassCenter_OrNil

Computes a point with coordinates equal to the average coordinates of the region's pixels; returns NIL if the region is empty.

Region IO

Icon Name Description / Applications
LoadRegion

Loads a region from an AVDATA file.

SaveRegion

Saves a serialized region object to an AVDATA file.

Region Point Transforms

Icon Name Description / Applications
RegionComplement

Computes a region of pixels not contained in the input region.

Region Relations

Icon Name Description / Applications
TestPointInRegion

Tests whether a point lies inside a region.

Region Spatial Transforms

Icon Name Description / Applications
CropRegion

Creates a region from a rectangular fragment of another one.


Can be used to obtain a part of a bigger region, but also to enforce specific region frame.

TranslateRegion

Translates a region by a given number of pixels along each axis.

UncropRegion

Inverse of CropRegion.