CN110379005B - Three-dimensional reconstruction method based on virtual resource management - Google Patents

Three-dimensional reconstruction method based on virtual resource management Download PDF

Info

Publication number
CN110379005B
CN110379005B CN201910662335.2A CN201910662335A CN110379005B CN 110379005 B CN110379005 B CN 110379005B CN 201910662335 A CN201910662335 A CN 201910662335A CN 110379005 B CN110379005 B CN 110379005B
Authority
CN
China
Prior art keywords
computer
node
resources
computing
hardware
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.)
Active
Application number
CN201910662335.2A
Other languages
Chinese (zh)
Other versions
CN110379005A (en
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.)
Terry Digital Technology Beijing Co ltd
Original Assignee
Terra It Technology Beijing Co ltd
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 Terra It Technology Beijing Co ltd filed Critical Terra It Technology Beijing Co ltd
Priority to CN201910662335.2A priority Critical patent/CN110379005B/en
Publication of CN110379005A publication Critical patent/CN110379005A/en
Application granted granted Critical
Publication of CN110379005B publication Critical patent/CN110379005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/04Interpretation of pictures
    • G01C11/30Interpretation of pictures by triangulation
    • G01C11/34Aerial triangulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • G06F9/5088Techniques for rebalancing the load in a distributed system involving task migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a three-dimensional reconstruction method based on virtual resource management, which can perform oblique real-scene three-dimensional model reconstruction by virtualizing a plurality of computing nodes on a single computer through a virtual resource pool. The advantages are that: the method realizes the separation of hardware and resources by virtualizing the hardware resources of each computer into a resource pool, so that a plurality of computing nodes can be virtualized on one computer, the resources are dynamically allocated to each computing node according to the computing process, the hardware resources of the computers are utilized to the maximum extent, the utilization rate of each computer is improved, and the modeling efficiency of a single computer is improved on the premise of not influencing the modeling effect.

Description

