CN117671130A - Digital twin intelligent fishing port construction and use method based on oblique photography - Google Patents

Digital twin intelligent fishing port construction and use method based on oblique photography Download PDF

Info

Publication number
CN117671130A
CN117671130A CN202311327255.4A CN202311327255A CN117671130A CN 117671130 A CN117671130 A CN 117671130A CN 202311327255 A CN202311327255 A CN 202311327255A CN 117671130 A CN117671130 A CN 117671130A
Authority
CN
China
Prior art keywords
scene
twin
model
fishing
fishing port
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
Application number
CN202311327255.4A
Other languages
Chinese (zh)
Inventor
张雷
李海涛
黄六一
姜青华
刘奕玮
张俊虎
张德春
姜文琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Limap Hi Tech Information Technology Co ltd
Ocean University of China
Original Assignee
Qingdao Limap Hi Tech Information Technology Co ltd
Ocean University of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Limap Hi Tech Information Technology Co ltd, Ocean University of China filed Critical Qingdao Limap Hi Tech Information Technology Co ltd
Priority to CN202311327255.4A priority Critical patent/CN117671130A/en
Publication of CN117671130A publication Critical patent/CN117671130A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a digital twin intelligent fishing port construction and use method based on oblique photography, which belongs to the field of geographic information and comprises the following steps: (1) digital twin scene construction is carried out; (2) video fusion of fishing ports; (3) management of twin berths of the fishing port; 4) And (5) port area target radar tracking. The invention takes a three-dimensional live-action model produced by oblique photography as a main mode and a fine model produced by fine modeling as an auxiliary mode, combines and builds a high-efficiency and realistic digital twin fishing port scene, adopts an open source WebGIS (network geographic information system) frame such as Cesium or Maptalks and the like at the front end to conduct high-performance rendering and displaying on the twin scene, and completes the twin functions such as video fusion, berth management, radar tracking and the like by matching with mature internet technologies such as software and hardware equipment and IOT and the like.

Description

基于倾斜摄影的数字孪生智慧渔港的搭建使用方法Construction and use of digital twin smart fishing port based on oblique photography

技术领域Technical field

本发明涉及一种基于倾斜摄影的数字孪生智慧渔港的搭建使用方法,属于地理信息领域。The invention relates to a method of building and using a digital twin smart fishing port based on oblique photography, and belongs to the field of geographical information.

背景技术Background technique

数字孪生就是利用物理模型、物联网技术、大数据分析、虚拟仿真等众多新技术将现实场景进行数字化后构建的虚拟场景,虚实世界数据和操作互通,借助数字孪生技术可以让用户通过虚拟世界远距离的了解实体的状态并进行有反馈的操作。相比较于二维扁平世界,孪生场景视觉体验效果更直观,可有效提高用户对孪生场景中的目标管理效率、简化维护工作。随着需求提升,智慧渔港应运而生,虽然初步实现了港区可视化,但普遍存在展示效果不够真实、虚实交互功能少等一系列问题。倾斜摄影测量是在飞行平台上搭载多台传感器,同时从多角度采集地面影像数据,经过数据处理,获取地物准确、完整的位置信息和纹理数据,产出三维实景模型效果写实、空间精度高。Digital twins are virtual scenes constructed after digitizing real scenes using new technologies such as physical models, Internet of Things technology, big data analysis, and virtual simulation. Virtual and real world data and operations are interoperable. Digital twin technology allows users to remotely interact with each other through the virtual world. Understand the status of entities remotely and perform operations with feedback. Compared with the two-dimensional flat world, the visual experience of the twin scene is more intuitive, which can effectively improve the user's target management efficiency in the twin scene and simplify maintenance work. As demand increases, smart fishing ports have emerged. Although the visualization of the port area has been initially achieved, there are a series of problems such as unrealistic display effects and few virtual and real interactive functions. Oblique photogrammetry is to carry multiple sensors on a flying platform to collect ground image data from multiple angles at the same time. After data processing, it can obtain accurate and complete position information and texture data of ground objects, and produce a three-dimensional real-life model with realistic effects and high spatial accuracy. .

在数字孪生渔港方面,象山县大数据发展中心主要通过将动态感知、数字孪生、算法识别、数据分析、机制重塑和数改赋能等技术打造数字孪生渔港,解决渔业安全治理“看不见”“分不清”“管不好”等一系列难题,但该系统处于虚拟仿真层级。王朔、轩莹莹等将三维实景建模技术应用在电网数字孪生系统中,证实三维实景模型能够充实数字孪生电网的展示层,为各种传感器设备,电力基础设施等提供可放置、可展示、可量测的基础图层,有效提高数字孪生场景的建设和展示效果。倾斜摄影测量方面,随着无人机技术的发展,实施门槛逐步降低,工作效率提升明显,精灵4 RTK作为一款小型多旋翼高精度航测无人机,面向低空摄影测量应用,具备厘米级导航定位系统和高性能成像系统,便携易用,航测效率较高,同时提供井字飞行和五向飞行两种倾斜摄影飞行路线规划方案。不仅可以产出三维实景模型,还可为提供厘米级高分辨率DOM(正射影像)和DSM(数字表面模型),实现对渔港的高精度、低成本建模。In terms of digital twin fishing ports, the Xiangshan County Big Data Development Center mainly uses technologies such as dynamic sensing, digital twins, algorithm identification, data analysis, mechanism reshaping and digital transformation empowerment to create digital twin fishing ports to solve the "invisible" problem of fishery safety governance. There are a series of problems such as "cannot distinguish" and "poor management", but the system is at the virtual simulation level. Wang Shuo, Xuanying Ying and others applied 3D real-life modeling technology to the power grid digital twin system, confirming that the 3D real-life model can enrich the display layer of the digital twin power grid and provide various sensor equipment, power infrastructure, etc. with placeable, displayable, and Measurable basic layers effectively improve the construction and display effects of digital twin scenes. In terms of oblique photogrammetry, with the development of drone technology, the implementation threshold has been gradually lowered and work efficiency has been significantly improved. As a small multi-rotor high-precision aerial survey drone, the Phantom 4 RTK is designed for low-altitude photogrammetry applications and has centimeter-level navigation. The positioning system and high-performance imaging system are portable and easy to use, with high aerial survey efficiency. It also provides two oblique photography flight route planning solutions: tic-tac-toe flight and five-way flight. It can not only produce three-dimensional real-life models, but also provide centimeter-level high-resolution DOM (orthophoto) and DSM (digital surface model) to achieve high-precision and low-cost modeling of fishing ports.

