Merge pull request #1470 from IceRage:min_enclosing_triangle

This commit is contained in:
Alexander Smorkalov
2013-09-26 16:28:52 +04:00
committed by OpenCV Buildbot
6 changed files with 1786 additions and 7 deletions

View File

@@ -1455,6 +1455,9 @@ CV_EXPORTS_W void boxPoints(RotatedRect box, OutputArray points);
CV_EXPORTS_W void minEnclosingCircle( InputArray points,
CV_OUT Point2f& center, CV_OUT float& radius );
//! computes the minimal enclosing triangle for a set of points and returns its area
CV_EXPORTS_W double minEnclosingTriangle( InputArray points, CV_OUT OutputArray triangle );
//! matches two contours using one of the available algorithms
CV_EXPORTS_W double matchShapes( InputArray contour1, InputArray contour2,
int method, double parameter );