Three-dimensional reconstruction method based on virtual resource management
Technical Field
The invention relates to the field of three-dimensional modeling, in particular to a three-dimensional reconstruction method based on virtual resource management.
Background
With the increasing popularity of obtaining image information by oblique photography, various three-dimensional live-action modeling software in the market is more and more, and the main processing flow is as follows: firstly, loading images in the inclined live-action modeling software, setting modeling parameters and submitting a modeling task. Secondly, node working paths on each computer in the local area network are set, and main node working paths are set and are kept consistent. Third, the oblique live-action modeling software automatically reads the available machine nodes in the local area network. Fourthly, each machine node automatically processes the corresponding task. And fifthly, outputting a processing result. The existing three-dimensional modeling method based on a plurality of computers in a local area network has quite a plurality of defects, and specifically comprises the following steps: 1. each computer can only be used as one node, so that hardware resources cannot be fully utilized and are idle more; 2. the multi-node calculation is needed, a plurality of computers are needed, the total purchase cost of the computers is increased, and the power consumption of a plurality of machines in the later period is increased. Therefore, a three-dimensional modeling method is needed to solve the above problems.
Disclosure of Invention
The present invention is directed to a three-dimensional reconstruction method based on virtual resource management, so as to solve the foregoing problems in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a three-dimensional reconstruction method based on virtual resource management comprises the following steps,
s1, loading images in the oblique live-action modeling software, setting modeling parameters and submitting a modeling task;
s2, starting a node program on each computer; each time the node program is enabled, distinguishing virtual nodes by adding different digital forms;
s3, respectively virtualizing the hardware resources of each computer into a resource pool, and realizing the separation of hardware and resources so as to virtualize a plurality of computing nodes in each computer;
s4, setting node access authority and working path in each computer, and automatically reading each node on each computer;
s5, performing a multi-node modeling task, wherein in the process of performing the multi-node modeling task, each computer dynamically distributes hardware resources to the nodes contained in the computer, calculates the required resources according to the calculation task of each node, and dynamically distributes a hardware CPU and a GPU to each node in real time;
and S6, outputting a three-dimensional model result after the tasks distributed by each computer are completed by the nodes contained in the computer.
Preferably, the multi-node modeling task specifically includes aerial triangulation, point cloud construction, prime model construction and automatic texture mapping.
Preferably, in step S4, when a node occupies a high CPU resource in the computer, the computer will automatically allocate the GPU computing resource to other nodes included in the node.
The invention has the beneficial effects that: the hardware resources of each computer are virtualized into a resource pool, so that the hardware and the resources are separated, a plurality of computing nodes can be virtualized on one computer, the resources are dynamically allocated to each computing node according to the computing process, the hardware resources of the computers are utilized to the maximum extent, the utilization rate of each computer is improved, and the modeling efficiency of a single computer is improved on the premise of not influencing the modeling effect.
Drawings
FIG. 1 is a schematic diagram of a three-dimensional reconstruction method according to an embodiment of the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the present invention provides a three-dimensional reconstruction method based on virtual resource management, comprising the following steps,
s1, loading images in the oblique live-action modeling software, setting modeling parameters and submitting a modeling task;
s2, starting a node program on each computer; each time the node program is enabled, distinguishing virtual nodes by adding different digital forms;
s3, respectively virtualizing the hardware resources of each computer into a resource pool, and realizing the separation of hardware and resources so as to virtualize a plurality of computing nodes in each computer;
s4, setting node access authority and working path in each computer, and automatically reading each node on each computer;
s5, performing a multi-node modeling task, wherein in the process of performing the multi-node modeling task, each computer dynamically distributes hardware resources to the nodes contained in the computer, calculates the required resources according to the calculation task of each node, and dynamically distributes a hardware CPU and a GPU to each node in real time;
and S6, outputting a three-dimensional model result after the tasks distributed by each computer are completed by the nodes contained in the computer.
In this embodiment, the computers are located in the same local area network, and each computer in the local area network can virtualize hardware resources into a resource pool to implement resource and hardware separation, so that each computer in the local area network can virtualize a plurality of computing nodes, set node access rights and working paths, and the host interface can automatically read out the plurality of nodes on each computer.
In this embodiment, the multi-node modeling task specifically includes aerial triangulation, point cloud construction, prime modeling, and automatic texture mapping.
In this embodiment, the aerial triangulation is a measurement method in which, in stereo photogrammetry, control point encryption is performed indoors according to a small number of field control points to obtain the elevation and the plane position of an encrypted point. The main purpose of the method is to provide absolutely directional control points for mapping regions lacking field control points. Aerial triangulation is generally divided into two categories: simulating aerial triangulation, namely aerial triangulation by an optical mechanical method; and resolving the aerial triangulation, namely commonly called computerised encryption. The simulated aerial triangulation is aerial triangulation performed on an all-purpose stereo measurement instrument (such as a multiplier). It recovers the space model similar to or corresponding to the shooting course on the instrument, selects the encrypted points according to the mapping requirement, and determines the elevation and plane position.
The method for encrypting the control point indoors utilizes the intrinsic geometric characteristics of the photo in the aerial photogrammetry. The method is characterized in that aerial camera films which are continuously shot and have certain overlap are utilized, and a corresponding flight path model or area network model (optical or digital) on the same site is established by a photogrammetry method according to a small number of field control points, so that the plane coordinates and the elevation of an encrypted point are obtained. The method is mainly used for measuring the topographic map.
In this embodiment, the point cloud construction is the extraction of feature points of the terrain and the ground features based on the aerial triangulation result. In the reverse engineering, a point data set of the product appearance surface obtained by a measuring instrument is also called point cloud, the number of points obtained by using a three-dimensional coordinate measuring machine is small, the distance between the points is large, and the point data set is called sparse point cloud; the point clouds obtained by using the three-dimensional laser scanner or the photographic scanner have larger and denser point quantities, and are called dense point clouds. The point cloud is a collection of a vast number of points on the surface characteristic of the object.
The point cloud obtained according to the laser measurement principle comprises three-dimensional coordinates (XYZ) and laser reflection Intensity (Intensity).
The point cloud obtained according to the photogrammetry principle comprises three-dimensional coordinates (XYZ) and color information (RGB).
And combining laser measurement and photogrammetry principles to obtain a point cloud comprising three-dimensional coordinates (XYZ), laser reflection Intensity (Intensity) and color information (RGB).
After obtaining the spatial coordinates of each sampling Point on the surface of the object, a set of points is obtained, which is called "Point Cloud". Format of the point cloud: *. pts; *. asc; *. dat; *. stl; *. imw, respectively; *. xyz.
In this embodiment, the prime modeling refers to a process in which point clouds form a triangular mesh, and a large number of point clouds form a dense triangular mesh.
In this embodiment, the texture mapping refers to a process of automatically performing mapping on the constructed triangle surface.
In this embodiment, step S4 is specifically that, when a node has a high CPU computing resource occupancy rate in the computer in which the node is located, the computer automatically allocates the GPU computing resource to other nodes included in the node. By dynamically distributing the computing resources, the CPU and GPU computing resources can be fully utilized at any time.
In the embodiment, the method carries out the reconstruction of the inclined real-scene three-dimensional model by virtualizing a plurality of computing nodes on a single computer through a virtual resource pool; the method realizes the separation of hardware and resources by virtualizing the hardware resources of each computer into a resource pool, so that a plurality of computing nodes can be virtualized on one computer, the resources are dynamically allocated to each computing node according to the computing process, the hardware resources of the computers are utilized to the maximum extent, the utilization rate of each computer is improved, and the modeling efficiency of a single computer is improved on the premise of not influencing the modeling effect.
In this embodiment, compared with the existing modeling technology, the method provided by the present invention has the following advantages:
1. the computer with 16 cores can virtualize two computing nodes, the computing efficiency is the same as that of the previous two computers with 64G memory and 16 cores, so that the two nodes are virtualized by the virtualization technology at present, the computing efficiency of each computer is 2 times that of the previous single computer, the number of the nodes which can be virtualized for the computation with higher hardware configuration is 3 or 4, and the computing efficiency is 3-4 times that of the single computer without adopting the virtual node technology; therefore, the modeling efficiency of a single computer can be greatly improved.
2. Secondly, the computing power of one computer is equivalent to that of a plurality of computers before through a virtual node technology, the total investment of computer hardware resources can be reduced, the investment of the hardware resources can be reduced by 30% -40% on the basis of the original investment, in addition, the hardware maintenance and the consumed electric quantity at the later stage can also be reduced by 40% -60% on the basis of the original investment, and therefore the hardware resources and the later-stage daily expenditure are greatly reduced.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained:
the invention provides a three-dimensional reconstruction method based on virtual resource management, which realizes the separation of hardware and resources by virtualizing the hardware resources of each computer into a resource pool, further can virtually simulate a plurality of computing nodes on one computer, dynamically allocates resources to each computing node according to the computing process, maximally utilizes the hardware resources of the computer, improves the utilization rate of each computer, and simultaneously improves the modeling efficiency of a single computer on the premise of not influencing the modeling effect.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.

