07 2018 档案
摘要:#include /* @param o The customer origin @param x The customer x @Note The return matrix include translation */ cv::Mat ZRotationMatrix(const cv::Point2d o, const cv::Point2d x) { cv::Mat Rz = ...
阅读全文
摘要:std::vector> fillContour(const std::vector> & _contours) { // sort as x descent y descent. std::vector> contours(_contours); for(size_t i = 0; i sub(contours[i]); std::sort(sub.begin(), sub.end(...
阅读全文
摘要:cv::Mat left_image; right_image.push_back(cv::Mat((cv::Mat_(1, 3) << ori.x, ori.y, ori.z)));
阅读全文
摘要:#define _WINSOCK_DEPRECATED_NO_WARNINGS #include #include #include #include #include #include using namespace std; #pragma comment(lib, "ws2_32.lib") int main() { WORD sockVersion = MAKEWORD(...
阅读全文
摘要:cv::normalize(src, dst, 0.0, 255.0, cv::NORM_MINMAX);
阅读全文