摘要: #include #include using namespace cv; #include #define WINDOW_NAME1 "【绘制图1】" //为窗口标题定义的宏 #define WINDOW_NAME2 "【绘制图2】" //为窗口标题定义的宏 #define WINDOW_NAME3 "【绘制图3】" //为窗口标题定义... 阅读全文
posted @ 2019-04-21 21:59 hehe_2014 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 批处理输出文件名 删除指定类型的文件 批量修改文件扩展名 阅读全文
posted @ 2019-04-21 21:14 hehe_2014 阅读(116) 评论(0) 推荐(0) 编辑
摘要: #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include using namespace std; using namespace cv; int main(int, char**) { Mat I = Mat::eye(4, 4, CV_64F); I.at(... 阅读全文
posted @ 2019-04-21 20:24 hehe_2014 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 项目 =》属性 =》c/c++ =》预处理器=》点击预处理器定义,编辑,加入_CRT_SECURE_NO_WARNINGS,即可。 阅读全文
posted @ 2019-04-18 01:01 hehe_2014 阅读(278) 评论(0) 推荐(0) 编辑
摘要: @echo off setlocal enabledelayedexpansion for %%x in (*) do ( set /a sum+=1 echo %%x ) pause 阅读全文
posted @ 2019-04-18 00:59 hehe_2014 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 按下 Ctrl + PageUp 不松 或者 按下 Ctrl + PageUp 不松 多个文档,就会自动快速切换,方便阅览文件中的差异之处 阅读全文
posted @ 2019-04-01 11:06 hehe_2014 阅读(480) 评论(0) 推荐(1) 编辑
摘要: 波长λ=光速c/频率f 波长λ=(3*100000000)/433MHz 波长λ=0.69米 一般使用1/4波长的普通导线,即用导线长度应为17厘米 一般315M采用23cm的导线。433M的约为17cm。 315天线长度 23.8cm (30*10000*1000)/(315*1000000)/4 阅读全文
posted @ 2019-03-22 10:17 hehe_2014 阅读(3661) 评论(0) 推荐(0) 编辑
摘要: CV_EXPORTS_W Mat imread( const string& filename, int flags=1 ); filename:要读取的图像名称或带路径的文件名 flags:加载图像颜色类型,0:灰度,1:8位彩色,2:返回对应深度16位/32位深度的图像 阅读全文
posted @ 2019-03-14 22:59 hehe_2014 阅读(113) 评论(0) 推荐(0) 编辑
摘要: CV_EXPORTS_W void imshow( const string& winname, InputArray mat); winname:窗体名称 mat:要显示的图像数据 阅读全文
posted @ 2019-03-14 22:51 hehe_2014 阅读(341) 评论(0) 推荐(0) 编辑
摘要: CV_EXPORTS_W bool imwrite( const string& filename, InputArray img, const vector& params=vector() ); filename :要写入的图像名称,或带文件路径的图像名称 img :mat数据类型 params :特定格式保存的特殊编码,通常可以不用 阅读全文
posted @ 2019-03-14 22:46 hehe_2014 阅读(1762) 评论(0) 推荐(0) 编辑