Claims (3)

1. A three-dimensional reconstruction method based on virtual resource management is characterized in that: comprises the following steps of (a) carrying out,
s1, loading images in the oblique live-action modeling software, setting modeling parameters and submitting a modeling task;
s2, starting node programs on each computer in the same local area network; each time the node program is enabled, distinguishing virtual nodes by adding different digital forms;
s3, respectively virtualizing hardware resources of each computer into a resource pool, realizing the separation of hardware and resources, virtualizing a plurality of computing nodes in each computer respectively, virtualizing a plurality of computing nodes on a single computer through the virtual resource pool, and reconstructing an inclined real-scene three-dimensional model;
s4, setting node access authority and working path in each computer, automatically reading each node on each computer, realizing the separation of hardware and resources by virtualizing the hardware resources of each computer into a resource pool, further virtualizing a plurality of computing nodes on one computer, and dynamically allocating resources to each computing node according to the computing process;
when one node has high occupancy rate of CPU computing resources in the computer in which the node is positioned, the computer automatically distributes the GPU computing resources to other nodes contained in the node, and the CPU and the GPU computing resources are always ensured to be fully utilized at any time;
s5, performing a multi-node modeling task, wherein in the process of performing the multi-node modeling task, each computer dynamically distributes hardware resources to the nodes contained in the computer, calculates the required resources according to the calculation task of each node, and dynamically distributes a hardware CPU and a GPU to each node in real time; the multi-node modeling task comprises aerial triangulation, point cloud construction, prime model construction and automatic texture mapping, wherein the aerial triangulation refers to the process of utilizing aerial camera films which are continuously shot and have certain overlap in stereo photogrammetry and conducting indoor control point encryption according to a small number of field control points to obtain the elevation and the plane position of an encrypted point, the point cloud construction refers to the process of extracting feature points of terrain and ground features based on the aerial triangulation result, the prime model construction refers to the process of constructing a triangular net by point clouds constructed by the point clouds, and the automatic texture mapping refers to the process of automatically pasting images on triangular surfaces formed in the process of constructing the triangular net; the aerial triangulation comprises simulated aerial triangulation and analytic aerial triangulation; the point cloud comprises three-dimensional coordinates, laser reflection intensity and color information;
and S6, outputting a three-dimensional model result after the tasks distributed by each computer are completed by the nodes contained in the computer.
2. The three-dimensional reconstruction method based on virtual resource management according to claim 1, wherein: the point cloud includes three-dimensional coordinates and laser reflection intensity.
3. The three-dimensional reconstruction method based on virtual resource management according to claim 1, wherein: the point cloud includes three-dimensional coordinates and color information.
CN201910662335.2A 2019-07-22 2019-07-22 Three-dimensional reconstruction method based on virtual resource management Active CN110379005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910662335.2A CN110379005B (en) 2019-07-22 2019-07-22 Three-dimensional reconstruction method based on virtual resource management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662335.2A CN110379005B (en) 2019-07-22 2019-07-22 Three-dimensional reconstruction method based on virtual resource management