目前浏览器端数字孪生技术的难点主要体现在两个方面:一、场景搭建,尤其是孪生场景的搭建,真实场景面积通常较大,如何低成本、快速的搭建贴近真实环境的场景是数字孪生项目开发的焦点;二、场景渲染,目前主要有两大渲染方案,一类是通过WebGL(3D绘图协议)框架进行渲染,如Three.js、cesium等开源框架,该方案的好处是开发和使用成本低,但加载复杂场景存在卡顿问题;另一类则是通过游戏引擎开发,以像素流的形式进行云渲染,该方案虽然可以实现前端高性能渲染,但是使用成本却比WebGL高得多。如何平衡成本和体验效果是数字孪生智慧渔港的伴生问题,因此,提出一种基于倾斜摄影的数字孪生智慧渔港系统。At present, the difficulties of browser-side digital twin technology are mainly reflected in two aspects: 1. Scene construction, especially the construction of twin scenes. The real scene area is usually larger. How to build a scene close to the real environment at low cost and quickly is the key to digital twins. The focus of project development; 2. Scene rendering. There are currently two major rendering solutions. One is rendering through the WebGL (3D drawing protocol) framework, such as Three.js, cesium and other open source frameworks. The advantage of this solution is that it can be developed and used The cost is low, but there is a lag problem when loading complex scenes; the other type is developed through game engines and performs cloud rendering in the form of pixel streams. Although this solution can achieve high-performance front-end rendering, the cost of use is much higher than WebGL. . How to balance cost and experience effect is an accompanying issue of digital twin smart fishing port. Therefore, a digital twin smart fishing port system based on oblique photography is proposed.

发明内容Contents of the invention

为克服现有技术的缺陷,本发明提供一种基于倾斜摄影的数字孪生智慧渔港的搭建使用方法,本发明的技术方案是:In order to overcome the shortcomings of the existing technology, the present invention provides a method for building and using a digital twin smart fishing port based on oblique photography. The technical solution of the present invention is:

一种基于倾斜摄影的数字孪生智慧渔港的搭建使用方法,包括:A method of building and using a digital twin smart fishing port based on oblique photography, including:

(1)数字孪生场景搭建;(2)渔港视频融合;(1) Digital twin scene construction; (2) Fishing port video fusion;

(3)渔港孪生泊位管理;4)港区目标雷达跟踪。(3) Fishing port twin berth management; 4) Port target radar tracking.

所述的步骤(1)具体包括:Described step (1) specifically includes:

(1-1)无人机航拍:对渔港区域进行倾斜摄影飞行情况调研后,通过标记语言绘制覆盖渔港的航拍区域;为保证倾斜摄影测量成果的精度,像控点的选取应均匀分布于港区;通过地面喷涂或选取标志性地物进行像控点标记后,使用RTK设备进行像控点测量;(1-1) UAV aerial photography: After conducting an oblique photography flight survey on the fishing port area, the aerial photography area covering the fishing port is drawn using markup language; in order to ensure the accuracy of the oblique photogrammetry results, the selection of image control points should be evenly distributed in the port area; after marking the image control points by ground spraying or selecting landmark features, use RTK equipment to measure the image control points;

即:飞行前对渔港环境进行检查,判断当前环境条件是否满足飞行,条件满足即装配无人机,无人机自检无误且正常使用RTK模块时,即可开始航拍工作;That is: check the fishing port environment before flying to determine whether the current environmental conditions meet the requirements for flight. If the conditions are met, assemble the drone. When the drone self-test is correct and the RTK module is used normally, aerial photography can be started;

(1-2)渔港建模:将拍摄的原始数据从无人机中导出,使用ContextCapture软件依次进行原始数据读取、第一次空中三角测量、刺点、第二次空中三角测量和建模,并生成OSGB和OBJ两种格式的原始三维实景模型数据,其中,所述第一次空中三角测量用于计算每张照片的外方位元素;第二次空中三角测量用于提高照片外方位角元素的计算精度,纠正模型;(1-2) Fishing port modeling: Export the raw data captured from the drone, and use ContextCapture software to sequentially perform raw data reading, first aerial triangulation, punctuation, second aerial triangulation and modeling. , and generate original three-dimensional reality model data in OSGB and OBJ formats, where the first aerial triangulation is used to calculate the outer azimuth elements of each photo; the second aerial triangulation is used to improve the outer azimuth angle of the photo Calculation accuracy of elements, corrected models;

(1-3)渔港模型修复:使用ModelFun软件对原始三维实景模型进行优化处理,导入OSGB和OBJ格式数据集模型,修模完成后重新生成OSGB数据;(1-3) Fishing port model repair: Use ModelFun software to optimize the original 3D real-life model, import the OSGB and OBJ format data set model, and regenerate the OSGB data after the model repair is completed;

(1-4)渔港精细化建模:根据原始三维实景模型的建模情况,确定港区中需要精细化建模的区域,采用建模软件进行精细化建模,建模结束后生成OBJ模型;(1-4) Refined modeling of the fishing port: Based on the modeling situation of the original three-dimensional real-life model, determine the areas in the port area that require refined modeling, use modeling software to conduct refined modeling, and generate the OBJ model after the modeling is completed. ;

(1-5)渔港模型渲染:将修复后的成果转为3D Tiles格式;浏览器端使用Cesium或MapTalks开源GIS框架加载3D Tiles数据,结合项目需求进行调参,实现前端渲染三维实景场景。(1-5) Fishing port model rendering: Convert the repaired results into 3D Tiles format; use Cesium or MapTalks open source GIS framework to load 3D Tiles data on the browser side, adjust parameters based on project requirements, and realize front-end rendering of three-dimensional real-life scenes.

所述的步骤(2)具体为:The specific steps (2) are:

(2-1)对孪生场景中的摄像头进行精细化建模后加载至场景对应位置,同时为其添加响应事件用以控制摄像头的开启或关闭;开启事件响应时,利用Cesium相机创建视锥以模拟监控摄像机的可视范围,根据后端接口提供的摄像头位置、方位角和焦距参数,自动将孪生场景的视角切换至监控画面对应位置;(2-1) Carry out detailed modeling of the camera in the twin scene and load it to the corresponding location in the scene. At the same time, add a response event to it to control the opening or closing of the camera; when the event response is enabled, use the Cesium camera to create a view frustum to Simulate the visual range of the surveillance camera, and automatically switch the perspective of the twin scene to the corresponding position on the surveillance screen based on the camera position, azimuth angle and focal length parameters provided by the back-end interface;

(2-2)调整相机视锥,使视锥正确反映真实的摄像头焦距、角度和位置情况;使用Cesium的ShadowMap函数对相机视锥范围进行可视域分析处理;(2-2) Adjust the camera's view cone so that the view cone correctly reflects the real camera focal length, angle and position; use Cesium's ShadowMap function to analyze the visual domain of the camera's view cone range;

(2-3)创建video标签,通过播放视频流画面生成视频纹理;利用GLSL语言编写纹理处理逻辑,视锥范围内的可视区域通过视频纹理和对应顶点依次计算与相机的相对坐标及阴影坐标以获取对应gl_FragColor,阴影区域保留模型原纹理;(2-3) Create a video tag and generate a video texture by playing the video stream; use GLSL language to write texture processing logic, and the visible area within the view frustum calculates the relative coordinates and shadow coordinates of the camera through the video texture and corresponding vertices. To obtain the corresponding gl_FragColor, the shadow area retains the original texture of the model;

