09 2020 档案

摘要:#include <iostream> #include <string> using namespace std; /** * 截取str后的元素 * @param stream 待截取字符串 * @param str 截取定位字符串 * @return */ static auto cutNex 阅读全文
posted @ 2020-09-26 11:51 Xu_Lin 阅读(7264) 评论(0) 推荐(0)
摘要:根据定义及概念可知,若直接通过cvtColor转换颜色空间,则输出灰度图像为单通道的,此时channels为1. 那么为了获得三通道的灰度图像,则可将三个三通道灰度叠加在一起. Mat gray; cvtColor(img, gray, COLOR_BGR2GRAY); Mat imageB; ve 阅读全文
posted @ 2020-09-26 11:18 Xu_Lin 阅读(204) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <set> using namespace std; /** * vector去除重复元素 * @tparam T * @param result * @retur 阅读全文
posted @ 2020-09-23 11:27 Xu_Lin 阅读(3042) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-09-14 14:44 Xu_Lin 阅读(0) 评论(0) 推荐(0)
摘要:使用以下两个命令清理缓存进行ssh清除:$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R xxx.xxx.xxx.xxx(指定IP)$ssh-keygen -f "/home/leoxae/.ssh/known_hosts" -R git.xxx.x 阅读全文
posted @ 2020-09-07 11:03 Xu_Lin 阅读(122) 评论(0) 推荐(0)