Publications (2)

Publication Number Publication Date
CN110379005A CN110379005A (en) 2019-10-25
CN110379005B true CN110379005B (en) 2021-09-24

Family

ID=68254825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662335.2A Active CN110379005B (en) 2019-07-22 2019-07-22 Three-dimensional reconstruction method based on virtual resource management

Country Status (1)

Country Link
CN (1) CN110379005B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115641404B (en) * 2022-05-07 2023-09-05 泰瑞数创科技(北京)股份有限公司 Mobile rapid modeling system based on live-action three-dimensional modeling technology

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268253A (en) * 2012-02-24 2013-08-28 苏州蓝海彤翔系统科技有限公司 Intelligent scheduling management method for multi-scale parallel rendering jobs
US8525836B1 (en) * 2012-02-07 2013-09-03 Google Inc. Systems and methods for representing information associated with objects in an area
CN104166581A (en) * 2014-02-19 2014-11-26 湖州师范学院 Virtualization method for increment manufacturing device
CN104811328A (en) * 2014-01-27 2015-07-29 杭州华三通信技术有限公司 Virtual network resource management method and device
CN106201720A (en) * 2016-07-11 2016-12-07 广州高能计算机科技有限公司 Virtual symmetric multi-processors virtual machine creation method, data processing method and system
CN106600684A (en) * 2016-11-29 2017-04-26 浙江科澜信息技术有限公司 Oblique model organization construction method
CN107798731A (en) * 2017-11-10 2018-03-13 泰瑞数创科技(北京)有限公司 A kind of method based on satellite image automatic modeling
CN107907111A (en) * 2017-11-14 2018-04-13 泰瑞数创科技(北京)有限公司 A kind of automatic distributed aerial triangulation calculation method
CN108804112A (en) * 2018-05-22 2018-11-13 上海分布信息科技有限公司 A kind of block chain falls account processing method and system
CN109921926A (en) * 2019-02-19 2019-06-21 重庆市勘测院 A kind of autocontrol method and system of outdoor scene modeling cluster
CN110009195A (en) * 2019-03-08 2019-07-12 晋能电力集团有限公司嘉节燃气热电分公司 Thermal power plant's risk pre-control management system based on physical vlan information fusion technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080279447A1 (en) * 2004-10-15 2008-11-13 Ofek Aerial Photography International Ltd. Computational Solution Of A Building Of Three Dimensional Virtual Models From Aerial Photographs
CN104102548B (en) * 2014-08-04 2017-11-24 北京京东尚科信息技术有限公司 task resource scheduling processing method and system
CN108762892A (en) * 2018-06-07 2018-11-06 北京仿真中心 A kind of resource allocation method of cloud emulation collaborative simulation pattern

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8525836B1 (en) * 2012-02-07 2013-09-03 Google Inc. Systems and methods for representing information associated with objects in an area
CN103268253A (en) * 2012-02-24 2013-08-28 苏州蓝海彤翔系统科技有限公司 Intelligent scheduling management method for multi-scale parallel rendering jobs
CN104811328A (en) * 2014-01-27 2015-07-29 杭州华三通信技术有限公司 Virtual network resource management method and device
CN104166581A (en) * 2014-02-19 2014-11-26 湖州师范学院 Virtualization method for increment manufacturing device
CN106201720A (en) * 2016-07-11 2016-12-07 广州高能计算机科技有限公司 Virtual symmetric multi-processors virtual machine creation method, data processing method and system
CN106600684A (en) * 2016-11-29 2017-04-26 浙江科澜信息技术有限公司 Oblique model organization construction method
CN107798731A (en) * 2017-11-10 2018-03-13 泰瑞数创科技(北京)有限公司 A kind of method based on satellite image automatic modeling
CN107907111A (en) * 2017-11-14 2018-04-13 泰瑞数创科技(北京)有限公司 A kind of automatic distributed aerial triangulation calculation method
CN108804112A (en) * 2018-05-22 2018-11-13 上海分布信息科技有限公司 A kind of block chain falls account processing method and system
CN109921926A (en) * 2019-02-19 2019-06-21 重庆市勘测院 A kind of autocontrol method and system of outdoor scene modeling cluster
CN110009195A (en) * 2019-03-08 2019-07-12 晋能电力集团有限公司嘉节燃气热电分公司 Thermal power plant's risk pre-control management system based on physical vlan information fusion technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Rapid Reconstruction of a Three-Dimensional Mesh Model Based on Oblique Images in the Internet of Things";DONGLING MA等;《IEEE Access》;20181017;第6卷;第61686-61699页 *
"三维重建网格系统中资源调度的研究";孔得伟等;《计算机工程与设计》;20090728;第30卷(第14期);第3298-3300,3304页 *