(2-3)为避免投影造成的视频变形影响视觉体验,额外创建一组video组件同步显示正常状态的播放画面,通过Cesium提供的回调函数将视频播放器和孪生场景中的摄像头位置进行绑定。(2-3) In order to avoid video deformation caused by projection from affecting the visual experience, an additional set of video components is created to synchronously display the normal playback screen, and the video player is bound to the camera position in the twin scene through the callback function provided by Cesium. .

所述的步骤(3)具体为:The specific steps (3) are:

(3-1)对港内泊位进行智慧化孪生管理,提供泊位预约功能,渔民通过微信小程序上实时查看泊位基于地图的区域划分及使用状态,并选择空余的泊位进行在线预约和智能路径规划;(3-1) Carry out intelligent twin management of berths in the port and provide a berth reservation function. Fishermen can view the map-based regional division and usage status of the berths in real time through the WeChat applet, and select vacant berths for online reservation and intelligent path planning;

(3-2)在微型小程序中以二维地图结合矢量要素的形式展示当前港内泊位的使用状态;选择空闲泊位进行预约,后台接收预约命令后,通过websocket将预约信息推送至孪生场景,孪生场景利用不同颜色的渐变色墙展示该泊位的实时状态;点击泊位展示该泊位的近日使用统计信息;后台通过渔船安装的定位设备,配合近港雷达或监控画面实时获取渔船坐标和方位信息,孪生场景根据传输信息对渔船靠泊进行路线规划;(3-2) Display the current usage status of berths in the port in the form of a two-dimensional map combined with vector elements in the mini applet; select an idle berth to make a reservation, and after receiving the reservation command in the background, push the reservation information to the twin scene through websocket. The scene uses gradient walls of different colors to display the real-time status of the berth; click on the berth to display the recent usage statistics of the berth; in the background, the coordinates and orientation information of the fishing vessel are obtained in real time through the positioning equipment installed on the fishing vessel, combined with the near-port radar or monitoring screen, twin The scene performs route planning for fishing boat berthing based on the transmission information;

(3-3)利用A*算法为渔船提供必要的泊位路线规划,首先进行数据预处理,通过港区范围的遥感卫图对泊位进行矢量化,将矢量要素转换为TIFF,利用栅格计算器对tiff进行二值化处理,根据港区泊位复杂度对tiff进行重采样,利用GDAL读取后处理结果并导出一个x*y的二维数组,将数组、范围坐标和像素参数保存至数据库,路线规划时,传入船位的经纬度坐标,根据数组对应的坐标范围和像素参数将经纬度坐标转换直角坐标系坐标,代码读取数组后进行广度优先搜索后获取路线节点集合,将节点集合从直角坐标系转为地理坐标系,创建GeoJson对象作为结果返回系统,孪生场景加载GeoJson即可渲染规划路线。(3-3) Use the A* algorithm to provide necessary berth route planning for fishing boats. First, perform data preprocessing, vectorize the berths through remote sensing satellite images within the port area, convert the vector elements into TIFF, and use a raster calculator Binarize the tiff, resample the tiff according to the port berth complexity, use GDAL to read the post-processing results and export a two-dimensional array of x*y, and save the array, range coordinates and pixel parameters to the database. When planning the route, the longitude and latitude coordinates of the ship's position are passed in, and the longitude and latitude coordinates are converted into Cartesian coordinate system coordinates according to the coordinate range and pixel parameters corresponding to the array. After the code reads the array, it performs a breadth-first search to obtain the route node set, and converts the node set from Cartesian coordinates. The system is converted into a geographical coordinate system, a GeoJson object is created and returned to the system as a result. The twin scene loads GeoJson to render the planned route.

所述的步骤(4)具体为:The specific steps (4) are:

孪生场景与雷达数据服务端建立双向通信协议,雷达数据服务端通过分析当前雷达追踪的海上兴趣船只目标,实时向孪生场景推送当前目标的基础信息和地理空间参数;孪生场景接收数据后,判断场景中目标船只的渲染情况,若系统是首次跟踪到目标船只,则渲染船只模型并为其添加响应事件以展示船舶的基础信息,若目标处于系统持续跟踪中,则动态调整船只的地理空间参数,实时展示船只的位置、姿态情况;通过浏览器窗口坐标计算,即直接将当前雷达模型的屏幕坐标作为视频控件的屏幕坐标,并通过CSS动态调整至合适位置,以不遮挡其他模型为标准,将视频控件动态绑定到孪生场景中雷达模型的所在位置并自动播放实时监控画面;通过海上地理坐标与孪生场景空间坐标转化,即利用Cesium空间坐标转换函数工具包,将地理坐标系转换为笛卡尔坐标系,计算被锁定船只和雷达在孪生场景中的空间坐标,绘制一个棱锥作为追踪光锥,该棱锥底面面向被锁定船只,顶角位于雷达位置,利用关键帧动画函数实时调整光锥方位角参数,使光锥持续锁定被追踪船只。The twin scene establishes a two-way communication protocol with the radar data server. The radar data server analyzes the maritime interest ship targets currently tracked by the radar and pushes the basic information and geospatial parameters of the current target to the twin scene in real time. After receiving the data, the twin scene determines the scene. The rendering situation of the target ship. If the system tracks the target ship for the first time, the ship model is rendered and response events are added to it to display the basic information of the ship. If the target is continuously tracked by the system, the geospatial parameters of the ship are dynamically adjusted. Display the position and attitude of the ship in real time; calculate it through the browser window coordinates, that is, directly use the screen coordinates of the current radar model as the screen coordinates of the video control, and dynamically adjust it to the appropriate position through CSS, with the standard of not blocking other models. The video control is dynamically bound to the location of the radar model in the twin scene and automatically plays the real-time monitoring screen; through the conversion of maritime geographical coordinates and twin scene spatial coordinates, that is, using the Cesium spatial coordinate conversion function toolkit, the geographical coordinate system is converted to Cartesian Coordinate system, calculate the spatial coordinates of the locked ship and radar in the twin scene, draw a pyramid as the tracking light cone, the bottom surface of the pyramid faces the locked ship, and the top corner is at the position of the radar, use the keyframe animation function to adjust the light cone azimuth in real time Parameters to enable the light cone to continuously lock onto the tracked ship.

本发明的优点是:本发明基于倾斜摄影的数字孪生智慧渔港系统,利用带有RTK(实时动态载波相位差分技术)定位模块的无人机对港区进行倾斜摄影建模,配合专业建模软件制作的精细化模型,组合搭建渔港的三维场景,在Web端孪生渔港场景进行渲染展示,实现渔港低成本、高精度、快速的三维建模。利用IOT(物联网)和数据融合等技术,实现虚拟场景和真实场景的信息互通,配合成熟的人工智能等技术实现在港区内的视频融合、雷达追踪、泊位管理等操作,实现真正具备数字孪生能力的智慧渔港系统,解决传统智慧渔港系统中的管理乱、监管难、成本高等一系列问题,为智慧渔港数字孪生系统实现方案提供一种新的技术解决路线。The advantages of the present invention are: the digital twin smart fishing port system based on oblique photography uses an unmanned aerial vehicle with an RTK (real-time dynamic carrier phase difference technology) positioning module to perform oblique photography modeling of the port area, and cooperates with professional modeling software The refined model produced is combined to build a three-dimensional scene of the fishing port, and the twin fishing port scenes are rendered and displayed on the Web to achieve low-cost, high-precision, and fast three-dimensional modeling of the fishing port. Utilize technologies such as IOT (Internet of Things) and data fusion to realize information exchange between virtual scenes and real scenes, and cooperate with mature artificial intelligence and other technologies to realize video fusion, radar tracking, berth management and other operations in the port area to achieve truly digital The smart fishing port system with twin capabilities solves a series of problems such as chaotic management, difficult supervision, and high costs in the traditional smart fishing port system, and provides a new technical solution for the implementation of the digital twin system of smart fishing ports.

本发明以倾斜摄影产出的三维实景模型为主,精细化建模产出的精细模型为辅的方式,组合搭建高效、写实的数字孪生渔港场景,前端采用Cesium或Maptalks等开源WebGIS(网络地理信息系统)框架对孪生场景进行高性能渲染展示,配合软硬件设备和IOT等成熟互联网技术完成具备的视频融合、泊位管理、雷达跟踪等孪生功能。This invention uses the three-dimensional real-life model produced by oblique photography as the main method, supplemented by the fine model produced by refined modeling, to build an efficient and realistic digital twin fishing port scene. The front end adopts open source WebGIS (network geography) such as Cesium or Maptalks. Information system) framework performs high-performance rendering and display of twin scenes, and cooperates with mature Internet technologies such as software and hardware equipment and IOT to complete twin functions such as video fusion, berth management, and radar tracking.

还具有以下优点:It also has the following advantages:

(1)浏览器端高性能渲染,数据通过网络传输,可与传统二维渔港无缝切换,用户无需额外安装软件或搭建环境;(1) High-performance rendering on the browser side, data is transmitted through the network, and can be seamlessly switched with traditional 2D fishing ports. Users do not need to install additional software or build an environment;

(2)具备大面积渔港三维模型展示能力,三维模型宏观采用三维实景搭建,加载效率快、空间精度高、纹理真实,微观通过精细化建模展现兴趣区域细节,为用户提供身临其境的体验;(2) It has the ability to display large-area fishing port 3D models. The 3D model is constructed using 3D real scenes at the macro level, with fast loading efficiency, high spatial accuracy and realistic textures. The microscopic model shows the details of the area of interest through refined modeling, providing users with an immersive experience. experience;

(3)实现虚、实世界的数据和操作互通,数字孪生智慧渔港场景具备视频融合、雷达联动、泊位管理等功能,切实提升渔港管理和监管能力。(3) Realize data and operation interoperability between the virtual and real worlds. The digital twin smart fishing port scene has functions such as video fusion, radar linkage, and berth management, effectively improving fishing port management and supervision capabilities.

附图说明Description of drawings

图1是本发明的流程示意图。Figure 1 is a schematic flow diagram of the present invention.

图2是本发明的航线规划流程示意图。Figure 2 is a schematic diagram of the route planning process of the present invention.

图3是本发明的渔港建模流程示意图。Figure 3 is a schematic diagram of the fishing port modeling process of the present invention.

图4是本发明的泊位路线规划基础数据处理流程示意图。Figure 4 is a schematic diagram of the basic data processing flow of berth route planning according to the present invention.

图5是本发明的泊位路线规划流程示意图。Figure 5 is a schematic diagram of the berth route planning process of the present invention.

具体实施方式Detailed ways

下面结合具体实施例来进一步描述本发明,本发明的优点和特点将会随着描述而更为清楚。但这些实施例仅是范例性的,并不对本发明的范围构成任何限制。本领域技术人员应该理解的是,在不偏离本发明的精神和范围下可以对本发明技术方案的细节和形式进行修改或替换,但这些修改和替换均落入本发明的保护范围内。The present invention will be further described below in conjunction with specific embodiments, and the advantages and features of the present invention will become clearer with the description. However, these embodiments are only exemplary and do not constitute any limitation on the scope of the present invention. Those skilled in the art should understand that the details and forms of the technical solution of the present invention can be modified or replaced without departing from the spirit and scope of the present invention, but these modifications and substitutions all fall within the protection scope of the present invention.

参见图1至图5,本发明涉及一种基于倾斜摄影的数字孪生智慧渔港的搭建使用方法,包括:(1)数字孪生场景搭建;(2)渔港视频融合;(3)渔港孪生泊位管理;4)港区目标雷达跟踪。Referring to Figures 1 to 5, the present invention relates to a method of building and using a digital twin smart fishing port based on oblique photography, including: (1) digital twin scene construction; (2) fishing port video fusion; (3) fishing port twin berth management; 4) Port area target radar tracking.

所述的步骤(1)具体包括:Described step (1) specifically includes:

(1-1)无人机航飞:对渔港区域进行飞行情况调研,使用标记语言绘制航拍区,确保覆盖渔港,无人机加载标记语言KML后可自动在区域内进行航线规划;为保证倾斜摄影测量成果精度,像控点测量采用千寻星耀X RTK设备进行像控点测量,相控点的选取均匀分布于港区,像控点自行喷涂或选取地面标志性如斑马线、道路指示箭头;飞行前对渔港环境进行检查,判断渔港环境是否满足飞行,条件满足即装配无人机,无人机自检无误后检查网络RTK模块是否连接正常,由于目前CORS(连续运行参考站)并没有实现全国覆盖必要时需要通过RTK进行基站搭建当RTK模块连接正常时,按照大疆精灵4RTK倾斜摄影测量方案飞行完成港区倾斜摄影工作。(1-1) Drone flight: Conduct a flight survey on the fishing port area and use markup language to draw the aerial photography area to ensure coverage of the fishing port. The drone can automatically plan routes in the area after loading the markup language KML; in order to ensure tilt The accuracy of photogrammetry results, image control point measurement uses Qianxun Xingyao ; Check the fishing port environment before flying to determine whether the fishing port environment meets the requirements for flight. If the conditions are met, assemble the drone. After the drone self-test is correct, check whether the network RTK module is connected normally. Since there is currently no CORS (Continuous Operation Reference Station) If necessary to achieve nationwide coverage, you need to build a base station through RTK. When the RTK module is connected normally, fly according to the DJI Phantom 4 RTK tilt photogrammetry plan to complete the tilt photography work in the port area.

