![]() |
OpenCV 5.0.0
Open Source Computer Vision
|
Classes | |
| struct | cv::Subdiv2D::QuadEdge |
| class | cv::Subdiv2D |
| struct | cv::Subdiv2D::Vertex |
Namespaces | |
| namespace | cv |
Enumerations | |
| enum | cv::DistanceTypes { cv::DIST_USER = -1 , cv::DIST_L1 = 1 , cv::DIST_L2 = 2 , cv::DIST_C = 3 , cv::DIST_L12 = 4 , cv::DIST_FAIR = 5 , cv::DIST_WELSCH = 6 , cv::DIST_HUBER = 7 } |
| enum | cv::RectanglesIntersectTypes { cv::INTERSECT_NONE = 0 , cv::INTERSECT_PARTIAL = 1 , cv::INTERSECT_FULL = 2 } |
| types of intersection between rectangles More... | |
Functions | |
| void | cv::approxPolyDP (InputArray curve, OutputArray approxCurve, double epsilon, bool closed) |
| Approximates a polygonal curve(s) with the specified precision. | |
| void | cv::approxPolyN (InputArray curve, OutputArray approxCurve, int nsides, float epsilon_percentage=-1.0, bool ensure_convex=true) |
| Approximates a polygon with a convex hull with a specified accuracy and number of sides. | |
| double | cv::arcLength (InputArray curve, bool closed) |
| Calculates a contour perimeter or a curve length. | |
| Rect | cv::boundingRect (InputArray array) |
| Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image. | |
| void | cv::boxPoints (RotatedRect box, OutputArray points) |
| Finds the four vertices of a rotated rect. Useful to draw the rotated rectangle. | |
| double | cv::contourArea (InputArray contour, bool oriented=false) |
| Calculates a contour area. | |
| void | cv::convexHull (InputArray points, OutputArray hull, bool clockwise=false, bool returnPoints=true) |
| Finds the convex hull of a point set. | |
| void | cv::convexityDefects (InputArray contour, InputArray convexhull, OutputArray convexityDefects) |
| Finds the convexity defects of a contour. | |
| RotatedRect | cv::fitEllipse (InputArray points) |
| Fits an ellipse around a set of 2D points. | |
| RotatedRect | cv::fitEllipseAMS (InputArray points) |
| Fits an ellipse around a set of 2D points. | |
| RotatedRect | cv::fitEllipseDirect (InputArray points) |
| Fits an ellipse around a set of 2D points. | |
| void | cv::fitLine (InputArray points, OutputArray line, int distType, double param, double reps, double aeps) |
| Fits a line to a 2D or 3D point set. | |
| Mat | cv::getAffineTransform (const Point2f src[], const Point2f dst[]) |
| Calculates an affine transform from three pairs of the corresponding points. | |
| Mat | cv::getAffineTransform (InputArray src, InputArray dst) |
| void | cv::getClosestEllipsePoints (const RotatedRect &ellipse_params, InputArray points, OutputArray closest_pts) |
| Compute for each 2d point the nearest 2d point located on a given ellipse. | |
| Mat | cv::getPerspectiveTransform (const Point2f src[], const Point2f dst[], int solveMethod=DECOMP_LU) |
| Mat | cv::getPerspectiveTransform (InputArray src, InputArray dst, int solveMethod=DECOMP_LU) |
| Calculates a perspective transform from four pairs of the corresponding points. | |
| Mat | cv::getRotationMatrix2D (Point2f center, double angle, double scale) |
| Calculates an affine matrix of 2D rotation. | |
| Matx23d | cv::getRotationMatrix2D_ (Point2f center, double angle, double scale) |
| void | cv::HuMoments (const Moments &m, OutputArray hu) |
| void | cv::HuMoments (const Moments &moments, double hu[7]) |
| Calculates seven Hu invariants. | |
| float | cv::intersectConvexConvex (InputArray p1, InputArray p2, OutputArray p12, bool handleNested=true) |
| Finds intersection of two convex polygons. | |
| void | cv::invertAffineTransform (InputArray M, OutputArray iM) |
| Inverts an affine transformation. | |
| bool | cv::isContourConvex (InputArray contour) |
| Tests a contour convexity. | |
| double | cv::matchShapes (InputArray contour1, InputArray contour2, int method, double parameter) |
| Compares two shapes. | |
| RotatedRect | cv::minAreaRect (InputArray points) |
| Finds a rotated rectangle of the minimum area enclosing the input 2D point set. | |
| void | cv::minEnclosingCircle (InputArray points, Point2f ¢er, float &radius) |
| Finds a circle of the minimum area enclosing a 2D point set. | |
| double | cv::minEnclosingConvexPolygon (InputArray points, OutputArray polygon, int k) |
| Finds a convex polygon of minimum area enclosing a 2D point set and returns its area. | |
| double | cv::minEnclosingTriangle (InputArray points, OutputArray triangle) |
| Finds a triangle of minimum area enclosing a 2D point set and returns its area. | |
| Moments | cv::moments (InputArray array, bool binaryImage=false) |
| Calculates all of the moments up to the third order of a polygon or rasterized shape. | |
| double | cv::pointPolygonTest (InputArray contour, Point2f pt, bool measureDist) |
| Performs a point-in-contour test. | |
| int | cv::rotatedRectangleIntersection (const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion) |
| Finds out if there is any intersection between two rotated rectangles. | |