Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Region

Region

Region Basics

Icon Name Description / Applications Modules
CreateBoxBorderRegion

Creates a frame-shaped region with given parameters.

FoundationLite
CreateBoxRegion

Creates a rectangular region corresponding to a given box.

FoundationLite
CreateCircleRegion

Creates a circular region corresponding to a given circle.

FoundationLite
CreateCrossRegion

Creates a cross-shaped region with given parameters.

FoundationLite
CreateEllipseRegion

Creates an elliptic region of given bounding rectangle.

FoundationLite
CreateGridRegion

Creates a grid-shaped region with given parameters.

FoundationLite
CreateLineRegion

Creates a line region.

FoundationLite
CreatePathBorderRegion

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

FoundationLite
CreatePathRegion

Creates a region along the given path.

FoundationLite
CreatePolygonRegion

Creates a polygonal region corresponding to a given closed path.

FoundationLite
CreateRectangleBorderRegion

Creates a frame-shaped region with given parameters.

FoundationLite
CreateRectangleRegion

Creates a region corresponding to a given rectangle.

FoundationLite
CreateRingRegion

Creates a ring-shaped region with given parameters.

FoundationLite
CreateSegmentRegion

Creates a segment region.

FoundationLite
EmptyRegion

Creates an empty region with a given frame.

FoundationLite
GetRegionFrame

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

FoundationLite
LocationsToRegion

Forms a region containing pixels of given locations.

FoundationLite
RegionCharacteristicPoint

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

FoundationLite
RegionToLocations

Converts a region to an array of its pixel locations.


It may be considered explicit region decompression.

FoundationLite
SetRegionFrame

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

FoundationLite
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.

FoundationLite
TestRegionEmpty

Tests whether the size of a region equals zero.

FoundationLite
TestRegionNotEmpty

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

FoundationLite
TestRegionOnBorder

Tests whether a region is adjacent to its border.

FoundationLite
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.

FoundationLite

Region Combinators

Icon Name Description / Applications Modules
RegionDifference

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

FoundationLite
RegionIntersection

Computes the common part of two regions.

FoundationLite
RegionIntersection_OfArray

Computes the common part of an array of regions.

FoundationLite
RegionIntersection_OfLoop

Computes the common part of regions appearing in consecutive iterations.

FoundationLite
RegionSymmetricDifference

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

FoundationLite
RegionSymmetricDifference_OfArray

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

FoundationLite
RegionSymmetricDifference_OfLoop

Computes a region containing pixels belonging to an odd number of regions appearing in consecutive iterations.

FoundationPro
RegionUnion

Computes a region containing pixels from both input regions.

FoundationLite
RegionUnion_OfArray

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

FoundationLite
RegionUnion_OfLoop

Computes the union of regions appearing in consecutive iterations.

FoundationLite

Region Features

Icon Name Description / Applications Modules
RegionArea

Computes the number of pixels contained in a region.

FoundationLite
RegionBoundingBox

Computes the smallest box containing a region.

FoundationLite
RegionBoundingBox_OrNil

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

FoundationLite
RegionBoundingCircle

Computes the smallest circle enclosing a region.

FoundationBasic
RegionBoundingCircle_OrNil

Computes the smallest circle enclosing a region; returns NIL if the region is empty.

FoundationBasic
RegionBoundingEllipse

Computes the smallest ellipse enclosing a region.

FoundationBasic
RegionBoundingEllipse_OrNil

Computes the smallest ellipse enclosing a region; returns NIL if the region is empty.

FoundationBasic
RegionBoundingParallelogram

Computes the smallest parallelogram containing a region.

FoundationPro
RegionBoundingRectangle

Computes the smallest rectangle containing a region.

FoundationBasic
RegionBoundingRectangle_FixedAngle

Computes the smallest rectangle with the given orientation angle containing a region.

FoundationBasic
RegionBoundingRectangle_FixedAngle_OrNil

Computes the smallest rectangle with the given orientation angle containing a region; returns NIL if the region is empty.

FoundationBasic
RegionBoundingRectangle_OrNil

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

FoundationBasic
RegionCaliperDiameter

Computes the longest and the shortest width of the input region measured as distance between parallel lines containing the whole region.

FoundationBasic
RegionCircularity

Computes the area of a region divided by the area of a circular region having the same feature.

FoundationBasic
RegionComplexity

Calculates how much the input region's perimeter is bigger than the perimeter of a circle of the same area.

FoundationBasic
RegionContours

Computes an array of closed paths corresponding to the contours of the input region.

FoundationBasic
RegionConvexity

Computes the area of a region divided by area of its convex hull.

FoundationBasic
RegionDiameter

Computes the longest segment connecting two pixels contained in region and its length.

FoundationBasic
RegionDirectionalDispersion

Directional standard deviation of the distance of the region's points to the center.

FoundationBasic
RegionDispersion

Calculates how much more the input region's points are dispersed comparing to the points of a circle of the same area.

FoundationBasic
RegionEllipticAxes

Computes axes of an ellipse having the same first and second order moments as the given region.

FoundationBasic
RegionElongation