(1-2)渔港建模:将原始数据从无人机中导出,使用ContextCapture软件依次进行图片读取、第一次空中三角测量、刺点、第二次空中三角测量和建模,并生成OSGB和OBJ两种格式的原始三维实景模型数据为保证模型精度,刺点数量根据测区面积灵活调整,最终产出成果为OSGB(常用的倾斜摄影数据存储格式)和OBJ(3D模型文件格式)两种格式的数据;由于该过程比较耗时,必要的时候可以搭建集群以提高生产效率。其中,所述第一次空中三角测量用于计算每张照片的外方位元素;第二次空中三角测量用于提高照片外方位角元素的计算精度,纠正模型;(1-2) Fishing port modeling: Export the original data from the drone, use ContextCapture software to sequentially perform image reading, first aerial triangulation, puncture point, second aerial triangulation and modeling, and generate Original 3D real-life model data in OSGB and OBJ formats ; in order to ensure model accuracy, the number of punctum points is flexibly adjusted according to the area of the survey area. The final output results are OSGB (commonly used oblique photography data storage format) and OBJ (3D model file format) ) data in two formats; since this process is time-consuming, a cluster can be built when necessary to improve production efficiency. Wherein, the first aerial triangulation is used to calculate the outer azimuth elements of each photo; the second aerial triangulation is used to improve the calculation accuracy of the outer azimuth elements of the photos and correct the model;

(1-3)渔港模型修复:由于倾斜摄影的技术特点,导致模型部分细节丢失,虽然可通过降低高度和高度分层等方式飞行提高模型精度,但仍无法解决模型的破洞、变形等问题。因此需要对模型进行修复工作,使用ModelFun软件对原始三维实景模型进行优化处理,导入OSGB和OBJ格式数据集模型,修模完成后重新生成OSGB数据。结合现有资料对模型进行结构复原、码头清场,路面置屏、纹理修复等操作,修模完成后确保渔港码头无可移动干扰物,重新导出数据;(1-3) Fishing port model repair: Due to the technical characteristics of oblique photography, some details of the model are lost. Although the accuracy of the model can be improved by flying at lower altitudes and height layering, it still cannot solve the problems of holes and deformation of the model. . Therefore, it is necessary to repair the model. Use ModelFun software to optimize the original 3D real-life model, import the OSGB and OBJ format data set model, and regenerate the OSGB data after the model repair is completed. Combined with the existing data, perform structural restoration, dock clearance, road screen installation, texture repair and other operations on the model. After the model repair is completed, ensure that there are no moving interference objects at the fishing port dock and re-export the data;

(1-4)渔港精细化建模:根据原始三维实景模型的建模情况,确定港区中需要精细化建模的区域,采用3Ds Max或Blender建模软件进行精细化建模,建模结束后导出OBJ格式即可使用;(1-4) Refined modeling of the fishing port: According to the modeling situation of the original three-dimensional real-life model, determine the areas in the port area that require refined modeling, and use 3Ds Max or Blender modeling software to conduct refined modeling. The modeling is completed. Then export it to OBJ format for use;

(1-5)渔港模型渲染:将修复后的成果转为3D Tiles格式;浏览器端使用Cesium或MapTalks开源GIS框架加载3D Tiles数据,结合项目需求进行调参,实现前端渲染三维实景场景。(1-5) Fishing port model rendering: Convert the repaired results into 3D Tiles format; use Cesium or MapTalks open source GIS framework to load 3D Tiles data on the browser side, adjust parameters based on project requirements, and realize front-end rendering of three-dimensional real-life scenes.

浏览器端无法直接加载OSGB和OBJ格式的切片数据,使用Cesium Lab或者DasViewer等软件将修复后的成果转为3D Tiles格式;3DTiles是一种开放的三维空间数据标准,每个3D Tiles由一个保存节点信息的JSON(轻量级的数据交换格式)文件和若干个切片包文件夹组成。通过对模型进行分层、分级的切片处理,客户端实现模型的按需加载和渲染;将转换成果作为静态资源使用Nginx(高性能的HTTP和反向代理web服务器)等服务器进行反向代理实现请求访问;浏览器端使用Cesium或MapTalks开源GIS框架加载3D Tiles数据,结合项目需求对数据进行调参,完成前端高性能渲染三维实景场景。The browser cannot directly load slice data in OSGB and OBJ formats. Use software such as Cesium Lab or DasViewer to convert the repaired results into 3D Tiles format; 3DTiles is an open three-dimensional spatial data standard, and each 3D Tiles is saved by a It consists of a JSON (lightweight data exchange format) file of node information and several slicing package folders. By layering and hierarchical slicing processing of the model, the client realizes on-demand loading and rendering of the model; the conversion results are used as static resources using servers such as Nginx (high-performance HTTP and reverse proxy web server) for reverse proxy implementation. Request access; the browser uses the Cesium or MapTalks open source GIS framework to load 3D Tiles data, adjust the data parameters based on project requirements, and complete the front-end high-performance rendering of the 3D real-life scene.

三维实景场景具备空间信息,将空间坐标赋予精细化生产的模型并调整模型缩放,使之在三维实景场景中得以正确的显示,实现数字孪生智慧渔港场景搭建。The three-dimensional real-life scene has spatial information. The spatial coordinates are assigned to the refined production model and the model scaling is adjusted so that it can be displayed correctly in the three-dimensional real-life scene, thus realizing the construction of a digital twin smart fishing port scene.

所述的步骤(2)具体为:渔港视频融合的目的是将渔港区域内的一个或多个监控视频和与之空间相关的三维虚拟场景进行投影融合,使虚拟场景具备实时、真实的反映监控画面的能力,具体为:The described step (2) is specifically: the purpose of fishing port video fusion is to project and fuse one or more surveillance videos in the fishing port area with the three-dimensional virtual scene related to the space, so that the virtual scene has real-time and realistic reflection monitoring. Screen capabilities, specifically:

(2-1)对孪生场景中的摄像头进行精细化建模后加载至场景对应位置,同时为其添加响应事件用以控制摄像头的开启或关闭;开启事件响应时,利用Cesium相机创建视锥以模拟监控摄像机的可视范围,根据后端接口提供的摄像头位置、方位角和焦距参数,自动将孪生场景的视角切换至监控画面对应位置;(2-1) Carry out detailed modeling of the camera in the twin scene and load it to the corresponding location in the scene, and add a response event to it to control the opening or closing of the camera; when the event response is enabled, use the Cesium camera to create a view frustum to Simulate the visual range of the surveillance camera, and automatically switch the perspective of the twin scene to the corresponding position on the surveillance screen based on the camera position, azimuth angle and focal length parameters provided by the back-end interface;

(2-2)调整相机视锥,使视锥正确反映真实的摄像头焦距、角度和位置情况;使用Cesium的ShadowMap函数对相机视锥范围进行可视域分析处理;(2-2) Adjust the camera's view cone so that the view cone correctly reflects the real camera focal length, angle and position; use Cesium's ShadowMap function to analyze the visual domain of the camera's view cone range;

