#pragma once #include #include #include class LineHandle { public: static void crossPointsOfLines(cv::Vec4i lineA, cv::Vec4i lineB, cv::Point2f& crossPoints); static bool comp(const cv::Point2f& a, const cv::Point2f& b); static long CalcMatSum(cv::Mat img); static bool ComparePairFirst(std::pair a, std::pair b); static bool ComparePairSecond(std::paira, std::pair b); };