影像配准及矢量化实验3.doc

上传人:夺命阿水 文档编号:23666 上传时间:2022-07-16 格式:DOC 页数:21 大小:1.55MB
返回 下载 相关 举报
影像配准及矢量化实验3.doc_第1页
第1页 / 共21页
影像配准及矢量化实验3.doc_第2页
第2页 / 共21页
影像配准及矢量化实验3.doc_第3页
第3页 / 共21页
影像配准及矢量化实验3.doc_第4页
第4页 / 共21页
影像配准及矢量化实验3.doc_第5页
第5页 / 共21页
点击查看更多>>
资源描述

《影像配准及矢量化实验3.doc》由会员分享,可在线阅读,更多相关《影像配准及矢量化实验3.doc(21页珍藏版)》请在课桌文档上搜索。

1、实验31. 利用影像配准(Georeferncing) 工具进展影像数据的地理配准2. 编辑器的使用点要素、线要素、多边形要素的数字化注意:在基于ArcMap 的操作过程中请注意保存地图文档第1步地形图的配准加载数据和影像配准工具1第2步输入控制点2第3步设定数据框的属性4第4步矫正并重采样栅格生成新的栅格文件6第5 步分层矢量化在ArcCatlog中创建一个线要素图层7第6步从已配准的地图上提出等高线并保存到上面创建的要素类中12根据GPS观测点数据配准影像并矢量化的步骤13课外练习:翻译18第1步 地形图的配准加载数据和影像配准工具数据:某某市西山区 普吉 地形图 1:10000 地形图所

2、有图件扫描后都必须经过扫描配准,对扫描后的栅格图进展检查,以确保矢量化工作顺利进展。l 打开ArcMap,添加“影像配准工具栏。l 把需要进展配准的影像ArcMap中,会发现“影像配准工具栏中的工具被激活。第2步 输入控制点在配准中我们需要知道一些特殊点的坐标。通过读图,我们可以得到一些控件点公里网格的交点,我们可以从图中均匀的取几个点。一般在实际中,这些点应该能够均匀分布。l 在影像配准工具栏上,点击“添加控制点按钮。l 使用该工具在扫描图上准确到找一个控制点点击,然后鼠标右击输入该点实际的坐标位置,如如下图所示:l 用一样的方法,在影像上增加多个控制点大于7个,输入它们的实际坐标。点击“影

3、像配准工具栏上的“查看表按钮。l 注意:在连接表对话框中点击“保存按钮,可以将当前的控制点保存为磁盘上的文件,以备使用。检查控制点的残差和RMS,删除残差特别大的控制点并重新选取控制点。转换方式设定为“二次多项式第3步 设定数据框的属性l 增加所有控制点,并检查均方差RMS后,在影像配准菜单下,点击“更新显示。执行菜单命令“视图“数据框属性,设定数据框属性在“常规选项页中,将地图显示单位设置为“米在“坐标系统选项页中,设定数据框的坐标系统为“Xian_1980_Degree_GK_CM_102E某某80投影坐标系,3度分带,东经102度中央经线,与扫描地图的坐标系一致l 更新后,就变成真实的坐

4、标。第4步 矫正并重采样栅格生成新的栅格文件l 在影像配准菜单下,点击“矫正,对配准的影像根据设定的变换公式重新采样,另存为一个新的影像文件。l 加载重新采样后得到的栅格文件,并将原始的栅格文件从数据框中删除。后面我们的数字化工作是对这个配准和重新采样后的影像进展操作的。通过上面的操作我们的数据已经完成了配准工作,下面我们将使用这些配准后的影像进展分层矢量化。第5 步 分层矢量化在ArcCatlog中创建一个线要素图层该数据采用的是某某80坐标系统、3度分带(1) 打开录下,鼠标右击,在“新建中,选择“个人 Geodatabase。并修改该Geodatabase数据库的名称例如test3.md

5、b。(2) 下面将为该Geodatbase创建新的要素类,首先创建一个“等高线要素类来存储等高线要素。在ArcCatalog中,鼠标右击test3这个个人 Geodatabase,在“新建中选择“要素类.(3) 输入创建的要素类的名称“等高线,点击下一步。(4) 点击下一步。下面将是我们创建新的要素类的关键,为我们的数据定义坐标系统,空间X围,存储要素类型。以与可以在这增加属性字段。(5) 点击Shape字段。在对话框中将显示详细的选项,我们首先点击“几何类型,并将要素类型选择为我们需要的类型我们现在要创建等高线这个要素类,所以应该选择线.(6) 点击“空间参考选项后面的按钮,在“空间参考属性