Also Published As

Publication number Publication date
CN110379005A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110706341B (en) High-performance rendering method and device of city information model and storage medium
WO2020098531A1 (en) Object loading method, device, storage medium, and electronic device
CN109064542B (en) Threedimensional model surface hole complementing method and device
CN111008422B (en) Building live-action map making method and system
CN205193879U (en) Cloud calculates system of playing up
WO2021228031A1 (en) Rendering method, apparatus and system
KR20210086977A (en) Multi-dimensional 3d engine computing and virtualization-based dynamic load balancing of virtual or real worlds
CN105678842A (en) Manufacturing method and device for three-dimensional map of indoor environment
CN112102463B (en) System and method for operating 3D applications through location virtualization techniques
CN110838166B (en) Specific data detection method, device, equipment and storage medium
CN111583378B (en) Virtual asset processing method and device, electronic equipment and storage medium
CN111951368A (en) Point cloud, voxel and multi-view fusion deep learning method
CN110379005B (en) Three-dimensional reconstruction method based on virtual resource management
US9704290B2 (en) Deep image identifiers
CN114140588A (en) Digital sand table creating method and device, electronic equipment and storage medium
WO2024021363A1 (en) Dynamic rendering method and apparatus based on implicit optical transmission function
CN109102565B (en) Method for automatically generating virtual terrain
Liu et al. Fog effect for photography using stereo vision
CN114913277A (en) Method, device, equipment and medium for three-dimensional interactive display of object
WO2018045532A1 (en) Method for generating square animation and related device
CN110136235B (en) Three-dimensional BIM model shell extraction method and device and computer equipment
Wang Construction of the Three-dimensional Virtual Campus Scenes’ Problems and Solutions
JP4122379B2 (en) Radiosity parallel processing method and apparatus
Diao et al. Research on the key techniques on 3D virtual campus system
WO2024037116A1 (en) Three-dimensional model rendering method and apparatus, electronic device and storage medium

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Junwei

Inventor after: Shi Xiyang

Inventor before: Liu Junwei

Inventor before: Huang Dong

Inventor before: Shi Xiyang

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 22 / F, building 683, zone 2, No. 5, Zhongguancun South Street, Haidian District, Beijing 100086

Patentee after: Terry digital technology (Beijing) Co.,Ltd.

Address before: 100081 room 9078, science and technology building, building 683, 5 Zhongguancun South Street, Haidian District, Beijing

Patentee before: Terra-IT Technology (Beijing) Co.,Ltd.