(2-3)创建video标签,通过播放HLS(HTTP的流媒体网络传输协议)或FLV(流媒体格式)的视频流画面生成视频纹理;利用GLSL语言编写纹理处理逻辑,视锥范围内的可视区域通过视频纹理和对应顶点依次计算与相机的相对坐标及阴影坐标以获取对应gl_FragColor,阴影区域保留模型原纹理,实现虚实结合,使用户可在虚拟场景中观看到真实的监控画面;(2-3) Create a video tag and generate a video texture by playing the video stream of HLS (HTTP streaming network transmission protocol) or FLV (streaming media format); use GLSL language to write texture processing logic, and the video content within the viewing cone can be The view area calculates the relative coordinates and shadow coordinates of the camera through the video texture and corresponding vertices in order to obtain the corresponding gl_FragColor. The shadow area retains the original texture of the model, achieving a combination of virtual and real, allowing users to watch real surveillance images in the virtual scene;

(2-4)为避免投影造成的视频变形影响视觉体验,额外创建一组video组件同步显示正常状态的播放画面,通过Cesium提供的回调函数将视频播放器和孪生场景中的摄像头位置进行绑定,用户对虚拟场景进行拖拽操作时,视频播放器将自动跟随场景中摄像头位置的移动而移动。(2-4) In order to avoid video deformation caused by projection from affecting the visual experience, an additional set of video components is created to synchronously display the normal playback screen, and the video player is bound to the camera position in the twin scene through the callback function provided by Cesium. , when the user drags and drops the virtual scene, the video player will automatically follow the movement of the camera position in the scene.

视频融合使用效果与监控摄像头的视角有关,视角与监控面角度越接近90°,画面投影变形越小,体验效果越真实。视频融合效果完成监控画面从平面到立体的升级,实现虚实结合,同时场景支持监控视频轮巡功能,管理人员无需操作即可实现对港区监控的全面巡检,有效提高管理和监管效率。The effect of video fusion is related to the viewing angle of the surveillance camera. The closer the viewing angle is to 90° with the surveillance surface, the smaller the screen projection distortion will be and the more realistic the experience will be. The video fusion effect completes the upgrade of the surveillance picture from two-dimensional to three-dimensional, achieving a combination of virtual and real. At the same time, the scene supports the surveillance video patrol function. Managers can implement comprehensive inspections of port area surveillance without any operation, effectively improving management and supervision efficiency.

所述的步骤(3)具体为:The specific steps (3) are:

(3-1)对港内泊位进行智慧化孪生管理,提供泊位预约功能,渔民可以通过具有预约功能的微信小程序上实时查看泊位基于地图的区域划分及使用状态,并选择空余的泊位进行在线预约和智能路径规划,实现泊位管理的可视化和泊位的使用效率;(3-1) Carry out intelligent twin management of berths in the port and provide a berth reservation function. Fishermen can check the map-based regional division and usage status of the berth in real time through the WeChat applet with reservation function, and select a vacant berth to make an online reservation. and intelligent path planning to achieve visualization of berth management and berth usage efficiency;

打开微信小程序,登录后进入泊位预约界面,通过在微信小程序中的二维地图和矢量要素确定当前港内泊位的使用状态,选择合适的空闲泊位进行预约。Open the WeChat applet, log in and enter the berth reservation interface, determine the current usage status of the berths in the port through the two-dimensional map and vector elements in the WeChat applet, and select the appropriate free berth for reservation.

(3-2)以二维地图结合矢量要素的形式展示当前港内泊位的使用状态;选择空闲泊位进行预约,后台接收预约命令后,通过websocket将预约信息推送至孪生场景,孪生场景利用不同颜色的渐变色墙展示该泊位的实时状态;点击泊位展示该泊位的近日使用统计信息;后台通过渔船安装的定位设备,配合近港雷达或监控画面实时获取渔船坐标和方位信息,孪生场景根据传输信息对渔船靠泊进行路线规划;(3-2) Use a two-dimensional map combined with vector elements to display the current usage status of berths in the port; select an idle berth to make a reservation, and after receiving the reservation command in the background, push the reservation information to the twin scene through websocket. The twin scene uses different colors The gradient color wall displays the real-time status of the berth; click on the berth to display the recent usage statistics of the berth; in the background, the coordinates and orientation information of the fishing vessel are obtained in real time through the positioning equipment installed on the fishing vessel, in conjunction with the near-port radar or monitoring screen, and the twin scenes are aligned based on the transmitted information. Fishing boats dock for route planning;

(3-3)利用A*算法为渔船提供必要的泊位路线规划,首先进行数据预处理,通过港区范围的遥感卫图对泊位进行矢量化,将矢量要素转换为TIFF,利用栅格计算器对tiff进行二值化处理,根据港区泊位复杂度对tiff进行重采样,利用GDAL读取后处理结果并导出一个x*y的二维数组,将数组、范围坐标和像素参数保存至数据库,路线规划时,传入船位的经纬度坐标,根据数组对应的坐标范围和像素参数将经纬度坐标转换为直角坐标系坐标,代码读取数组后进行广度优先搜索后获取路线节点集合,将节点集合从直角坐标系转为地理坐标系,创建GeoJson对象作为结果返回系统,孪生场景加载GeoJson即可渲染规划路线。(3-3) Use the A* algorithm to provide necessary berth route planning for fishing boats. First, perform data preprocessing, vectorize the berths through remote sensing satellite images within the port area, convert the vector elements into TIFF, and use a raster calculator Binarize the tiff, resample the tiff according to the port berth complexity, use GDAL to read the post-processing results and export a two-dimensional array of x*y, and save the array, range coordinates and pixel parameters to the database. When planning the route, the longitude and latitude coordinates of the ship's position are passed in, and the longitude and latitude coordinates are converted into Cartesian coordinates based on the coordinate range and pixel parameters corresponding to the array. After the code reads the array, it performs a breadth-first search to obtain the route node set, and converts the node set from Cartesian to The coordinate system is converted into a geographical coordinate system, a GeoJson object is created and returned to the system as a result. The twin scene loads GeoJson to render the planned route.

所述的步骤(4)具体为:The specific steps (4) are:

