CN117725141A - Method and related devices for constructing vector road network map of open-pit mining area based on deep learning - Google Patents
Method and related devices for constructing vector road network map of open-pit mining area based on deep learning Download PDFInfo
- Publication number
- CN117725141A CN117725141A CN202311723219.XA CN202311723219A CN117725141A CN 117725141 A CN117725141 A CN 117725141A CN 202311723219 A CN202311723219 A CN 202311723219A CN 117725141 A CN117725141 A CN 117725141A
- Authority
- CN
- China
- Prior art keywords
- open
- road
- model
- pit
- road network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005065 mining Methods 0.000 title claims abstract description 93
- 238000013135 deep learning Methods 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000010276 construction Methods 0.000 claims abstract description 30
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000005457 optimization Methods 0.000 claims abstract description 15
- 238000000605 extraction Methods 0.000 claims abstract description 14
- 230000009467 reduction Effects 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims description 30
- 238000012549 training Methods 0.000 claims description 23
- 238000004364 calculation method Methods 0.000 claims description 19
- 235000015220 hamburgers Nutrition 0.000 claims description 11
- 230000008676 import Effects 0.000 claims description 11
- 238000012360 testing method Methods 0.000 claims description 9
- 238000012795 verification Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 7
- 230000000877 morphologic effect Effects 0.000 claims description 6
- 238000007781 pre-processing Methods 0.000 claims description 6
- 238000003860 storage Methods 0.000 claims description 5
- 241000083513 Punctum Species 0.000 claims description 4
- 238000004422 calculation algorithm Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 4
- 230000014509 gene expression Effects 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 239000011159 matrix material Substances 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 235000008733 Citrus aurantifolia Nutrition 0.000 description 2
- 235000011941 Tilia x europaea Nutrition 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 239000004571 lime Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007664 blowing Methods 0.000 description 1
- 235000008429 bread Nutrition 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000005530 etching Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 229910052500 inorganic mineral Inorganic materials 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000011707 mineral Substances 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Image Analysis (AREA)
Abstract
Description
技术领域Technical field
本发明属于矢量路网地图绘制技术领域,同时属于计算机应用领域,涉及深度学习中的图像语义分割,特别涉及基于深度学习的露天矿区矢量路网地图构建方法及相关装置。The invention belongs to the technical field of vector road network map drawing, and also belongs to the field of computer application. It relates to image semantic segmentation in deep learning, and in particular to a deep learning-based vector road network map construction method for open-pit mining areas and related devices.
背景技术Background technique
如今在智慧矿山建设大力发展的环境下,矿卡车的智能调度系统与无人驾驶技术都离不开精准的露天矿高精度路网地图,它在采场运输中占据重要的主导作用。并且随着无人驾驶技术在露天矿的实施应用,矿区道路的高精度路网地图构建变得越来越重要。准确的露天矿路网地图信息为露天矿无人驾驶智能交通导航、智能调度、数字地图更新、路径规划、应急保障等方面提供了重大的应用意义。Nowadays, in the environment of vigorous development of smart mine construction, the intelligent dispatching system and driverless technology of mining trucks are inseparable from the accurate high-precision road network map of open-pit mines, which plays an important and leading role in stope transportation. And with the implementation and application of driverless technology in open-pit mines, the construction of high-precision road network maps for mining areas has become increasingly important. Accurate open-pit mine road network map information provides significant application significance for open-pit mine unmanned intelligent traffic navigation, intelligent dispatching, digital map updates, path planning, emergency support and other aspects.
然而随着露天矿开采和排卸的不断移动,车辆运输路线也随之变化,矿物质需要被运输到相应的卸载点,导致露天矿道路网在开采过程中变化十分频繁,如果露天矿路网地图更新不够及时,可以会影响车辆的智能调度系统以及无人驾驶,进而影响矿区的生产状况。因此,对露天矿路网地图的构建必须高效且准确。However, with the continuous movement of open-pit mine mining and discharge, vehicle transportation routes also change, and minerals need to be transported to corresponding unloading points, resulting in the open-pit mine road network changing very frequently during the mining process. If the open-pit mine road network If the map update is not timely enough, it may affect the vehicle's intelligent dispatching system and driverless driving, thereby affecting the production status of the mining area. Therefore, the construction of open pit mine road network maps must be efficient and accurate.
目前基于深度学习的方法在露天矿道路提取方面取得了很大的成绩,它不仅能完整地保留道路周边环境信息,而且还能高效精准的提取道路区域。但是他们所构建的路网数据并非矢量化的,无法体现露天矿每个区域的经纬度信息,因此也就无法用于车辆运行轨迹的实时监控,更无法直接为矿卡车的智能调度与无人驾驶提供有效帮助。如何解决在复杂环境背景下,定期对露天矿矢量路网地图进行精确化的更新制作,是智能矿山建设的重难点。At present, methods based on deep learning have achieved great results in road extraction in open-pit mines. It can not only completely retain the road surrounding environment information, but also extract road areas efficiently and accurately. However, the road network data they constructed is not vectorized and cannot reflect the longitude and latitude information of each area of the open-pit mine. Therefore, it cannot be used for real-time monitoring of vehicle movement trajectories, and it cannot directly provide intelligent dispatching and driverless driving for mining trucks. Provide effective help. How to regularly and accurately update and produce open-pit mine vector road network maps in complex environmental backgrounds is a major difficulty in the construction of smart mines.
发明内容Contents of the invention
为了露天矿路网地图高效准确的更新制作,并考虑以往基于深度学习技术提取道路区域的不足,本发明的目的在于提供基于深度学习的露天矿区矢量路网地图构建方法及相关装置。In order to update and produce open-pit mine road network maps efficiently and accurately, and taking into account the shortcomings of extracting road areas based on deep learning technology in the past, the purpose of the present invention is to provide a deep learning-based vector road network map construction method for open-pit mine areas and related devices.
本发明采用的技术方案如下:The technical solutions adopted by the present invention are as follows:
基于深度学习的露天矿区矢量路网地图构建方法,包括如下过程:The deep learning-based vector road network map construction method for open-pit mining areas includes the following processes:
采集包含有地理位置信息的露天矿区倾斜摄影图像,并对采集的露天矿区倾斜摄影图像进行预处理,预处理过程包括低光图像增强和降噪处理;Collect oblique photography images of the open-pit mining area that contain geographical location information, and preprocess the collected oblique photography images of the open-pit mining area. The pre-processing process includes low-light image enhancement and noise reduction processing;
通过已训练好的深度学习网络模型对预处理后的露天矿区倾斜摄影图像进行图像提取,提取出露天矿区中的道路区域图像;The pre-processed oblique photography images of the open-pit mining area are used to extract images through the trained deep learning network model, and the road area images in the open-pit mining area are extracted;
对所述道路区域图像进行优化处理,得到优化处理后的道路区域图像;Perform optimization processing on the road area image to obtain an optimized road area image;
基于所述优化处理后的道路区域图像构建露天矿路网正射影像模型和数字表面模型;Construct an open-pit mine road network orthophoto model and a digital surface model based on the optimized road area image;
利用所述露天矿路网正射影像模型和数字表面模型,对露天矿区中的道路区域进行矢量化,制作得到露天矿矢量路网地图。The open-pit mine road network orthophoto model and digital surface model are used to vectorize the road areas in the open-pit mine area, and a vector road network map of the open-pit mine is produced.
优选的,采集包含有地理位置信息的露天矿区倾斜摄影图像时,在离地预设高度、地面重叠率为75%的条件下按照正射角度以及以45度的斜射角度拍摄。Preferably, when collecting oblique photography images of open-pit mining areas that contain geographical location information, they are taken at a preset height above the ground and at a ground overlap rate of 75% at an orthographic angle and at an oblique angle of 45 degrees.
优选的,所述深度学习网络模型的建立过程包括:Preferably, the establishment process of the deep learning network model includes:
通过结合十字形窗口自注意力、局部增强位置编码和轻量级Hamburger解码器建立所述深度学习网络模型;The deep learning network model is established by combining cross-shaped window self-attention, local enhanced position encoding and lightweight Hamburger decoder;
所述深度学习网络模型的训练过程包括:The training process of the deep learning network model includes:
采集包含有地理位置信息的露天矿区倾斜摄影图像,并对采集的露天矿区倾斜摄影图像进行预处理;Collect oblique photography images of open-pit mining areas that contain geographical location information, and preprocess the collected oblique photography images of open-pit mining areas;
基于labelme工具对预处理后的露天矿区倾斜摄影图像中的道路区域进行人工标注并建立道路数据集;Based on the labelme tool, the road areas in the pre-processed oblique photography images of the open-pit mining area are manually labeled and a road data set is established;
将所述道路数据集划分为训练集、验证集和测试集,其中将包含临时道路50%以上的图像都划分为训练集,其他图像随机划分至验证集和测试集;Divide the road data set into a training set, a verification set and a test set, in which more than 50% of the images containing temporary roads are divided into the training set, and other images are randomly divided into the verification set and the test set;
将二分类交叉熵损失函数BCE和用于解决类别不平衡问题的Focal Loss相结合,建立CSHformer网络模型训练过程中的损失函数;The binary cross-entropy loss function BCE is combined with the Focal Loss used to solve the class imbalance problem to establish the loss function in the CSHformer network model training process;
基于所述CSHformer网络模型,利用所述训练集、验证集和测试集对深度学习网络模型进行训练。Based on the CSHformer network model, the deep learning network model is trained using the training set, verification set and test set.
优选的,所述深度学习网络模型框架如下:Preferably, the deep learning network model framework is as follows:
将大小为512×512×3的输入图像通过Convolutional Token Embeeding进行卷积操作,获得大小为128×128的patch tokens,接着通过4个stage产生不同的层级表达,每个stage包含Nt个连续的Cswin tranformer block,每个相邻的stage之间使用卷积核大小为3×3、步长为2的卷积操作来减少token的数量,增加通道数,其中第i层特征图大小为将stage2、stage3、stage4的特征层连接之后通过Hamburger模型来进一步建模全局环境,再经过MLP层和辅助层FCN输出结果。The input image of size 512×512×3 is convolved through Convolutional Token Embeeding to obtain patch tokens of size 128×128, and then different hierarchical expressions are generated through 4 stages. Each stage contains N t consecutive Cswin transformer block, a convolution operation with a convolution kernel size of 3×3 and a step size of 2 is used between each adjacent stage to reduce the number of tokens and increase the number of channels. The size of the i-th layer feature map is After connecting the feature layers of stage2, stage3, and stage4, the global environment is further modeled through the Hamburger model, and then the results are output through the MLP layer and the auxiliary layer FCN.
优选的,对所述道路区域图像进行优化处理包括:Preferably, optimizing the road area image includes:
对所述道路区域图像采用形态学操作进行断路连接,采用Zhang-Suen细化算法对路网区域进行细化处理,采用SwinIR模型进行图像超分辨率处理。Morphological operations are used to perform disconnection and connection on the road area images, the Zhang-Suen thinning algorithm is used to refine the road network area, and the SwinIR model is used for image super-resolution processing.
优选的,基于所述优化处理后的道路区域图像构建露天矿路网正射影像模型和数字表面模型过程包括:Preferably, the process of constructing the open-pit mine road network orthophoto model and digital surface model based on the optimized road area image includes:
根据同名匹配的方法将采集的露天矿区倾斜摄影图像中的地理位置信息赋予到优化处理后的道路区域图像中,得到附有地理位置信息的优化处理后的道路区域图像;According to the matching method of the same name, the geographical location information in the collected oblique photography images of the open-pit mining area is assigned to the optimized road area image, and the optimized road area image with the geographical location information is obtained;
将附有地理位置信息的优化处理后的道路区域图像导入用ContextCapture软件,ContextCapture软件对导入的附有地理位置信息的优化处理后的道路区域图像进行空中三角测量计算,根据刺点和像控点信息,对已经刺点的影像进行空三优化,生成具有真实纹理的高分辨率三角网格模型,还原露天矿建模对象的几何外观和纹理特征,之后导出TIFF格式的路网正射影像模型和数字表面模型。Import the optimized road area image with geographical location information into the ContextCapture software. The ContextCapture software performs aerial triangulation calculation on the imported optimized road area image with geographical location information. Based on the punctum and image control points information, perform aerial triangulation optimization on the punctuated image, generate a high-resolution triangular mesh model with real texture, restore the geometric appearance and texture characteristics of the open-pit mine modeling object, and then export the road network orthophoto model in TIFF format and digital surface models.
优选的,通过GIS平台加载所述露天矿路网正射影像模型和数字表面模型,对露天矿区中的道路区域进行矢量化,制作得到露天矿矢量路网地图,包括如下过程:Preferably, the open-pit mine road network orthoimage model and digital surface model are loaded through the GIS platform, the road areas in the open-pit mining area are vectorized, and the open-pit mine vector road network map is produced, including the following processes:
将露天矿路网正射影像模型和数字表面模型导入到GIS平台中,去除露天矿路网正射影像模型的影像黑边;Import the open-pit mine road network orthophoto model and digital surface model into the GIS platform to remove the image black edges of the open-pit mine road network orthophoto model;
利用坐标转换工具将露天矿路网正射影像模型和数字表面模型的坐标系转换为WGS84大地坐标系,之后再对矿区内路网区域、路网中心线、路网中心线拐点进行矢量化,并将高程信息贴加至矢量化后的道路数据中,最终形成整个露天矿区的矢量路网地图。Use coordinate conversion tools to convert the coordinate systems of the open-pit mine road network orthophoto model and digital surface model into the WGS84 geodetic coordinate system, and then vectorize the road network area, road network centerline, and road network centerline inflection points within the mining area. And the elevation information is added to the vectorized road data, finally forming a vector road network map of the entire open-pit mining area.
本发明还提供了基于深度学习的露天矿区矢量路网地图构建系统,用于实现上述基于深度学习的露天矿区矢量路网地图构建方法,包括:The present invention also provides a deep learning-based open-pit mining area vector road network map construction system, which is used to implement the above-mentioned deep learning-based open-pit mining area vector road network map construction method, including:
图像采集模块:用于采集包含有地理位置信息的露天矿区倾斜摄影图像,并对采集的露天矿区倾斜摄影图像进行预处理,预处理过程包括低光图像增强和降噪处理;Image acquisition module: used to collect oblique photography images of open-pit mining areas that contain geographical location information, and pre-process the collected oblique photography images of open-pit mining areas. The pre-processing process includes low-light image enhancement and noise reduction processing;
图像提取模块:用于通过已训练好的深度学习网络模型对预处理后的露天矿区倾斜摄影图像进行图像提取,提取出露天矿区中的道路区域图像;Image extraction module: used to extract the pre-processed oblique photography images of the open-pit mining area through the trained deep learning network model, and extract the road area image in the open-pit mining area;
图像优化模块:用于对所述道路区域图像进行优化处理,得到优化处理后的道路区域图像;Image optimization module: used to optimize the road area image to obtain an optimized road area image;
建模模块:用于基于所述优化处理后的道路区域图像构建露天矿路网正射影像模型和数字表面模型;Modeling module: used to construct an open-pit mine road network orthophoto model and a digital surface model based on the optimized road area image;
地图构建模块:用于利用所述露天矿路网正射影像模型和数字表面模型,对露天矿区中的道路区域进行矢量化,制作得到露天矿矢量路网地图。Map construction module: used to vectorize the road areas in the open-pit mining area using the orthophoto model and digital surface model of the open-pit mine road network, and produce a vector road network map of the open-pit mine.
本发明还提供了一种电子设备,包括:The invention also provides an electronic device, including:
一个或多个处理器;one or more processors;
存储装置,其上存储有一个或多个程序;A storage device on which one or more programs are stored;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现本发明如上所述的基于深度学习的露天矿区矢量路网地图构建方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the deep learning-based open-pit mining area vector road network map construction method of the present invention as described above.
本发明还提供了一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现本发明如上所述的基于深度学习的露天矿区矢量路网地图构建方法。The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the deep learning-based vector road network map construction method for open-pit mining areas of the present invention is implemented as described above.
本发明具有如下有益效果:The invention has the following beneficial effects:
本发明基于深度学习的露天矿区矢量路网地图构建方法构建出了露天矿区矢量路网地图,这样通过采集包含有地理位置信息的露天矿区倾斜摄影图像,通过本发明的方法就能及时更新露天矿区矢量路网地图,这种矢量路网地图能够体现露天矿每个区域的经纬度信息,因此也就能够用于车辆运行轨迹的实时监控,能直接为矿卡车的智能调度与无人驾驶提供有效帮助。本发明的地图构建方法能够极大地节省人力物力,更加高效准确地提取了露天矿区道路信息。The present invention constructs a vector road network map of the open-pit mining area based on the deep learning vector road network map construction method of the open-pit mining area. In this way, by collecting oblique photographic images of the open-pit mining area containing geographical location information, the open-pit mining area can be updated in a timely manner through the method of the present invention. Vector road network map. This vector road network map can reflect the longitude and latitude information of each area of the open-pit mine. Therefore, it can be used for real-time monitoring of vehicle movement trajectories, and can directly provide effective help for the intelligent dispatching and driverless driving of mining trucks. . The map construction method of the present invention can greatly save manpower and material resources, and extract road information in open-pit mining areas more efficiently and accurately.
附图说明Description of the drawings
图1是本发明实施例中基于深度学习的露天矿区矢量路网地图构建方法的流程图。Figure 1 is a flow chart of a method for constructing a vector road network map in an open-pit mining area based on deep learning in an embodiment of the present invention.
图2是本发明实施例中图像预处理结果示例图,其中(a)为原始图像,(b)为降噪后的图像,(c)为低光图像增强后的图像。Figure 2 is an example diagram of image preprocessing results in an embodiment of the present invention, in which (a) is the original image, (b) is the image after noise reduction, and (c) is the image after low-light image enhancement.
图3是本发明实施例中构建的CSHformer网络模型框架图。Figure 3 is a framework diagram of the CSHformer network model constructed in the embodiment of the present invention.
图4是本发明实施例中十字形窗口自注意力的计算示意图,其中(a)为十字形窗口图,(b)为横条纹自注意力的计算过程图,(c)为将横条纹与竖条纹自注意力的计算连接在一起输出十字形窗口自注意力的最终计算结果图。Figure 4 is a schematic diagram of the calculation of cross-shaped window self-attention in the embodiment of the present invention, in which (a) is a cross-shaped window diagram, (b) is a calculation process diagram of horizontal stripe self-attention, and (c) is a calculation process diagram of horizontal stripes and The calculations of the vertical stripe self-attention are connected together to output the final calculation result map of the cross-shaped window self-attention.
图5是本发明实施例中形态学断路连接过程示意图。Figure 5 is a schematic diagram of the morphological disconnection process in the embodiment of the present invention.
图6是本发明实施例中提取道路区域后的图像经优化处理的结果示例,其中,(a)为提取道路区域后的图像,(b)为道路连接后图像,(c)为路网细化后图像,(d)为超分辨率后图像。Figure 6 is an example of the result of optimization processing of the image after extracting the road area in the embodiment of the present invention, where (a) is the image after extracting the road area, (b) is the image after the roads are connected, and (c) is the road network details. The image after transformation, (d) is the image after super-resolution.
图7是本发明实施例中路网数据矢量化操作流程图。Figure 7 is a flow chart of road network data vectorization operations in the embodiment of the present invention.
图8为本发明实施例中基于深度学习的露天矿区矢量路网地图构建系统的结构框图。Figure 8 is a structural block diagram of a vector road network map construction system for an open-pit mining area based on deep learning in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例来对本发明进行详细说明。The present invention will be described in detail below with reference to the drawings and examples.
本发明基于深度学习的露天矿区矢量路网地图构建方法,构建了一种融合十字形窗口自注意力、局部增强位置编码(LePE)和轻量级Hamburger解码器的深度学习网络模型—CSHformer,它在具有更少计算量的同时还能保证更高精度的提取效果。通过对露天矿提取的道路图像做断路连接、细化以及超分辨率等优化处理。在具体实施时,将无人机倾斜摄影图像原有的经纬度信息赋予到提取后的道路图像中,并构建露天矿路网正射影像模型和数字表面模型,通过矢量化路网区域、路网中心线、路网中心线拐点,实现露天矿矢量路网地图的制作。This invention is based on a deep learning method for constructing vector road network maps in open-pit mining areas, and constructs a deep learning network model-CSHformer that integrates cross-shaped window self-attention, local enhanced position encoding (LePE) and lightweight Hamburger decoder. It has less calculation amount and can also ensure higher precision extraction effect. The road images extracted from the open-pit mine are optimized through disconnection, thinning and super-resolution. During the specific implementation, the original longitude and latitude information of the UAV oblique photography image was assigned to the extracted road image, and an orthophoto model and a digital surface model of the open-pit mine road network were constructed. By vectorizing the road network area, road network The center line and the inflection point of the road network center line realize the production of open-pit mine vector road network map.
具体的,本发明基于深度学习的露天矿区矢量路网地图构建方法包括以下步骤:Specifically, the deep learning-based vector road network map construction method for open-pit mining areas of the present invention includes the following steps:
步骤一:利用无人机采集露天矿区倾斜摄影图像,并对其进行低光图像增强和降噪处理,基于labelme工具对图像中的道路区域进行人工标注建立道路数据集;具体的,通过无人机在清晨捕捉特殊的光线和阴影效果,在中午记录正常照明条件下的画面,在阴天光线柔和、阴影较淡、细节突出的条件下拍摄露天矿道路图像。同时无人机还要在距离地面200米的高度、地面重叠率为75%的条件下按照正射角度拍摄用于制作精确的地图的测量,以45度的斜射角度拍摄以获取更多的立体感和细节。Step 1: Use drones to collect oblique photography images of open-pit mining areas, and perform low-light image enhancement and noise reduction processing on them. Based on the labelme tool, the road areas in the images are manually annotated to establish a road data set; specifically, through unmanned The camera captures special light and shadow effects in the early morning, records images under normal lighting conditions at noon, and captures open-pit mine road images under cloudy conditions with soft light, lighter shadows and outstanding details. At the same time, the drone must shoot at an orthogonal angle to make accurate maps at a height of 200 meters from the ground and with a ground overlap rate of 75%, and at an oblique angle of 45 degrees to obtain more three-dimensional images. sense and detail.
无人机采集的道路图像分辨率都为5472×3648,且每张图像都会记录其对应的地理位置信息,采用的坐标系为CGCS2000大地坐标系。考虑计算机的性能,先将图像通过3列2行的切分方式均分为6份,再将均分后的图像分辨率由1824×1824Resize为512×512,均分后的图像命名格式为:原始图像名称_01~06。The resolution of road images collected by drones is 5472×3648, and each image records its corresponding geographical location information. The coordinate system used is the CGCS2000 geodetic coordinate system. Considering the performance of the computer, first divide the image into 6 equal parts by dividing it into 3 columns and 2 rows, and then resize the image resolution from 1824×1824 to 512×512. The naming format of the divided image is: Original image name_01~06.
由于露天矿区自然环境较差和复杂的矿区作业,如卡车运载、挖掘等机械操作,导致矿区现场常常伴有尘土、扬沙等现象,有时甚至会受到天气的影响,这些客观条件都会影响图像质量。经对原始数据集的分析,发现部分图片模糊不清、色彩暗淡,会影响深度学习网络模型对图像中道路特征进行学习和提取。本文利用基于Retinex建模的Low-LightImage Enhancement(LIME)方法尽可能清晰的还原出较暗光照环境下的露天矿道路信息,并利用Restormer模型对露天矿道路图像的噪声点进行有效去除。Due to the poor natural environment of open-pit mining areas and complex mining operations, such as truck transportation, excavation and other mechanical operations, mining sites are often accompanied by dust, blowing sand and other phenomena, and sometimes even affected by weather. These objective conditions will affect the image quality. . After analysis of the original data set, it was found that some images were blurry and dim, which would affect the deep learning network model's learning and extraction of road features in the image. This article uses the Low-Light Image Enhancement (LIME) method based on Retinex modeling to restore the open-pit mine road information in a darker lighting environment as clearly as possible, and uses the Restormer model to effectively remove the noise points of the open-pit mine road image.
道路提取是二分类任务,基于labelme工具对图像中的道路区域进行人工标注“road”标签,背景就为“background”标签。分析露天矿道路图像中所包含的固定道路、半固定道路、移动道路和临时道路的占比和与周围环境像素区别情况。考虑临时道路与周围环境边界不明显,为了让深度学习网络模型学习临时道路更多的细节特征,将包含临时道路50%及其以上的图像都划分为训练集,其他图像随机划分。最终得到训练集4558张,验证集1140张,测试集1424张用于深度学习网络模型预训练。Road extraction is a two-classification task. The road area in the image is manually labeled with the "road" label based on the labelme tool, and the background is labeled with the "background" label. Analyze the proportion of fixed roads, semi-fixed roads, mobile roads and temporary roads contained in open-pit mine road images and the pixel differences with the surrounding environment. Considering that the boundary between temporary roads and the surrounding environment is not obvious, in order to allow the deep learning network model to learn more detailed features of temporary roads, images containing 50% or more of temporary roads are divided into training sets, and other images are randomly divided. Finally, 4558 training sets, 1140 verification sets, and 1424 test sets were obtained for pre-training of the deep learning network model.
步骤二:建立深度学习网络模型,基于露天矿道路数据集进行预训练,采用预训练后的模型提取露天矿区中的道路区域;具体的,通过结合十字形窗口自注意力、局部增强位置编码(LePE)和轻量级Hamburger解码器建立深度学习网络模型—CSHformer。该模型利用CSWin Transformer Block提取多级特征,与轻量级Hamburger模型构成编码器-解码器结构,通过低层特征信息与高层特征信息相融合,可以有效减少特征信息的丢失,并且它在具有更少计算量的同时还能保证更高精度的提取效果,能够满足露天矿需要经常高效准确更新路网地图的条件。Step 2: Establish a deep learning network model, conduct pre-training based on the open-pit mine road data set, and use the pre-trained model to extract the road area in the open-pit mining area; specifically, by combining cross-shaped window self-attention and local enhanced position coding ( LePE) and lightweight Hamburger decoder to build a deep learning network model-CSHformer. This model uses CSWin Transformer Block to extract multi-level features, and forms an encoder-decoder structure with the lightweight Hamburger model. By integrating low-level feature information with high-level feature information, the loss of feature information can be effectively reduced, and it has fewer features. While reducing the amount of calculations, it can also ensure a higher-precision extraction effect, which can meet the conditions of open-pit mines that require frequent and accurate updates of road network maps.
步骤三:对于提取后的道路图像,采用形态学操作进行断路连接,采用Zhang-Suen细化算法对路网区域进行细化处理,采用SwinIR模型进行图像超分辨率处理;具体的,对于特征信息极其不明显的露天矿临时道路,CSHformer网络模型仍然不能很好的对其进行分割。路网提取结果会存在道路断接、孔洞,路网骨架结构不明显等问题。为构建露天矿路网正射影像模型,还需将路网提取后的图像还原至原分辨率大小5472×3648,直接resize的操作会损伤图像信息,需要做进一步优化处理。具体优化过程如下:Step 3: For the extracted road image, use morphological operations for disconnection, use Zhang-Suen thinning algorithm to refine the road network area, and use the SwinIR model for image super-resolution processing; specifically, for feature information The CSHformer network model still cannot segment the extremely obscure temporary road in the open-pit mine. The road network extraction results will have problems such as road disconnections, holes, and unclear road network skeleton structure. In order to construct an orthophoto model of the open-pit mine road network, it is necessary to restore the extracted image of the road network to the original resolution size of 5472×3648. Direct resize operation will damage the image information and requires further optimization. The specific optimization process is as follows:
(1)断路连接:基于形态学图像处理技术,利用3×3的正方形结构元素测量输入图像的结构,对需要进行短路连接的图像首先进行膨胀操作连接之前分离的道路区域,但同时也会强化道路的边缘特征。为了最大程度地还原原始区域的形状,再采用腐蚀操作,以修复膨胀过程中扩展的边缘部分。(1) Open-circuit connection: Based on morphological image processing technology, 3×3 square structural elements are used to measure the structure of the input image. For images that require short-circuit connection, an expansion operation is first performed to connect the previously separated road areas, but it will also be strengthened at the same time. Road edge features. In order to restore the shape of the original area to the greatest extent, an etching operation is used to repair the edge portion that expanded during the expansion process.
(2)细化处理:采用Zhang-Suen细化算法对露天矿提取后的道路区域进行细化处理,提取道路骨架信息,使得最终地图的道路结构更加直观清晰。(2) Refinement processing: The Zhang-Suen refinement algorithm is used to refine the road area extracted from the open pit mine, and extract the road skeleton information, making the road structure of the final map more intuitive and clear.
(3)超分辨率:露天矿提取后的道路图像分辨率都为512×512,由于后续构建露天矿路网正射影像模型时需要将无人机采集的原始图像中的地理位置信息赋予至对应的图像中去,先根据图像同名称匹配的方法将均分后的6张图像合并,再采用SwinIR模型来将合并后的图像进行超分辨率,尽可能还原出原始的图像信息。(3) Super-resolution: The resolution of the road images extracted from the open-pit mine is 512×512. Since the subsequent construction of the orthophoto model of the open-pit mine road network requires the geographical location information in the original images collected by the drone to be assigned to In the corresponding images, first merge the six equally divided images according to the image name matching method, and then use the SwinIR model to super-resolve the merged images to restore the original image information as much as possible.
步骤四:基于优化处理后的露天矿道路图像构建露天矿路网正射影像模型(DOM)和数字表面模型(DSM);具体的,通过CSHformer网络模型提取的露天矿道路图像会丢失地理位置信息,根据同名匹配的方法将无人机拍摄的原始图像中的地理信息赋予到提取后优化处理后的露天矿道路图像中,用于露天矿路网正射影像的构建;利用ContextCapture软件对导入的附有地理位置信息的露天矿道路图像进行空中三角测量计算,根据刺点和像控点信息,对已经刺点的影像进行空三优化,生成具有真实纹理的高分辨率三角网格模型,准确还原露天矿建模对象的几何外观和纹理特征,并导出TIFF格式的路网正射影像模型(DOM)和数字表面模型(DSM)。Step 4: Construct the open-pit mine road network orthophoto model (DOM) and digital surface model (DSM) based on the optimized open-pit mine road images; specifically, the open-pit mine road images extracted through the CSHformer network model will lose geographical location information , according to the matching method of the same name, the geographical information in the original image taken by the drone is assigned to the extracted and optimized open-pit mine road image, which is used to construct the orthophoto of the open-pit mine road network; ContextCapture software is used to import the imported Aerial triangulation calculations are performed on open-pit mine road images with geographical location information. Based on the punctum and image control point information, aerial triangulation optimization is performed on the punctuated image to generate a high-resolution triangular mesh model with real textures, which is accurate Restore the geometric appearance and texture characteristics of open-pit mine modeling objects, and export the road network orthophoto model (DOM) and digital surface model (DSM) in TIFF format.
步骤五:通过GIS平台加载DOM和DSM,对路网区域进行矢量化,制作露天矿矢量路网地图。具体的,将露天矿路网正射影像模型(DOM)和数字表面模型(DSM)导入到GIS平台中,去除DOM模型的影像黑边。为了匹配GIS平台中的底图(世界地图),利用坐标转换工具将DOM和DSM的坐标系转换为WGS84大地坐标系。对矿区内的路网区域、路网中心线、路网中心线拐点进行矢量化,并将高程信息贴加至矢量化后的路网数据中,最终形成整个露天矿区的矢量路网地图。Step 5: Load DOM and DSM through the GIS platform, vectorize the road network area, and create a vector road network map of the open-pit mine. Specifically, the open-pit mine road network orthophoto model (DOM) and digital surface model (DSM) were imported into the GIS platform to remove the black edges of the DOM model. In order to match the base map (world map) in the GIS platform, use the coordinate conversion tool to convert the coordinate systems of the DOM and DSM into the WGS84 geodetic coordinate system. The road network area, road network centerline, and road network centerline inflection points in the mining area are vectorized, and the elevation information is added to the vectorized road network data, ultimately forming a vector road network map of the entire open-pit mining area.
从上述方案可以看出,本发明在露天矿非结构化道路边缘不明显、背景干扰较多的环境下,利用深度学习技术快速准确的提取路网信息。基于矢量化后的路网数据可对位置有所误差的矿区车辆进行路网匹配,满足露天矿区车辆高精度定位的需求。It can be seen from the above solution that the present invention uses deep learning technology to quickly and accurately extract road network information in an environment where the edges of unstructured roads in open-pit mines are not obvious and there is a lot of background interference. Based on the vectorized road network data, the road network matching of mining area vehicles with position errors can be performed to meet the needs of high-precision positioning of vehicles in open-pit mining areas.
实施例Example
本实施例以河南洛阳某露天矿区道路为研究对象。如图1所示,为该露天矿矢量路网地图构建的方法流程图,主要分为五个步骤。This embodiment takes the road in an open-pit mining area in Luoyang, Henan as the research object. As shown in Figure 1, the method flow chart for constructing the vector road network map of this open-pit mine is mainly divided into five steps.
步骤1,通过无人机在清晨捕捉特殊的光线和阴影效果,在中午记录正常照明条件下的画面,在阴天光线柔和、阴影较淡、细节突出的条件下拍摄露天矿道路图像。同时无人机还要在距离地面200米的高度、地面重叠率为75%的条件下按照正射角度拍摄用于制作精确的地图的测量,以45度的斜射角度拍摄以获取更多的立体感和细节。Step 1: Use a drone to capture special light and shadow effects in the early morning, record images under normal lighting conditions at noon, and capture open-pit mine road images under cloudy conditions with soft light, lighter shadows, and outstanding details. At the same time, the drone must shoot at an orthogonal angle to make accurate maps at a height of 200 meters from the ground and with a ground overlap rate of 75%, and at an oblique angle of 45 degrees to obtain more three-dimensional images. sense and detail.
无人机采集的道路图像分辨率都为5472×3648,且每张图像都会记录该图像对应的地理位置信息,采用的坐标系为CGCS2000大地坐标系。考虑计算机的性能,先将图像通过3列2行的切分方式均分为6份,再将均分后的图像分辨率由1824×1824Resize为512×512,均分后的图像命名格式为:原始图像名称_01~06。The resolution of road images collected by drones is 5472×3648, and each image records the geographical location information corresponding to the image. The coordinate system used is the CGCS2000 geodetic coordinate system. Considering the performance of the computer, first divide the image into 6 equal parts by dividing it into 3 columns and 2 rows, and then resize the image resolution from 1824×1824 to 512×512. The naming format of the divided image is: Original image name_01~06.
由于图像中的低光区域以及噪声可能会影响后续深度学习网络模型道路特征提取的过程,利用基于Retinex建模的Low-Light Image Enhancement(LIME)方法尽可能清晰的还原出较暗光照环境下的露天矿道路信息,并利用Restormer模型对露天矿道路图像的噪声点进行有效去除,如图2所示,为预处理后的结果示例。Since the low-light areas and noise in the image may affect the subsequent road feature extraction process of the deep learning network model, the Low-Light Image Enhancement (LIME) method based on Retinex modeling is used to restore the image in the darker lighting environment as clearly as possible. Open-pit mine road information, and use the Restormer model to effectively remove noise points from the open-pit mine road image, as shown in Figure 2, which is an example of the preprocessed results.
道路提取是二分类任务,基于labelme工具对图像中的道路区域进行人工标注“road”标签,背景就为“background”标签。分析露天矿道路图像中所包含的固定道路、半固定道路、移动道路和临时道路的占比和与周围环境像素区别情况。考虑临时道路与周围环境边界不明显,为了让深度学习网络模型学习临时道路更多的细节特征,将包含临时道路50%及其以上的图像都划分为训练集,其他图像随机划分给验证集和测试集。最终得到训练集4558张,验证集1140张,测试集1424张用于深度学习网络模型预训练。Road extraction is a two-classification task. The road area in the image is manually labeled with the "road" label based on the labelme tool, and the background is labeled with the "background" label. Analyze the proportion of fixed roads, semi-fixed roads, mobile roads and temporary roads contained in open-pit mine road images and the pixel differences with the surrounding environment. Considering that the boundary between temporary roads and the surrounding environment is not obvious, in order to allow the deep learning network model to learn more detailed features of temporary roads, images containing 50% or more of temporary roads are divided into training sets, and other images are randomly divided into verification sets and test set. Finally, 4558 training sets, 1140 verification sets, and 1424 test sets were obtained for pre-training of the deep learning network model.
步骤2,建立深度学习网络模型CSHformer训练露天矿道路数据集,采用预训练后的模型提取露天矿区中的道路区域。Step 2: Establish a deep learning network model CSHformer to train the open-pit mine road data set, and use the pre-trained model to extract the road area in the open-pit mine area.
其中构建的CSHformer网络模型的整体架构如图3所示,输入图像大小为512×512×3,通过Convolutional Token Embeeding(使用卷积核大小为7×7,步长为4的卷积操作)获得大小为128×128的patch tokens,每个token的纬度是C。接着通过四个stage产生不同的层级表达,每个stage包含Nt个连续的Cswin tranformer block,每个相邻的stage之间使用卷积核大小为3×3,步长为2的卷积操作来减少token的数量,增加通道数,其中第i层特征图大小为将stage2、stage3、stage4的特征层连接之后通过Hamburger模型来进一步建模全局环境,再经过MLP层和辅助层FCN输出结果。The overall architecture of the CSHformer network model constructed is shown in Figure 3. The input image size is 512×512×3, which is obtained through Convolutional Token Embeeding (using a convolution operation with a convolution kernel size of 7×7 and a step size of 4) The size of patch tokens is 128×128, and the latitude of each token is C. Then different hierarchical expressions are generated through four stages. Each stage contains N t consecutive Cswin transformer blocks. A convolution operation with a convolution kernel size of 3×3 and a step size of 2 is used between each adjacent stage. To reduce the number of tokens and increase the number of channels, the size of the i-th layer feature map is After connecting the feature layers of stage2, stage3, and stage4, the global environment is further modeled through the Hamburger model, and then the results are output through the MLP layer and the auxiliary layer FCN.
十字形窗口自注意力的计算如图4所示,将输入特征X∈R(H×W)×C线性投影为K个token,通过在每个token上平行的执行水平和垂直条纹自注意力。水平和垂直窗口的宽都为sw,随着层级的加深,窗口的宽度也会随着变大,以此来调整网络模型的学习能力和计算复杂度。为了使得sw能够被输入特征H和W整除,经过实验本实施例设定四个stage的sw分别为1,2,8,8。如图4(b)横条纹自注意力的第k个token的计算如下所示:The calculation of cross-shaped window self-attention is shown in Figure 4. The input feature X∈R (H×W)×C is linearly projected into K tokens, and horizontal and vertical stripes of self-attention are performed in parallel on each token. . The width of the horizontal and vertical windows is sw. As the level deepens, the width of the window will also increase, thereby adjusting the learning ability and computational complexity of the network model. In order to make sw divisible by the input features H and W, after experiments, this embodiment sets the sw of the four stages to 1, 2, 8, and 8 respectively. As shown in Figure 4(b), the calculation of the k-th token of horizontal stripe self-attention is as follows:
其中,X∈[X1,X2,…,XM],X∈R(sw×W)×C,M=H/sw,i=(1,2,…M),dk=C/K,Q,K,V分别为每个token的queries,keys和values。Among them, X∈[X 1 , X 2 , … ,X M ], K, Q, K, and V are the queries, keys, and values of each token respectively.
局部增强位置编码(LePE)可以为任意分辨率大小的输入图像生成位置编码,将位置信息强加在每个Transformer模块中,直接对注意力机制中values值进行操作。为了减少计算量,捕获局部注意力,使用Depth-wise Conv对value进行卷积,然后将结果加入到Self-Attention的结果中,这样不仅可以保留相对位置信息,还可以增强局部感应偏置,来提高模型的泛化能力,LePE的计算下所示:Locally enhanced position encoding (LePE) can generate position encoding for input images of any resolution size, impose position information in each Transformer module, and directly operate on the values in the attention mechanism. In order to reduce the amount of calculation and capture local attention, use Depth-wise Conv to convolve the value, and then add the result to the Self-Attention result. This not only retains the relative position information, but also enhances the local sensing bias. To improve the generalization ability of the model, the calculation of LePE is as follows:
竖条纹自注意力的计算可以类推出来,第k个token的计算可以表示为V-Attentionk(X)。最后将H-Attentionk(X)与V-Attentionk(X)的输出并行连接在一起就是十字形窗口自注意力的最终计算结果。The calculation of vertical stripe self-attention can be derived by analogy, and the calculation of the k-th token can be expressed as V-Attention k (X). Finally, the outputs of H-Attention k (X) and V-Attention k (X) are connected in parallel to obtain the final calculation result of the cross-shaped window self-attention.
基于轻量级Hamburger模型的解码器,通过对全局上下文信息进行建模来学习图像特征的全局环境。Hamburger模型由两个线性变换层中间包含一个矩阵分解模型M,其中Hams为建模“全局信息”的目标函数。假设给定X=[x1,…,xn]∈Rd×n,即存在一个字典矩阵D=[d1,…dr]∈Rd×r和系数矩阵C=[c1,…,cn]∈Rr×n,X可以定义为其中低秩的“全局信息”/>残差项(噪声、冗余或缺失)E∈Rd×n,则Hamburger模型可以被定义为:A decoder based on the lightweight Hamburger model learns the global context of image features by modeling global contextual information. The Hamburger model consists of two linear transformation layers containing a matrix decomposition model M, where Hams is the objective function for modeling "global information". Assume that given ,c n ]∈R r×n , X can be defined as Among them, low-rank "global information"/> The residual term (noise, redundancy or missing) E∈R d×n , then the Hamburger model can be defined as:
Y=Z+BN(H(Z))Y=Z+BN(H(Z))
H(Z)=WuM(WlZ)H(Z)=W u M(W l Z)
其中,输入特征Lower Bread线性变换/>Upper Bread线性变换矩阵分解模型M中的L表示重构误差,可以通过残差项E的元素分布导出,R1和R2分别表示对字典矩阵D和系数矩阵C的正则化,可以由其先验分布导出,H(Z)经过BatchNormalization(BN)与输入特征融合,最后输出Y。Among them, the input features Lower Bread linear transformation/> Upper BreadLinear Transformation L in the matrix decomposition model M represents the reconstruction error, which can be derived from the element distribution of the residual term E. R 1 and R 2 represent the regularization of the dictionary matrix D and coefficient matrix C respectively, which can be derived from their prior distribution. H(Z) is fused with input features through BatchNormalization (BN), and finally outputs Y.
露天矿路网提取可以看作是一个二分类任务,将要提取的道路部分当作前景信息,可以明显发现道路与背景类别不均衡的问题,为了降低数据不平衡对训练效果的影响,将二分类交叉熵损失函数BCE与用于解决类别不平衡问题的Focal Loss相结合,建立网络模型训练的损失函数Loss:Open-pit mine road network extraction can be regarded as a two-class classification task. The road part to be extracted is regarded as foreground information, and the problem of imbalance between road and background categories can be clearly found. In order to reduce the impact of data imbalance on the training effect, the two-class classification task is The cross-entropy loss function BCE is combined with the Focal Loss used to solve the category imbalance problem to establish the loss function Loss for network model training:
Loss=W1LBCE+W2LFocal Loss=W 1 L BCE + W 2 L Focal
其中,W1和W2是BCE Loss和Focal Loss的损失权重系数,为模型预测样本是道路的概率,y为样本真实的标签α为道路类别的权重,γ为调节因子,本实施例设定α=0.8,γ=2,W1=W2=1。Among them, W 1 and W 2 are the loss weight coefficients of BCE Loss and Focal Loss, The model predicts the probability that the sample is a road, y is the true label of the sample, α is the weight of the road category, and γ is the adjustment factor. In this embodiment, α=0.8, γ=2, and W 1 =W 2 =1.
根据上述语义分割网络模型,基于露天矿道路数据集进行训练。训练过程具体参数如表2所示。According to the above semantic segmentation network model, training is carried out based on the open-pit mine road data set. The specific parameters of the training process are shown in Table 2.
表2模型训练参数Table 2 Model training parameters
通过对该网络模型训练结果进行分析,可以得到该网络模型的mAcc、mIoU、mPA值,其分别达至95.75%、86.54%、92.47%,该模型在拥有更小计算量的同时提取精度更高。基于训练后的网络模型对露天矿区的所有道路区域进行语义分割,提取路网后的道路边缘轮廓清晰,基本上可以准确完整的提取露天矿道路区域。By analyzing the training results of the network model, the mAcc, mIoU, and mPA values of the network model can be obtained, which reach 95.75%, 86.54%, and 92.47% respectively. This model has a smaller amount of calculation and higher extraction accuracy. . Based on the trained network model, all road areas in the open-pit mining area are semantically segmented. After extracting the road network, the road edge contours are clear, and the road areas in the open-pit mining area can be extracted accurately and completely.
步骤3,对提取后的路网图像做进一步优化处理;为了使制作的露天矿路网地图结果更加精准,对提取后的露天矿路网图做断路连接、细化、超分辨率等优化处理。如图5所示,为基于形态学操作的断路连接过程示意图,如图6所示,为优化处理后的结果示例。Step 3: Further optimize the extracted road network image; in order to make the result of the open-pit mine road network map more accurate, perform optimization processes such as disconnection, thinning, and super-resolution on the extracted open-pit mine road network map. . As shown in Figure 5, it is a schematic diagram of the disconnection and connection process based on morphological operations, and as shown in Figure 6, it is an example of the results after optimization processing.
步骤4,根据同名匹配的方法将无人机拍摄的原始图像中的地理信息赋予到提取后优化处理后的露天矿道路图像中,用于露天矿路网正射影像的构建利用ContextCapture软件对导入的附有地理位置信息的露天矿道路图像进行空中三角测量计算,根据刺点和像控点信息,对已经刺点的影像进行空三优化。生成具有真实纹理的高分辨率三角网格模型,准确还原露天矿建模对象的几何外观和纹理特征,并导出TIFF格式的路网正射影像模型(DOM)和数字表面模型(DSM)。Step 4: According to the matching method of the same name, the geographical information in the original image captured by the drone is assigned to the extracted and optimized open-pit mine road image, which is used to construct the orthophoto of the open-pit mine road network and import it using ContextCapture software. Aerial triangulation calculation is performed on the open-pit mine road image with geographical location information, and aerial triangulation optimization is performed on the punctuated image based on the punctum and image control point information. Generate high-resolution triangular mesh models with real textures, accurately restore the geometric appearance and texture characteristics of open-pit mine modeling objects, and export road network orthophoto models (DOM) and digital surface models (DSM) in TIFF format.
步骤5,将露天矿路网正射影像模型(DOM)和数字表面模型(DSM)导入到GIS平台中,去除DOM模型的影像黑边。同时为了匹配GIS平台中的底图(世界地图),利用坐标转换工具将DOM和DSM的坐标系转换为WGS84大地坐标系。DOM模型并不能直接表示具体道路的地理要素和几何特征,需要基于GIS平台将路网区域、路网中心线以及路网中心线拐点进行矢量化,通过坐标系来描述它们的空间位置关系。如图7所示,通过GIS平台制作露天矿矢量路网地图的具体操作流程如下:Step 5: Import the open-pit mine road network orthophoto model (DOM) and digital surface model (DSM) into the GIS platform to remove the black edges of the DOM model. At the same time, in order to match the base map (world map) in the GIS platform, the coordinate conversion tool is used to convert the DOM and DSM coordinate systems into the WGS84 geodetic coordinate system. The DOM model cannot directly represent the geographical elements and geometric features of specific roads. It is necessary to vectorize the road network area, road network centerline, and road network centerline inflection points based on the GIS platform, and describe their spatial position relationships through a coordinate system. As shown in Figure 7, the specific operation process of making an open-pit mine vector road network map through the GIS platform is as follows:
(1)在GIS平台中加载天地图。为了将后续导入的栅格数据模型与世界级电子地图的地理位置进行对齐检查;(1) Load the sky map in the GIS platform. In order to check the alignment of the subsequently imported raster data model with the geographical location of the world-class electronic map;
(2)导入数字表面模型DSM。矢量化操作之后,点线面等矢量数据只会记录经纬度坐标,高程信息并不会直接提取,导入地面高程数据是为了后续提取高程信息至矢量数据中;(2) Import the digital surface model DSM. After the vectorization operation, vector data such as points, lines, and planes will only record the latitude and longitude coordinates, and the elevation information will not be directly extracted. The purpose of importing ground elevation data is to subsequently extract the elevation information into the vector data;
(3)导入正射影像模型DOM。为了将矢量化后的数据与实际影像进行对齐检查;(3) Import the orthophoto model DOM. In order to check the alignment of the vectorized data with the actual image;
(4)导入路网模型DOM。为了后续对路网栅格数据进行矢量化;(4) Import the road network model DOM. In order to vectorize the road network raster data in the future;
(5)导入路网中心线模型DOM。为了后续对路网中心线栅格数据进行矢量化;(5) Import the road network centerline model DOM. In order to subsequently vectorize the road network centerline raster data;
(6)去除影像黑边。打开图层属性面板,将“透明度”中“附加的无数据值”的设为0;(6) Remove black edges from the image. Open the layer properties panel and set "Additional No Data Value" in "Transparency" to 0;
(7)栅格矢量化。点击“栅格”-“转换”-“栅格矢量化”,选择要矢量化的栅格图层,选择矢量化后的文件保存位置;(7) Raster vectorization. Click "Raster" - "Convert" - "Raster Vectorization", select the raster layer to be vectorized, and select the location where the vectorized file will be saved;
(8)路网中心线提取顶点。点击“矢量”-“几何图形工具”-“提取顶点”,选择要矢量路网中心线图层,选择提取顶点后的文件保存位置;(8) Extract vertices from the center line of the road network. Click "Vector" - "Geometry Tools" - "Extract Vertices", select the centerline layer of the vector road network, and select the file save location after extracting the vertices;
(9)提取高程信息。“矢量几何图形”工具箱中,点击“贴加(从栅格设置Z值)”,选择要提取高程信息的图层图层,选择DSM图层,选择提取高程信息后的文件保存位置;(9) Extract elevation information. In the "Vector Geometry" toolbox, click "Add (set Z value from raster)", select the layer from which you want to extract elevation information, select the DSM layer, and select the location where the file will be saved after the elevation information is extracted;
路网点线面数据矢量化之后,设置指北针、比例尺、地理位置范围等指标,制作该露天矿区的矢量路网地图。After the road network point, line, and surface data are vectorized, indicators such as the north compass, scale, and geographical location range are set to create a vector road network map of the open-pit mining area.
综上,本发明可以高效准确地更新制作出露天矿矢量路网地图,最终提取并优化后的结果能够很好涵盖露天矿区内的道路区域,基于本发明制作的路网地图可以实际应用与露天矿区的智能建设中,实时监控露天矿区车辆的运行轨迹,并且可以对位置有所误差的车辆进行地图匹配,以此获得车辆高精度的定位信息,为露天矿区的智能调度与路径规划的精准实施奠定基础。In summary, the present invention can efficiently and accurately update and produce an open-pit mine vector road network map. The final extracted and optimized results can well cover the road areas in the open-pit mine area. The road network map produced based on the present invention can be practically used in open-pit mines. In the intelligent construction of mining areas, the operating trajectories of vehicles in open-pit mining areas are monitored in real time, and vehicles with position errors can be map-matched to obtain high-precision positioning information of vehicles, which provides accurate implementation of intelligent scheduling and path planning in open-pit mining areas. Lay the foundation.
如图8所示,本发明还提供了用于实现上述基于深度学习的露天矿区矢量路网地图构建系统,该系统包括:As shown in Figure 8, the present invention also provides a system for realizing the above-mentioned deep learning-based vector road network map construction for open-pit mining areas. The system includes:
图像采集模块:用于采集包含有地理位置信息的露天矿区倾斜摄影图像,并对采集的露天矿区倾斜摄影图像进行预处理,预处理过程包括低光图像增强和降噪处理;Image acquisition module: used to collect oblique photography images of open-pit mining areas that contain geographical location information, and pre-process the collected oblique photography images of open-pit mining areas. The pre-processing process includes low-light image enhancement and noise reduction processing;
图像提取模块:用于通过已训练好的深度学习网络模型对预处理后的露天矿区倾斜摄影图像进行图像提取,提取出露天矿区中的道路区域图像;Image extraction module: used to extract the pre-processed oblique photography images of the open-pit mining area through the trained deep learning network model, and extract the road area image in the open-pit mining area;
图像优化模块:用于对所述道路区域图像进行优化处理,得到优化处理后的道路区域图像;Image optimization module: used to optimize the road area image to obtain an optimized road area image;
建模模块:用于基于所述优化处理后的道路区域图像构建露天矿路网正射影像模型和数字表面模型;Modeling module: used to construct an open-pit mine road network orthophoto model and a digital surface model based on the optimized road area image;
地图构建模块:用于利用所述露天矿路网正射影像模型和数字表面模型,对露天矿区中的道路区域进行矢量化,制作得到露天矿矢量路网地图。Map construction module: used to vectorize the road areas in the open-pit mining area using the orthophoto model and digital surface model of the open-pit mine road network, and produce a vector road network map of the open-pit mine.
本发明实施例还提供了对应的设备以及计算机可读存储介质,用于实现本发明实施例提供的方案。Embodiments of the present invention also provide corresponding equipment and computer-readable storage media for implementing the solution provided by the embodiments of the present invention.
其中,所述设备包括存储器和处理器,所述存储器用于存储指令或代码,所述处理器用于执行所述指令或代码,以使所述设备执行本申请任一实施例所述的可信DCS上位机可信状态同步方法。Wherein, the device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes, so that the device executes the trusted method described in any embodiment of this application. DCS host computer trusted status synchronization method.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311723219.XA CN117725141A (en) | 2023-12-14 | 2023-12-14 | Method and related devices for constructing vector road network map of open-pit mining area based on deep learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311723219.XA CN117725141A (en) | 2023-12-14 | 2023-12-14 | Method and related devices for constructing vector road network map of open-pit mining area based on deep learning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117725141A true CN117725141A (en) | 2024-03-19 |
Family
ID=90210049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311723219.XA Pending CN117725141A (en) | 2023-12-14 | 2023-12-14 | Method and related devices for constructing vector road network map of open-pit mining area based on deep learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117725141A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118172363A (en) * | 2024-05-14 | 2024-06-11 | 大连海事大学 | Prostate sporadic cancer prediction method and system based on multitasking learning |
-
2023
- 2023-12-14 CN CN202311723219.XA patent/CN117725141A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118172363A (en) * | 2024-05-14 | 2024-06-11 | 大连海事大学 | Prostate sporadic cancer prediction method and system based on multitasking learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111815776B (en) | Fine geometric reconstruction method for three-dimensional building integrating airborne and vehicle-mounted three-dimensional laser point clouds and street view images | |
CN113516135B (en) | Remote sensing image building extraction and contour optimization method based on deep learning | |
US20230135512A1 (en) | Method for updating road signs and markings on basis of monocular images | |
CN105893972B (en) | Automatic monitoring method for illegal building based on image and implementation system thereof | |
CN113593017B (en) | Method, device, equipment and storage medium for constructing surface three-dimensional model of strip mine | |
CN112598796A (en) | Method for building and automatically updating three-dimensional building information model based on generalized point cloud | |
CN110189304A (en) | On-line fast detection method of optical remote sensing image target based on artificial intelligence | |
CN111178283B (en) | Unmanned aerial vehicle image-based method for identifying and positioning ground feature of established route | |
CN113627288B (en) | A Method for Acquiring Intelligent Information Labels for Massive Images | |
CN116168246A (en) | Method, device, equipment and medium for identifying waste slag field for railway engineering | |
WO2024230038A1 (en) | Three-dimensional point-cloud semantic segmentation method based on multi-level boundary enhancement for unstructured environment | |
CN111090717A (en) | Automatic building model based on CGA rule | |
CN114373009A (en) | An intelligent calculation method for building shadow height measurement based on high-resolution remote sensing images | |
Han et al. | Scan2drawing: use of deep learning for as-built model landscape architecture | |
Chen et al. | Object detection of optical remote sensing image based on improved faster RCNN | |
CN114943902A (en) | Urban vegetation unmanned aerial vehicle remote sensing classification method based on multi-scale feature perception network | |
US11699234B2 (en) | Semantic segmentation ground truth correction with spatial transformer networks | |
CN117725141A (en) | Method and related devices for constructing vector road network map of open-pit mining area based on deep learning | |
Huang et al. | Overview of LiDAR point cloud target detection methods based on deep learning | |
CN115292287A (en) | A method for automatic labeling and database construction of satellite feature component images | |
Jiao et al. | A Novel Data Augmentation Method to Enhance the Training Dataset for Road Extraction from Historical Maps | |
Lu et al. | Edge-reinforced convolutional neural network for road detection in very-high-resolution remote sensing imagery | |
CN118643561A (en) | A road element point cloud BIM reverse modeling method and system based on deep learning | |
Shi et al. | Lane-level road network construction based on street-view images | |
CN117746252A (en) | A landslide detection method based on improved lightweight YOLOv7 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |