无人机像控点之记快速制作
表3 像控点之记成果——高速公路测绘项目像控点XK30点之记
点 号XK30所在影像号0553刺点者张三刺点日期2016.10.22检查者李四观测方式GPS-RTK观测者
张三位置所在地
张三B
L
H
大地坐标
23:03:57.15555
103:35:52.47290
1466.053
概略点位图(原影像图)
点位略图(放大图)
点位详细图(照片或略图表示)
备注点位刺于菜地田埂交汇处中心,高程测至地面
对CDocument中的table类的操作。
小。示例代码如下:
文本信息读写的示例代码如附录B。m_WordOperate.InsertPictureInTable(8,1, Thumb_(3)图片信息插入
JPG,425.50,283.65);
Word文档中存储的图片包括Shape和Inlineshapes(4)点之记成果生成
两种,本文中使用的是Inlineshapes。嵌入文本中的图通过对文本信息、图片等内容的插入,实现对若片可以在表格(table)中的Range的Inlineshapes集合中干个像控点之记成果的批量制作,得到的点之记成果获取。
文件为后续4D产品的生产提供了重要的参考文件。表3获取图片后,可在该位置插入图片,并设置其大为生成的单个像控点的点之记成果。
· 176 ·谢飞,等:无人机像控点之记快速制作
4 应用
{选取农村土地承包经营权确权颁证项目,对比分 ovName=(long)nPage+1;析使用该工具与传统方法在制作无人机像控点之记成 m_WordOperate.m_wdSel.GoTo(ovWhat,果上的优劣性。表4为两种方法制作相同数量点之记成ovWhich,ovCount,ovName);
果所使用的时间统计。可以看出,相比传统方法,使 CString tmp_ID=m_GCP_vec[nPage].用该工具后制作相同数量点之记成果时花费的时间减GCP_ID;
少了90%以上,而且随着像控点数量的增加,节省的时 CString tmp_title=m_Prj_Name+_T(\"像间更多,效果更明显。
控点\")+tmp_ID;
5 结束语
m_WordOperate.m_wdSel.TypeText(tmp_本文基于Word文档自动化操作提出了一种新的无title);
人机像控点之记制作的方法,能够实现点之记成果的 }自动化制作。通过实践证明应用该工具后点之记成果的制作效率大大提高,在减轻数据处理人员工作量的附录B——文本信息读写的示例代码
同时,也能够减少该环节时间成本的投入,达到提质//读取描述文件中的内容
增效的目的。
mReadFile.ReadString(gcp_str)
temp_str=gcp_str.Tokenize(_T(\" \\"),pos);附录A——创建多页Word文档代码
temp_GCP.Photo_ID=temp_str;m_WordOperate.m_wdSel.GoTo(ovWhat,ovWhich, //将内容写入表格ovCount, ovName);
m_cell=m_table.Cell(1,2);m_WordOperate.m_wdSel.put_End(End_Pos); m_cell.Select();
m_WordOperate.m_wdSel.Copy();
m_wdSel.TypeText(gcpData.GCP_ID);for (unsigned int nPage=1;nPage {[1] 王怒涛, 李大凯, 李丹, 等. VC++的Word文档中的表与图自动生成 ovName=(long)nPage+1;技术[J]. 石油工业计算机应用, 2015(2): 20-23. m_WordOperate.m_wdSel.GoTo(ovWhat,[2] 张燕. 航测外业像控点测量系统的设计与实现[J]. 城市勘测, ovWhich,ovCount,ovName); 2011(2): 103-104. COleVariant ovUnit((short)6);//wdStory=6[3] 魏国忠, 张省, 邹松柏. 省级像控点影像库的设计与应用[J]. 测绘 m_WordOperate.m_wdSel.通报, 2015(3): 71-73. EndKey(ovUnit,ovExtend); [4] 程松涛, 刘欣欣. 基于VC++的Word自动化操作研究[J]. 电脑编程 m_WordOperate.m_wdSel.技巧与维护, 2015(4): 33-34. InsertNewPage(); m_WordOperate.m_wdSel.[5] 姚文龙, 金守哲, 房龙. 像控点点之记批量修改的编程实现方法 PasteAndFormat(0); 探讨[J]. 测绘与空间地理信息, 2015(7): 216-217. } [6] 杨莹华, 余敦棠. 低空航空摄影测量像控点辅助设计与数字刺点 for (unsigned int nPage=0;nPage 表4 成果制作时间统计表 方法A县农经权项目B县农经权项目C县农经权项目D县农经权项目(像控点340个)(像控点520个)(像控点660个)(像控点1 530个)传统方法11.3 h17.3 h22 h51 h本文工具 0.47 h 0.72 h 0.92 h 2.12 h 下转第183页 · 177 ·梁金:基于PID算法的煤气鼓风机ABB Freelance 2000控制系统 ABB Freelance 2000 Control System of Gas-blowing Engine based on PID Algorithm LIANG Jin (Inner Mongolia Xinlian IT Co., Ltd., Baotou, Inner Mongolia, 014010, China) Abstract: The realization of ABB Freelance 2000 control system based on the PID algorithm in the pre- coking gas-blowing engine is introduced. Firstly, appropriate algorithm is selected to implement the parameter tuning and build the frequency variable speed regulation system based on the PID algorithm; secondly, ABB Freelance 2000 control system of gas-blowing engine is established; finally, the application effect is evaluated. The system realizes the start and stop interlock of the blowing engine and its oil pump, as well as the PID automatic speed regulation function of the blowing engine. The control system is sensitive and reliable, and the electrical equipment runs stably. Electricity of 503.4 thousand kWh and equivalent of coal of 3 016.19 t are conserved annually. Annual emission reductions are CO2 of 451.39 tons and SO2 of 78.86 tons. Key words:Gas-blowing Engine; PID; Freelance 2000 Control System; Configuration 上接第177页作者简介: 谢飞(1988—),通信作者,男,汉族,河南商丘人,硕士,工程师。主要从事工作:摄影测量与遥感影像处理。E-mail: xfhappiness@126.com 吴弦骏(1989—),土家族,湖北恩施人,硕士研究生,工程师。研究方向:摄影测量与遥感影像处理。 吴杰(1981—),汉族,重庆万州人,本科,高级工程师。研究方向:无人机航空摄影测量。 Rapid Production of Photo Control Description of Station for Unmanned Aerial Vehicles XIE Fei, WU Xian-jun, WU Jie (Power China Kunming Engineering Corporation Limited, Kunming, Yunnan, 650041, China) Abstract: Introduced is a method of producing the photo control description of station in the Word format for unmanned aerial vehicles (UAV). By using VC++, a reference to Microsoft.Office.Interop.Word is added in VS 2010, for the development of a rapid production tool. The use of this tool saves the production time of at least 90%, and with the amount increase, more time is saved, and the efficiency is more obvious. Not only is the workload of internal data management reduced, but also, invalid time consumption is avoided. Key words:Photo Control Description of Station; VC++; Word; Unmanned Aerial Vehicles; Internal Data · 183 · 因篇幅问题不能全部显示,请点此查看更多更全内容