| 890 | } |
| 891 | |
| 892 | static void subdivLine(std::vector<Point>& contour, const Point2f& p0, const Point2f& p1, const Point2f& p2, const Point2f& p3) |
| 893 | { |
| 894 | contour.push_back(catmullRomSpline(1.0f/3, p0, p1, p2, p3)); |
| 895 | contour.push_back(catmullRomSpline(2.0f/3, p0, p1, p2, p3)); |
| 896 | contour.push_back(p2); |
| 897 | } |
| 898 | |
| 899 | RoiInfo calcuateLipsRegionInfo(const std::vector<Point2f>& points, int radius/* = 0*/, const Scalar& color/*= Scalar(255, 255, 255, 255)*/) |
| 900 | { |
nothing calls this directly
no test coverage detected