MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / subdivLine

Function subdivLine

jni/venus/region_operation.cpp:892–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

890}
891
892static 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
899RoiInfo calcuateLipsRegionInfo(const std::vector<Point2f>& points, int radius/* = 0*/, const Scalar& color/*= Scalar(255, 255, 255, 255)*/)
900{

Callers

nothing calls this directly

Calls 1

catmullRomSplineFunction · 0.85

Tested by

no test coverage detected