Computes the elongation factor of a region ( perfect circle has minimal elongation equal 1.0 ).

FoundationBasic
RegionFeatureValue

Computes the feature value of the input region.

FoundationBasic
RegionHoles

Creates regions of the holes of the input region.

FoundationBasic
RegionHoles_Elastic

Fills a ridges region with convex basins.

FoundationBasic
RegionInscribedBox

Computes the largest box contained in a region.

FoundationBasic
RegionInscribedCircle

Computes the largest circle contained in a region.

FoundationBasic
RegionMassCenter

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

FoundationLite
RegionMassCenter_OrNil

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

FoundationLite
RegionMedialAxis

Computes an array of paths corresponding to the skeleton of the input region.

FoundationBasic
RegionMoment

Computes selected second-order moment of a region in regular and normalized ( divided by region area ) variant.

FoundationBasic
RegionNumberOfHoles

Computes the number of holes in a region.

FoundationBasic
RegionOrientation

Computes the orientation of a region as an angle of value in a proper range.

FoundationBasic
RegionPerimeterLength

Computes the length of the input region perimeter.

FoundationBasic
RegionPointRunLengths

Returns the lengths of horizontal sequences of locations that constitute the input region.

FoundationBasic
RegionProjection

Computes the profile of the region pixel count in consecutive rows or columns.

FoundationBasic
RegionRectangularity

Computes the area of a region divided by the area of its bounding rectangle.

FoundationBasic
RegionsFeatureValues

Computes the feature values of the input regions.

FoundationBasic
RegionSkewness

Directional standard deviation of the distance of the region's points to the center.

FoundationBasic
RegionThickness

Diameter of the biggest inscribed circle.

FoundationBasic

Region Global Transforms

Icon Name Description / Applications Modules
FillRegionHoles

Adds pixels to the input region so that it contains no holes.

FoundationBasic
RegionBoundaries

Removes interior pixels from a region.

FoundationBasic
RegionConvexHull

Computes the smallest convex region containing the input region.

FoundationBasic
RegionConvexHull_AsPath

Computes the smallest convex polygon containing the input region.

FoundationBasic
RegionInteriors

Removes boundary pixels from a region.

FoundationBasic
RegionOuterBoundaries

Returns the top, right, bottom and left boundaries of the input region.

FoundationBasic
RemoveBordersFromRegion

Removes from a region the pixels that lie very close to the region's frame.


Assures that the resulting region is not "touching" the borders.

FoundationBasic
RemoveRegionBlobs

Splits a region into blobs, removes blobs not fulfilling the specified condition, and merges the rest back into one region.

FoundationBasic
RemoveRegionBoundaryBlobs

Removes all blobs intersecting a boundary of a given region.

FoundationBasic
SplitRegionIntoBlobs

Splits a region into an array of regions corresponding to its connected components.


Segmentation of a region into individual objects when the objects do not touch each other.

FoundationBasic
SplitRegionIntoComponents

Splits a region into an array of regions. Operates by merging blobs in accordance to the inMaxDistance parameter.

FoundationBasic
SplitRegionIntoExactlyNComponents

Splits a region into a fixed-size array of regions.

FoundationBasic

Region Metrics

Icon Name Description / Applications Modules
RegionToRegionDistance

Computes minimal distance between one of the points of the first region with one of the points of the second region.

FoundationBasic

Region Morphology

Icon Name Description / Applications Modules
BottomHatRegion

Performs a morphological black top hat (bottom hat) operation on a region using a predefined kernel.

FoundationBasic
BottomHatRegion_AnyKernel

Performs a morphological black top hat (bottom hat) operation on a region using an arbitrary kernel.

FoundationBasic
CloseRegion

Performs a morphological closing on a region using selected predefined kernel.


Filling-in small gaps in a region without making it thicker.

FoundationBasic
CloseRegion_AnyKernel

Performs a morphological closing on a region using an arbitrary kernel.


Filling-in gaps of a particular shape without making the region thicker.

FoundationBasic
DemarcateRegions

Splits common pixels of the input regions among these regions.


Use this filter to make sure that the regions of an array do not intersect.

FoundationBasic
DilateRegion

Performs a morphological dilation on a region using a predefined kernel.


Making the region thicker or filling-in small holes within it.

FoundationBasic
DilateRegion_AnyKernel

Performs a morphological dilation on a region using an arbitrary kernel.


Making the region thicker in a non-symmetrical way or filling-in gaps of a particular shape.

FoundationBasic
ErodeRegion

Performs a morphological erosion on a region using a predefined kernel.


Making the region thinner or removing small parts.

FoundationBasic
ErodeRegion_AnyKernel

Performs a morphological erosion on a region using an arbitrary kernel.


Making the region thinner in a non-symmetrical way or removing small parts of a particular shape.

FoundationBasic
ErodeRegion_Threshold

Erodes a region with inThresholdValue pixels of inKernel.

FoundationBasic
ExpandRegions

Splits pixels of the input regions and their complement among these regions.


Use this filter to make sure that every pixel belongs to a region.