孪生场景与雷达数据服务端建立双向通信协议,雷达数据服务端通过分析当前雷达追踪的海上兴趣船只目标,实时向孪生场景推送当前目标的基础信息和地理空间参数;孪生场景接收数据后,判断场景中目标船只的渲染情况,若系统是首次跟踪到目标船只,则渲染船只模型并为其添加响应事件以展示船舶的基础信息,若目标处于系统持续跟踪中,则动态调整船只的地理空间参数,实时展示船只的位置、姿态情况;通过浏览器窗口坐标计算,即直接将当前雷达模型的屏幕坐标作为视频控件的屏幕坐标,并通过CSS动态调整至合适位置,以不遮挡其他模型为标准,将视频控件动态绑定到孪生场景中雷达模型的所在位置并自动播放实时监控画面;通过海上地理坐标与孪生场景空间坐标转化,即利用Cesium空间坐标转换函数工具包,将地理坐标系转换为笛卡尔坐标系,计算被锁定船只和雷达在孪生场景中的空间坐标,绘制一个棱锥作为追踪光锥,该棱锥底面面向被锁定船只,顶角位于雷达位置,利用关键帧动画函数实时调整光锥方位角参数,使光锥持续锁定被追踪船只,即使目标区域船位分布密集,管理者也能清楚的了解当前雷达锁定船只。The twin scene establishes a two-way communication protocol with the radar data server. The radar data server analyzes the maritime interest ship targets currently tracked by the radar and pushes the basic information and geospatial parameters of the current target to the twin scene in real time. After receiving the data, the twin scene determines the scene. The rendering situation of the target ship. If the system tracks the target ship for the first time, the ship model is rendered and response events are added to it to display the basic information of the ship. If the target is continuously tracked by the system, the geospatial parameters of the ship are dynamically adjusted. Display the position and attitude of the ship in real time; calculate it through the browser window coordinates, that is, directly use the screen coordinates of the current radar model as the screen coordinates of the video control, and dynamically adjust it to the appropriate position through CSS, with the standard of not blocking other models. The video control is dynamically bound to the location of the radar model in the twin scene and automatically plays the real-time monitoring screen; through the conversion of maritime geographical coordinates and twin scene spatial coordinates, that is, using the Cesium spatial coordinate conversion function toolkit, the geographical coordinate system is converted to Cartesian Coordinate system, calculate the spatial coordinates of the locked ship and radar in the twin scene, draw a pyramid as the tracking light cone, the bottom surface of the pyramid faces the locked ship, and the top corner is at the position of the radar, use the keyframe animation function to adjust the light cone azimuth in real time The parameters enable the light cone to continuously lock on the tracked ship. Even if the ship positions in the target area are densely distributed, the manager can clearly understand the current radar locked ship.

考虑到开发成本和硬件性能限制,数据传输不会是连续的,会间隔几秒推送一次。对前后两次的点位进行插值处理,使场景中的船只运动路线连续、均匀,避免出现船位跳跃现象。Considering development costs and hardware performance limitations, data transmission will not be continuous and will be pushed every few seconds. Interpolate the two points before and after to make the movement route of the ship in the scene continuous and uniform, and avoid the phenomenon of ship position jumping.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above are only preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can, within the technical scope disclosed in the present invention, implement the technical solutions of the present invention. Equivalent substitutions or changes of the inventive concept thereof shall be included in the protection scope of the present invention.

Claims (5)

1. The method for constructing and using the digital twin intelligent fishing port based on oblique photography is characterized by comprising the following steps of:
(1) Digital twin scene building; (2) video fusion of fishing ports;
(3) Management of twin berths of a fishing port; 4) And (5) port area target radar tracking.
2. The method for constructing and using the digital twin intelligent fishing port based on oblique photography according to claim 1, wherein the step (1) specifically comprises:
(1-1) unmanned aerial vehicle aerial photography: after investigation of oblique photography flight conditions of the fishing port area, drawing an aerial photography area covering the fishing port through a mark language; in order to ensure the precision of the oblique photogrammetry result, the selection of the image control points should be uniformly distributed in the harbor area; after carrying out image control point marking by spraying or selecting a marked ground object on the ground, carrying out image control point measurement by using RTK equipment;
namely: checking the fishing port environment before flying, judging whether the current environment condition meets the flying or not, and if the current environment condition meets the flying, assembling the unmanned aerial vehicle, and starting aerial photography work when the unmanned aerial vehicle self-tests without errors and normally uses the RTK module;
(1-2) fishing port modeling: the method comprises the steps of deriving shot original data from an unmanned aerial vehicle, sequentially carrying out original data reading, first air triangulation, stabbing point, second air triangulation and modeling by using ContextCapture software, and generating original three-dimensional real scene model data in two formats of OSGB and OBJ, wherein the first air triangulation is used for calculating external azimuth elements of each photo; the second time of aerial triangulation is used for improving the calculation accuracy of the external azimuth angle elements of the photo and correcting the model;
(1-3) fishing port model repair: optimizing an original three-dimensional live-action model by using ModelFun software, importing an OSGB and OBJ format data set model, and regenerating OSGB data after finishing the model repair;
(1-4) fishing port fine modeling: determining a region needing to be modeled finely in a harbor area according to the modeling condition of the original three-dimensional live-action model, performing fine modeling by modeling software, and generating an OBJ model after modeling is finished;
(1-5) fishing port model rendering: converting the repaired result into a 3D tilles format; the browser end loads 3D Tiles data by using a Cesium or MapTalks open source GIS frame, and adjusts parameters according to project requirements, so that the front end renders a three-dimensional real scene.
3. The method for constructing and using the digital twin intelligent fishing port based on oblique photography according to claim 1 or 2, wherein the step (2) is specifically:
(2-1) carrying out refined modeling on a camera in a twin scene, loading the camera into a corresponding position of the scene, and simultaneously adding a response event for the camera to control the opening or closing of the camera; when an opening event responds, a viewing cone is created by using a Cesium camera to simulate the visual range of a monitoring camera, and the visual angle of a twin scene is automatically switched to the corresponding position of a monitoring picture according to the position, azimuth angle and focal length parameters of the camera provided by a rear-end interface;
(2-2) adjusting a camera view cone to enable the view cone to correctly reflect the real focal length, angle and position conditions of the camera; performing visual field analysis processing on the camera view cone range by using a shadow map function of Cesium;
(2-3) creating a video tag, and generating video textures by playing the monitor video stream picture; writing texture processing logic by using GLSL language, sequentially calculating relative coordinates and shadow coordinates of a visible area in a viewing cone range and a camera through video textures and corresponding vertexes to obtain corresponding gl_FragColor, and reserving original textures of a model in the shadow area;
(2-4) in order to avoid the influence of video deformation caused by projection on visual experience, additionally creating a group of video components to synchronously display the play pictures in a normal state, and binding the video player and the camera positions in the twin scene through a callback function provided by Cesium.
4. The method for constructing and using the digital twin intelligent fishing port based on oblique photography according to claim 1 or 2, wherein the step (3) is specifically:
(3-1) carrying out intelligent twin management on the berths in the harbor, providing a berth reservation function, checking the regional division and the use state of the berths based on a map in real time by fishermen, and selecting spare berths to carry out online reservation and intelligent path planning;
(3-2) displaying the use state of the berth in the current harbor in a two-dimensional map combined with vector elements in a WeChat applet; selecting an idle berth for reservation, pushing reservation information to a twin scene through websocket after a background receives a reservation command, and displaying the real-time state of the berth by the twin scene through gradient color walls with different colors; clicking a berth to display the statistics information of the use of the berth in the near day; the background acquires the coordinates and azimuth information of the fishing boat in real time by using positioning equipment installed on the fishing boat and matching with a near-harbor radar or a monitoring picture, and the twin scene carries out route planning on the berthing of the fishing boat according to the transmission information;
and (3-3) providing necessary berth route planning for the fishing vessel by utilizing an A-algorithm, firstly carrying out data preprocessing, vectorizing berths through a remote sensing guard diagram of a harbor area range, converting vector elements into TIFF, carrying out binarization processing on the TIFF by utilizing a grid calculator, resampling the TIFF according to harbor berth complexity, reading a post-processing result by utilizing GDAL, deriving a two-dimensional array of x y, storing an array, range coordinates and pixel parameters into a database, transmitting longitude and latitude coordinates of the berth during route planning, reading the array by codes, converting the longitude and latitude coordinates into rectangular coordinate system coordinates according to a coordinate range and pixel parameters corresponding to the array, carrying out breadth-first search in the array, obtaining a route node set, converting the node set into the geographic coordinate system from the rectangular coordinate system, creating a GeoJson object as a result, and returning the GeoJson object to the system, so that the route planning can be rendered by loading a twin scene.
5. The method for constructing and using the digital twin intelligent fishing port based on oblique photography according to claim 1 or 2, wherein the step (4) is specifically:
the method comprises the steps that a two-way communication protocol is established between a twin scene and a radar data server, and the radar data server pushes basic information and geospatial parameters of a current target to the twin scene in real time by analyzing the target of a marine interesting ship tracked by the current radar; after receiving data, the twin scene judges the rendering condition of a target ship in the scene, if the system tracks the target ship for the first time, a ship model is rendered, a response event is added for the ship model to display basic information of the ship, and if the target is in continuous tracking of the system, the geospatial parameters of the ship are dynamically adjusted, and the position and posture conditions of the ship are displayed in real time; calculating through a browser window coordinate, namely directly taking the screen coordinate of the current radar model as the screen coordinate of the video control, dynamically adjusting to a proper position through CSS, dynamically binding the video control to the position of the radar model in the twinning scene and automatically playing a real-time monitoring picture by taking the non-shielding other models as the standard; through the transformation of the marine geographic coordinates and the space coordinates of the twin scene, namely by utilizing a Cesium space coordinate transformation function tool kit, the geographic coordinate system is transformed into a Cartesian coordinate system, the space coordinates of the locked ship and the radar in the twin scene are calculated, a pyramid is drawn to serve as a tracking light cone, the bottom surface of the pyramid faces the locked ship, the vertex angle is positioned at the radar position, and the azimuth angle parameters of the light cone are adjusted in real time by utilizing a keyframe animation function, so that the light cone is continuously locked on the tracked ship.
CN202311327255.4A 2023-10-13 2023-10-13 Digital twin intelligent fishing port construction and use method based on oblique photography Pending CN117671130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311327255.4A CN117671130A (en) 2023-10-13 2023-10-13 Digital twin intelligent fishing port construction and use method based on oblique photography

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311327255.4A CN117671130A (en) 2023-10-13 2023-10-13 Digital twin intelligent fishing port construction and use method based on oblique photography