6、对话框中的“坐标系选项页下,将选择适宜的坐标系统,点击“选择按钮。在(Projected Coordinate Systems目录下,选择Gauss Kruger-Xian 1980-Xian_1980_Degree_GK_CM_102E.prj)。点击增加,现在这些坐标系统信息应该如如下图所示:(7) 再点击“X/Y 域选项页,在该选项页下为我们的数据定义存储的空间X围。该空间X围需要认真考虑,不仅要考虑你当前的纸制地图的空间X围,还要考虑到将来工作中还会出现的最大的空间X围。为确定这个区域XY最小值,XY(最大值),可以切换到ArcMap中,点击“绘制工具栏上的“矩形框按钮,在地图显示区中

7、画一个矩形,使区在更大X围内包含已配准的栅格地图。右键选中这个矩形框,设置“属性,将填充色设置为“无,可得到如下的效果:在矩形框属性的“大小和位置选项页中,可获取矩形框左下角和右上角的坐标X,Y,将这里获取的X,Y值分别填入到上面“空间参考属性对话框的“X/Y域选项页 “最小X、“最小Y、“最大X、“最大Y输入框中通过上面的操作我们为创建的要素类定义了正确的坐标系统和空间X围。(8) 下面我们将为该数据创建新的属性字段。“高程,类型设置为“Float用来存储等高线的高程值。(9) 点击完成这样,我们就创建了一个线状的要素类。第6步 从已配准的地图上提取等高线并保存到上面创建的要素类中(1) 切

8、换到ArcMap中, 将新建的线要素图层,加载到包含已配准地形图的数据框中(2) 打开“编辑器工具栏,在“编辑器下拉菜单中执行“开始编辑命令,并选择前面创建的“等高线要素类。确认编辑器中:任务为新建要素,目标为等高线,设置图层等高线的显示符号为红色,并设置为适宜的宽度。(3) 将地图放大到适宜的比例下,从中跟踪一条等高线并根据高程点判读其高程,输入该条等高线的高程。(4) 进展一步练习线要素的其它操作,比如线段的合并、分割、编辑顶点等操作(5) 可参照以上步骤,从地图中提出多边形要素比如居民地,并进一步熟悉多边形要素编辑的相关操作。根据GPS观测点数据配准影像并矢量化的步骤数据:扫描地图某某市

9、旅游休闲地图YNKM.JPG、Garmin 手持GPS野外采集数据gpsdata.dbf-GCS_WGS_1984 地理坐标系(1). 打开ArcMap,添加扫描地图YNKM.JPG,打开“影像配准工具栏在ArcMap的工具栏的空白区域点击鼠标右键,然后选择“影像配准2 参考练习2中最后一步的内容,根据gpsdata.dbf中的内容,将其转换为一个新的图层:GPS.shp,并将其添加到当前数据框中。ll 执行菜单命令, 在出现的菜单中指定坐标系统为地理坐标:GCS_WGS 1984, X坐标指定为经度E,Y坐标指定为纬度Nl 在TOC 面板中“显示视图下,右键选择图层“gpsdata事件,从右

10、键菜单中执行“数据“导出数据l 将GPS.shp 添加到当前的数据框中这里显示的数据就是第1个小组在野外用GPS获取的控制点,每个控制点在纸质地图上都有一个唯一的记号。(3) 在TOC中右键选择图层YNKM.JPG,在出现的菜单中点击“缩放到图层,并将其放大到某一尺度下4 比照第一组同学在进展GPS数据采集时所使用的纸质地图,在地图显示区中找到第1个控制点。点击“影像配准工具栏上的控制点选择工具,在扫描地图中,采集第1个GPS控制点的位置,点击。5在TOC中右键选择图层GPS,在出现的菜单中点击“缩放到图层,并将其放大到某一尺度下,并移动地图,可以方便地找到第1个控制点6 在地图显示区中,我们

11、可以看到第1组同学在野外采集的GPS控制点,找到与扫描地图中对应的那个GPS控制点,点击鼠标。7通过以上操作我们已经完成了第1个控制点的选择。以类似的方法,添加至少4个控制点。8如果操作正确,在完成以上操作后,扫描地图就被配准到了GCS_WGS_1984地理坐标系下。当鼠标在地图显示区移动时,在ArcMap状态栏上就会显示当前位置在GCS_WGS_1984坐标系下的经纬度坐标。在添加所有控制点,并检查RMS后,可使用下拉菜单“地理参考中的“矫正命令对栅格地图重采样。转换方法使用“二次多项式。加载重采样后的栅格地图,并将原始的扫描地图从数据模框中删除。9 在ArcCatlog中新建一个要素类,可

