|
oevislib_net
0.14.3.0
|
Functions | |
| Point2D | oevislib_net.Region.GetAnchoredPoint (Anchor2D inPointAnchor) |
| Returns the point of the region described by the provided anchor. | |
| float | oevislib_net.Region.GetMoment (RegionMoment inMomentType, bool inCentral=false) |
| Computes the requested region moment. | |
| float | oevislib_net.Region.GetNormMoment (RegionMoment inMomentType, bool inCentral=false) |
| Computes the requested region moment, normalized to the region area. | |
| float | oevislib_net.Region.GetOrientation (AngleRange inAngleRange=AngleRange._0_360) |
| Computes the region orientation. | |
| Array< Point2Di > | oevislib_net.Region.GetOuterBoundary (RegionOuterBoundary inRegionOuterBoundary=RegionOuterBoundary.Top) |
| Computes one of the region boundaries. | |
| void | oevislib_net.Region.GetOuterBoundaries (Array< Point2Di > outTopBoundary, Array< Point2Di > outRightBoundary, Array< Point2Di > outBottomBoundary, Array< Point2Di > outLeftBoundary) |
| Computes boundaries of the region, divided by top, bottom, left and right points. | |
| float | oevislib_net.Region.GetElongation () |
| Computes the region elongation. | |
| Segment2D | oevislib_net.Region.GetMajorEllipticAxis () |
| Computes the major elliptical axis of the region. | |
| Segment2D | oevislib_net.Region.GetMinorEllipticAxis () |
| Computes the minor elliptical axis of the region. | |
| Point2D | oevislib_net.Region.GetMassCenter () |
| Computes the center of mass of all the points of the region. | |
| int | oevislib_net.Region.GetArea () |
| Computes the region's area, i.e. | |
| Region | oevislib_net.Region.GetBoundaries (RegionConnectivity inConnectivity) |
| Returns a new region without the interior points. | |
| Segment2D | oevislib_net.Region.GetDiameter () |
| Computes the longest segment connecting two points of the region. | |
| void | oevislib_net.Region.GetCaliperDiameters (Optional< Segment2D > outMinDiameter, Optional< Segment2D > outMaxDiameter) |
| Uses the caliper diameter algorithm to compute the longest and the shortest segments connecting two points of the region. | |
| float | oevislib_net.Region.GetCircularity (CircularityMeasure inCircularityMeasure, Optional< Circle2D > outCircle) |
| Computes the region circularity. | |
| Region | oevislib_net.Region.GetConvexHull () |
| Computes the region's convex hull as a Region object. | |
| float | oevislib_net.Region.GetConvexity () |
| Computes the region convexity, defined as its area divided by the area of its convex hull. | |
| float | oevislib_net.Region.GetPerimeter () |
| Returns the Region Perimeter. | |
| float | oevislib_net.Region.GetRectangularity () |
| Computes the region rectangularity, defined as its area divided by the area of it bounding rectangle. | |
| Box | oevislib_net.Region.GetBoundingBox () |
| Computes the box with minimum area the contains the entire region. | |
| Array< Region > | oevislib_net.Region.GetHoles (RegionConnectivity inConnectivity=RegionConnectivity.EightDirections, int inMinHoleArea=1, Optional< int > inMaxHoleArea=null) |
| Convert holes of the region into region themselves. | |
| Region | oevislib_net.Region.GetInteriors (RegionConnectivity inConnectivity=RegionConnectivity.EightDirections) |
| Returns a new region without the border point. | |
| Circle2D | oevislib_net.Region.GetBoundingCircle () |
| Computes the circle with the smallest area that contains the entire region. | |
| Rectangle2D | oevislib_net.Region.GetBoundingRect () |
| Returns the rectangle with minimal area that contains the entire region. | |
| Profile | oevislib_net.Region.GetProjection (ProjectionDirection inProjectionDirection=ProjectionDirection.Horizontal) |
| Computes the number of points either in each row or column of the region. | |
| Path | oevislib_net.Region.GetPathConvexHull () |
| Computes the region's convex hull as a Path object. | |
| Array< int > | oevislib_net.Region.GetPointsSequenceLengths () |
| Computes the lengths of all the region's point sequences. | |
Returns the point of the region described by the provided anchor.
| inPointAnchor | Input anchor. |
|
inline |
Computes the region's area, i.e.
the number of contained points.
|
inline |
Returns a new region without the interior points.
| inConnectivity | Type of connectivity used by the algorithm. |
|
inline |
Computes the box with minimum area the contains the entire region.
|
inline |
Computes the circle with the smallest area that contains the entire region.
|
inline |
Returns the rectangle with minimal area that contains the entire region.
|
inline |
Uses the caliper diameter algorithm to compute the longest and the shortest segments connecting two points of the region.
| outMinDiameter | Shortest segment. |
| outMaxDiameter | Longest segment. |
|
inline |
Computes the region circularity.
The circularity is defined as the region area divided by the area of an equivalent circle having the same selected feature.
| inCircularityMeasure | Select the type of equivalent circle used to compute the circularity. |
| outCircle | The equivalent circle used to compute the circularity. |
|
inline |
Computes the region's convex hull as a Region object.
|
inline |
Computes the region convexity, defined as its area divided by the area of its convex hull.
|
inline |
Computes the longest segment connecting two points of the region.
|
inline |
Computes the region elongation.
A result equal to 1 means perfect elongation, which is theoretically possible only considering the perfect circle.
|
inline |
Convert holes of the region into region themselves.
| inConnectivity | Type of connectivity used by the algorithm. |
| inMinHoleArea | Holes with lower area are discarded. Range: [0, +inf). |
| inMaxHoleArea | Holes with larger area are discarded. If Null, the parameter is neglected. Range: [0, +inf). |
|
inline |
Returns a new region without the border point.
| inConnectivity | Type of connectivity used by the algorithm. |
|
inline |
Computes the major elliptical axis of the region.
The elliptical axis is defined as the axis of an ellipse that has the same first and second order moments of the region.
|
inline |
Computes the center of mass of all the points of the region.
|
inline |
Computes the minor elliptical axis of the region.
The elliptical axis is defined as the axis of an ellipse that has the same first and second order moments of the region.
|
inline |
Computes the requested region moment.
| inMomentType | Select the moment that should be computed. |
| inCentral | If true, the central moment is computed. |
|
inline |
Computes the requested region moment, normalized to the region area.
| inMomentType | Select the moment that should be computed. |
| inCentral | If true, the central moment is computed. |
|
inline |
Computes the region orientation.
| inAngleRange | Range of the output angle. |
|
inline |
Computes boundaries of the region, divided by top, bottom, left and right points.
| outTopBoundary | Array of points that are not connected to points with lower y coordinate. |
| outRightBoundary | Array of points that are not connected to points with higher x coordinate. |
| outBottomBoundary | Array of points that are not connected to points with higher y coordinate. |
| outLeftBoundary | Array of points that are not connected to points with lower x coordinate. |
|
inline |
Computes one of the region boundaries.
| inRegionOuterBoundary | Select the type of boundary that will be computed. |
|
inline |
Computes the region's convex hull as a Path object.
|
inline |
Returns the Region Perimeter.
|
inline |
Computes the lengths of all the region's point sequences.
|
inline |
Computes the number of points either in each row or column of the region.
| inProjectionDirection | Direction used to count the number of points. 'Horizontal' will provide the count by rows. |
|
inline |
Computes the region rectangularity, defined as its area divided by the area of it bounding rectangle.