Publications (1)

Publication Number Publication Date
CN117671130A true CN117671130A (en) 2024-03-08

Family

ID=90081413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311327255.4A Pending CN117671130A (en) 2023-10-13 2023-10-13 Digital twin intelligent fishing port construction and use method based on oblique photography

Country Status (1)

Country Link
CN (1) CN117671130A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118428651A (en) * 2024-04-23 2024-08-02 北京清科筑成科技股份公司 Engineering cost progress management control method and system
CN118470173A (en) * 2024-07-15 2024-08-09 安创启元(杭州)科技有限公司 Underground pipe network display method and device based on cloud rendering and computer equipment
CN118694910A (en) * 2024-08-28 2024-09-24 中电信数字城市科技有限公司 Video fusion method, device, system, equipment and medium for three-dimensional scene
CN119047223A (en) * 2024-10-31 2024-11-29 一站发展(北京)云计算科技有限公司 Data rendering method and system based on digital twin

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118428651A (en) * 2024-04-23 2024-08-02 北京清科筑成科技股份公司 Engineering cost progress management control method and system
CN118470173A (en) * 2024-07-15 2024-08-09 安创启元(杭州)科技有限公司 Underground pipe network display method and device based on cloud rendering and computer equipment
CN118694910A (en) * 2024-08-28 2024-09-24 中电信数字城市科技有限公司 Video fusion method, device, system, equipment and medium for three-dimensional scene
CN119047223A (en) * 2024-10-31 2024-11-29 一站发展(北京)云计算科技有限公司 Data rendering method and system based on digital twin

Similar Documents

Publication Publication Date Title
CN117671130A (en) Digital twin intelligent fishing port construction and use method based on oblique photography
US10297074B2 (en) Three-dimensional modeling from optical capture
CN103703758B (en) mobile augmented reality system
JP2021111385A (en) Systems and methods that enable collaborative 3D map data fusion platforms and their virtual world systems
US20190026400A1 (en) Three-dimensional modeling from point cloud data migration
CN112053446A (en) Real-time monitoring video and three-dimensional scene fusion method based on three-dimensional GIS
US20170039765A1 (en) System and method for real-time overlay of map features onto a video feed
WO2020192026A1 (en) Measurement method and system for urban mountain-viewing visible range
CN110660125B (en) 3D modeling device for power distribution network system
CN114741768A (en) Three-dimensional modeling method for intelligent substation
CN111273877B (en) Linkage display platform and linkage method for live-action three-dimensional data and two-dimensional grid picture
Rau et al. A cost-effective strategy for multi-scale photo-realistic building modeling and web-based 3-D GIS applications in real estate
CN115082254A (en) Lean control digital twin system of transformer substation
CN116778285A (en) Big data fusion method and system for constructing digital twin base
CN110209864B (en) Network platform system for three-dimensional model measurement, ruler changing, labeling and re-modeling
CN118691776A (en) A 3D real scene modeling and dynamic updating method based on multi-source data fusion
CN115937461A (en) Multi-source fusion model construction and texture generation method, device, medium and equipment
CN116309732A (en) A visualization method of ship motion based on digital twin
CN112800514B (en) Method for applying laser point Yun Jia BIM modeling technology to visual control platform of converter station
CN118533176A (en) A method for planning and safety verification of drone inspections
Gu et al. Surveying and mapping of large-scale 3D digital topographic map based on oblique photography technology
CN115018984A (en) A model association method for power distribution construction projects based on UAV inspection
CN115187736A (en) Target map generation method and device, and AR map generation method and device
CN112734924B (en) Visual modeling method for roadbed slope live-action three-dimensional model
Gruber et al. Urban data management—A modern approach

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