12、命名为:Schools,要素类型为点要素将用于从扫描图中提取各个学校的位置,添加所需要的字段用于存储学校的名称,坐标系统设置为WGS_1984地理坐标系与GPS野外数据一样10 将Schools图层添加到当前数据框中。11在TOC面板中,右键选择“图层,在出现的菜单中,点击“属性,设定数据框的坐标系为GCS_WGS_1984(12) 打开“编辑器工具栏,在“编辑器下拉菜单中执行“开始编辑命令,选择要编辑的图层Schools,确认“编辑器工具栏中,任务为新建要素,目标为Schools。13 将地图放大到适宜的比例下,在“编辑器中选中“草图工具,在地图中找到图例为的要素,在其所在位置,点击鼠标,分

13、层提取某某市的各高校位置数据点要素。打开属性表,修改要素属性,比如:输入学校的名称。14完成编辑后,停止编辑,并将修改结果保存到要素类Schools中。课外练习:翻译Edit features with the Editor toolbarIn this exercise, you will modify an existing parcels basemap. You will learn how to use some of the tools available on the Editor toolbar and get a feel for how easy it is to edit

14、 features in ArcMap. Estimated time to plete: 15 minutes(1) Step 1 Start ArcMap and load the data Start ArcMap and open a new map document. Click the Add Data button and navigate to your LearnArcGIS1workdataLesson02 folder. Double-click Subdivision.mdb, then click SubdivisionParcels. Click Add. The

15、SubdivisionParcels layer contains eight parcels.(2) Step 2 Open the Editor toolbar and start an edit session Before you can start an edit session, you must display the Editor toolbar. If its not currently displayed, click the Editing button on your Standard toolbar to add the Editor toolbar. If you

16、like, dock the toolbar somewhere else on your ArcMap window or undock it so that its floating on your desktop.Notice that most of the buttons, menus, and dropdown lists on the Editor toolbar are disabled. This is because you havent started an edit session. From the Editor menu on the Editor toolbar,

17、 choose Start Editing.The buttons, menus, and dropdown lists are now enabled.(3) Step 3 Select and move a parcel First, you will use the Edit button. The Edit button is the primary tool for selecting and moving features and manipulating vertices.Click the Edit button (it may already be active). Clic

18、k on the parcel in the northeast corner.The parcel is highlighted and your mouse pointer changes to indicate that you can drag the feature. Notice that several buttons are now enabled on the Editor toolbar.Drag the selected parcel to the right so that its no longer connected to the other parcels.Not

19、e: If you drag the parcel outside the map extent, follow these steps: from the View menu, choose Zoom Data, then Fixed Zoom Out until you can see the feature. (4) Step 4 Rotate a feature Next, you will rotate the selected parcel. The parcel will rotate around its selection anchor (the blue X in the

20、center of the parcel). If you docked the Editor toolbar, you may have to enlarge the ArcMap window to see the Rotate button.Click the Rotate button .Click and drag anywhere in the display to rotate the feature around its selection anchor.(5) Step 5 Move the features selection anchor You can move the

21、 selection anchor to see how the anchor affects the rotation of the feature.Hold your mouse pointer over the selection anchor until the pointer icon changes. Click and drag the selection anchor to a new location outside of the feature, slightly down and to the left. Rotate the parcel again.(6) Step

22、6 Specify a rotation angle You can also rotate a feature by specifying an angle. The angle is relative to the feature being rotated and is specified in degrees. A positive angle rotates the feature clockwise; a negative angle rotates the feature counterclockwise.Press A on your keyboard. Type 45 and

23、 press Enter to rotate the feature 45 degrees clockwise.(7) Step 7 Move a vertex You can use the Edit button to move a vertex.Click the Edit button and double-click the parcel that youve been editing. The parcels sketch appears to show you the location of its vertices and segments. Move your mouse p

24、ointer over the bottom vertex. Drag the vertex to a new location.The lines showing the new shape are part of the sketch. (8) Step 8 Delete a vertex You can modify vertices quickly using the context menu that appears when you right-click a sketch.Move your mouse pointer over the upper-left vertex. Ri

25、ght-click to access the Sketch context menu. Click Delete Vertex.Your sketch should resemble the one below擁f yours is different, thats OK.(9) Step 9 Add a vertex In addition to moving and deleting vertices, you can add vertices.Move your mouse pointer over the bottom line of the sketch. Right-click

26、to open the Sketch context menu and choose Insert Vertex.Click anywhere away from the sketch to finish editing its vertices.(10) Step 10 Delete the parcel Select the parcel by clicking it. On the Standard toolbar, click the Delete button or press Delete on your keyboard.The parcel is deleted.(11) Step 11 Save changes and exit ArcMap From the Editor menu, choose Stop Editing. Click Yes when prompted to save changes. From the File menu, choose Exit. Click No when prompted to save the map document.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 在线阅读 > 生活休闲


备案号:宁ICP备20000045号-1

经营许可证:宁B2-20210002

宁公网安备 64010402000986号