Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Basics

Region Basics

Select a function from the list below.

IconNameDescription
CreateBoxBorderRegionCreates a frame-shaped region with given parameters.
CreateBoxRegionCreates a rectangular region corresponding to a given box.
CreateCircleRegionCreates a circular region corresponding to a given circle.
CreateCrossRegionCreates a cross-shaped region with given parameters.
CreateEllipseRegionCreates an elliptic region of given bounding rectangle.
CreateGridRegionCreates a grid-shaped region with given parameters.
CreatePathBorderRegionCreates a region from a path with given parameters.
CreatePolygonRegionCreates a polygonal region corresponding to a given closed path.
CreateRectangleBorderRegionCreates a frame-shaped region with given parameters.
CreateRectangleRegionCreates a region corresponding to a given rectangle.
CreateRingRegionCreates a ring-shaped region with given parameters.
GetRegionFrameReturns the width and height of the entire region's frame (not to be confused with RegionBoundingBox!)
LocationsToRegionForms a region containing pixels of given locations.
RegionCharacteristicPointReturns a characteristic point of the input's region bounding box.
RegionToLocationsConverts a region to an array of its pixels locations.
SetRegionFrameChanges the width and the height of a region's frame (but does not rescale the content).
SkipEmptyRegionSecures against domain errors caused by empty regions, e.g. just before the RegionMassCenter filter is to be invoked.
TestRegionEmptyTests whether the size of a region equals zero.
TestRegionNotEmptyTests whether the size of a region doesn't equal zero.
TestRegionOnBorderTests whether a region is adjacent to its border.