FoundationBasic
OpenRegion

Performs a morphological opening on a region using a predefined kernel.


Removing small parts from a region without making it thinner.

FoundationBasic
OpenRegion_AnyKernel

Performs a morphological opening on a region using an arbitrary kernel.


Removing small parts of a particular shape without making the region thinner.

FoundationBasic
PruneRegion

Removes one pixel wide branches from a region.

FoundationBasic
RegionHitAndMissTransform

Performs a hit-and-miss transformation on a region using arbitrary kernels.

FoundationBasic
SkeletonizeRegion

Thins a region to its skeleton.

FoundationBasic
ThickenRegion

Performs a morphological thickening on a region using predefined kernels.

FoundationBasic
ThinRegion

Performs a morphological thinning on a region using predefined kernels.

FoundationBasic
ThresholdSmoothedRegion_Mean

Returns region of pixels witch collect minAmount of pixels in rectangle in input region.

FoundationBasic
TopHatRegion

Performs a morphological white top hat operation on a region using a predefined kernel.

FoundationBasic
TopHatRegion_AnyKernel

Performs a morphological white top hat operation on a region using an arbitrary kernel.

FoundationBasic

Region Point Transforms

Icon Name Description / Applications Modules
RegionComplement

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

FoundationLite

Region Relations

Icon Name Description / Applications Modules
ClassifyRegions

Splits an array of regions according to the selected feature and range.


Use this filter when you have an array of regions and you want to select some of them for further processing.

FoundationBasic
GetMaximumRegion

Returns the region from the input array that corresponds to the largest computed feature value.


Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.

FoundationBasic
GetMaximumRegion_OrNil

Returns the region from the input array that corresponds to the largest computed feature value; returns NIL if the array or any region inside it is empty.


Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.

FoundationBasic
GetMinimumRegion

Returns the region from the input array that corresponds to the smallest computed feature value.


Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.

FoundationBasic
GetMinimumRegion_OrNil

Returns the region from the input array that corresponds to the smallest computed feature value; returns NIL if the array or any region inside it is empty.


Use this filter when you have an array of regions and you want to select one of them that best matches some criterion.

FoundationBasic
GroupPathsByRegions

For each region returns which paths lie inside of it or intersect with it.

FoundationBasic
GroupPointsByRegions

For each region returns which points lie inside of it.

FoundationBasic
GroupRegionsByRegions

For each region returns which regions lie inside of it or intersect with it.

FoundationBasic
InscribeRegionInRegion

Shifts source region so that it is contained in target region.

FoundationBasic
MakeRegionConditional

Computes a region feature, checks whether its value is in range and creates a conditional region on this basis.

FoundationBasic
SelectRegions

Selects regions according to the selected feature and range.


Use this filter when you have an array of regions and you want to select some of them for further processing. It is slightly faster than ClassifyRegions.

FoundationBasic
SortRegions

Changes the order of regions from the input array according to an ascending/descending sequence of their computed feature values.

FoundationBasic
TestPointArrayInRegion

Tests which points lie inside a region.

FoundationBasic
TestPointInRegion

Tests whether a point lies inside a region.

FoundationLite
TestRegionEqualTo

Tests whether given regions are equal.

FoundationBasic
TestRegionInRegion

Tests whether a region is contained in another one.

FoundationBasic
TestRegionIntersectsWith

Tests whether two regions have non-empty intersection.

FoundationBasic
TestRegionUnequalTo

Tests whether given regions are not equal.

FoundationBasic

Region Spatial Transforms

Icon Name Description / Applications Modules
AlignRegion

Aligns a region to a coordinate system.


Most typically used, when there is a region extracted after performing CropImageToRectangle. This filter makes it possible to align the region with the original image.

FoundationBasic
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.

FoundationLite
CropRegionToQuadrangle

Creates a region from a quadrangular fragment of another one. The quadrangle must be convex.

FoundationPro
CropRegionToRectangle

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.

FoundationLite
DownsampleRegion

Shrinks a region by the factor of two along each axis.

FoundationBasic
EnlargeRegionNTimes

Enlarges a region by a natural factor.

FoundationBasic
MirrorRegion

Mirrors a region across vertical or horizontal axis.

FoundationBasic
ReflectRegion

Reflects a region through the given location.

FoundationBasic
ResizeRegion

Enlarges or shrinks a region to new dimensions.

FoundationBasic
ResizeRegion_Relative

Resizes region relatively along each axis.

FoundationBasic
RotateRegion

Rotates a region around a specified point.

FoundationBasic
ShearRegion

Computes a leant region.

FoundationBasic
ShrinkRegionNTimes

Shrinks a region by a natural factor along each axis.

FoundationBasic
TranslateRegion

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

FoundationLite
TransposeRegion

Flips and rotates a region so that x-coordinates are exchanged with y-coordinates.

FoundationBasic
TrimRegionToPolygon

Removes region elements lying beyond the specified polygon.

FoundationPro
TrimRegionToRectangle

Limits a region to a rectangular area.

FoundationPro
UncropRegion

Inverse of CropRegion.

FoundationLite