2018年9月23日
摘要: C++: void distanceTransform(InputArray src, OutputArray dst, int distanceType, int maskSize) 参数详解: InputArray src:输入的图像,一般为二值图像 OutputArray dst:输出的图像 阅读全文
posted @ 2018-09-23 15:33 一抹烟霞 阅读(17051) 评论(1) 推荐(0)
摘要: 图像矩描述了图像的全局特征 一阶矩与形状有关 二阶距显示曲线围绕直线平均值的扩展程度 三阶矩是关于平均值的对称性测量 由二阶和三阶矩可以导出7个不变矩,不变矩是图像的统计特性,满足平移、伸缩、旋转的不变性 阅读全文
posted @ 2018-09-23 15:28 一抹烟霞 阅读(3911) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-09-23 15:23 一抹烟霞 阅读(391) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 9 int main(int argc, char** argv) 10 { 11 Mat image(600, 600, CV_8UC3); 12 RNG rng = t... 阅读全文
posted @ 2018-09-23 12:50 一抹烟霞 阅读(364) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 4 using namespace cv; 5 using namespace std; 6 7 8 int main(int argc, char** argv) 9 { 10 Mat src = imread("test.jpg"); 11 Mat src_gray,binary,dst... 阅读全文
posted @ 2018-09-23 12:36 一抹烟霞 阅读(687) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 9 int main(int argc, char** argv) 10 { 11 Mat src,src_gray,dst; 12 //src = imread("3 in... 阅读全文
posted @ 2018-09-23 12:09 一抹烟霞 阅读(6486) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 5 using namespace cv; 6 using namespace std; 7 8 9 int main(int argc, char** argv) 10 { 11 Mat src,dst; 12 Mat map_x, map_y; 13 src =... 阅读全文
posted @ 2018-09-23 11:57 一抹烟霞 阅读(466) 评论(0) 推荐(0)
摘要: x 霍夫圆检测一般只会找出最大的一个圆 阅读全文
posted @ 2018-09-23 10:35 一抹烟霞 阅读(10906) 评论(0) 推荐(0)
  2018年9月20日
摘要: 原文:https://blog.csdn.net/gmpy_tiger/article/details/50395719 MDK/Keil 中,J-Link调试查看变量值总是显示<not in scope> 原因:编译器把代码优化掉了,直接导致在仿真中变量根本没有分配内存,也就无法查看变量值 进一步 阅读全文
posted @ 2018-09-20 10:55 一抹烟霞 阅读(1807) 评论(0) 推荐(0)
  2018年9月19日
摘要: convertScaleAbs函数线性变换转换输入数组元素成8位无符号整型。void convertScaleAbs(InputArray src, OutputArray dst, double alpha=1, double beta=0)参数 :src – 输入数组。dst – 输出数组。al 阅读全文
posted @ 2018-09-19 18:22 一抹烟霞 阅读(5745) 评论(1) 推荐(0)

Live2D