摘要: 工具 - 选项 - 环境 - 字体和颜色 - 显示项 - 突出显示的引用 阅读全文
posted @ 2019-03-09 17:39 hehe_2014 阅读(1143) 评论(0) 推荐(1) 编辑
摘要: #include #include using namespace std; using namespace cv; Mat bgImage; const char* drawdemo_win = "draw shapes and text demo"; void MyLines(); void MyRectangle(); void MyEllipse(); void MyCircle... 阅读全文
posted @ 2019-03-08 21:24 hehe_2014 阅读(369) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace cv; int main(int argc, char** argv) { Mat src, dst; src = imread("D:/vcprojects/images/test.jpg"); if (!src.data) { printf("could not load ima... 阅读全文
posted @ 2019-03-08 20:54 hehe_2014 阅读(180) 评论(0) 推荐(0) 编辑
摘要: double alpha = 0.5; addWeighted(src1, alpha, src2, (1.0 - alpha), 0.0, dst); // 权重混合 //multiply(src1, src2, dst, 1.0); // 相乘 //add(src1, src2, dst, Mat());// 相加 ... 阅读全文
posted @ 2019-03-07 23:09 hehe_2014 阅读(242) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; using namespace cv; int main(int argc, char** argv) { Mat src; src = imread("D:/vcprojects/images/test.png"); if (src.empty()) { cout ... 阅读全文
posted @ 2019-03-06 20:24 hehe_2014 阅读(302) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace cv; int main(int argc, char** argv) { Mat src, dst; src = imread("D:/vcprojects/images/test.jpg"); if (!src.data) { printf("coul... 阅读全文
posted @ 2019-03-05 23:55 hehe_2014 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace cv; int main(int argc, char** argv) { Mat in_img = imread("D:/vcprojects/images/123.jpg"); Mat out_img; in_img.copyTo(out_img); int channels = ... 阅读全文
posted @ 2019-03-05 23:10 hehe_2014 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 一、安规电容 安规电容之所以称之为安规,它是指用于这样的场合:即电容器失效后,不会导致电击,也不危及人身安全。安规电容包含X电容和Y电容两种,它普通电容不一样的是,普通电容即使在外部电源断开之后,它内部储存电荷依然会保留很长一段时间,但是安规电容不会出现这个问题。安规电容大多数为蓝色、黄色、灰色以及 阅读全文
posted @ 2019-03-04 11:59 hehe_2014 阅读(2543) 评论(0) 推荐(0) 编辑
摘要: 什么是共模与差模 电器设备的电源线,电话等的通信线, 与其它设备或外围设备相互交换的通讯线路,至少有两根导线,这两根导线作为往返线路输送电力或信号,在这两根导线之外通常还有第三导体,这就是"地线"。电压和电流的变化通过导线传输时有两种形态, 一种是两根导线分别做为往返线路传输, 我们称之为"差模"; 阅读全文
posted @ 2019-03-04 11:56 hehe_2014 阅读(6950) 评论(0) 推荐(2) 编辑
摘要: 先按住alt键,在用鼠标选中即可 阅读全文
posted @ 2019-03-04 10:38 hehe_2014 阅读(291) 评论(0) 推荐(0) 编辑