CN111325662A - Method for generating 3D space house type model based on spherical projection panoramic image - Google Patents

Method for generating 3D space house type model based on spherical projection panoramic image Download PDF

Info

Publication number
CN111325662A
CN111325662A CN202010106320.0A CN202010106320A CN111325662A CN 111325662 A CN111325662 A CN 111325662A CN 202010106320 A CN202010106320 A CN 202010106320A CN 111325662 A CN111325662 A CN 111325662A
Authority
CN
China
Prior art keywords
spherical projection
projection
panorama
house type
panoramic image
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
CN202010106320.0A
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.)
Guangzhou Gravitational Wave Information Technology Co ltd
Original Assignee
Guangzhou Gravitational Wave Information Technology 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 Guangzhou Gravitational Wave Information Technology Co ltd filed Critical Guangzhou Gravitational Wave Information Technology Co ltd
Priority to CN202010106320.0A priority Critical patent/CN111325662A/en
Publication of CN111325662A publication Critical patent/CN111325662A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • G06T3/08

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method for generating a 3D (three-dimensional) space house type model based on a spherical projection panorama, which belongs to the technical field of three-dimensional reconstruction and comprises the following steps: inputting a spherical projection panorama; calibrating and arranging a line on a middle-high vertical edge of the spherical projection panorama; and inputting the coordinates of the end points of the two ends of the flat cables in the spherical projection panoramic image and the spherical projection panoramic image into an algorithm to obtain a spherical projection panoramic image model file and a mapping of each surface. By referring to a perspective projection principle taking human eyes as projection centers, the distance from the corresponding equal-height flat cable to the projection centers and the relative projection center direction are calculated, so that a 3D house type model of the whole space is obtained, and the mapping of each surface is formed by segmentation. The method simplifies the construction process of the 3D house type model, greatly shortens the modeling time, reduces the cost, is not limited to a specific house type, can adapt to different types of house types, and has the advantages of high accuracy and capability of truly restoring the space effect.

Description

Method for generating 3D space house type model based on spherical projection panoramic image
Technical Field
The invention relates to the technical field of three-dimensional reconstruction, in particular to a method for generating a 3D space house type model based on a spherical projection panoramic image.
Background
In recent years, a virtual house-watching technology has attracted attention, and is very convenient and fast, has a very strong sense of substitution, and is favored by developers. However, the construction of the 3D house type model at present mainly depends on a 3D modeling engineer to establish the 3D modeling once and again according to drawings, on-site effect pictures and specific sizes, and is time-consuming, labor-consuming and high in cost; the 3D house type model is constructed by the method, the reconstruction of the 3D house type model can be completed only based on a certain specific house type or through complicated operation, and the method has limitation and complexity.
At present, although the search for 3D house type model reconstruction by recognizing the edge contour of the panorama through a pattern engine learning mode appears in the market, no specific feasible scheme is formed. And the above search is limited to very simple dwellings such as square or L-shaped dwellings. Thus, the above problems have not been solved yet.
Disclosure of Invention
The invention provides a method for generating a 3D (three-dimensional) spatial house type model based on a spherical projection panorama, which solves the problems of complex construction process, long time consumption and high cost of the existing 3D house type model.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a method for generating a 3D spatial house type model based on a spherical projection panorama comprises the following steps:
step S1: inputting a spherical projection panorama;
step S2: calibrating and arranging a line on a middle-high vertical edge of the spherical projection panorama;
step S3: inputting the coordinates of the end points of the two ends of the calibrated flat cable in the spherical projection panoramic image and the spherical projection panoramic image into an algorithm together to obtain a spherical projection panoramic image model file and a mapping of each surface;
the algorithm principle of the algorithm in the step S3 is as follows:
a. according to the principle that all the flat cables are equal in height and the perspective projection principle taking human eyes as projection centers, the distance between the corresponding flat cables and the projection centers is calculated;
b. then according to the fact that the transverse length of the spherical projection panorama is 360 degrees, the position of the corresponding flat cable is determined by referring to the projection center;
c. determining the relative position of the calibrated flat cable in the real space according to the distance and the direction between the flat cable and the projection center; thereby obtaining a 3D house type model of the whole space; connecting two adjacent groups of flat cables, wherein the formed quadrangle is a map of each surface; finally generating a map of the spherical projection panoramic image model file and each surface.
Preferably, step S2 further includes step S2-1: and calibrating the coordinates of the end points at the two ends of all the flat cables in the spherical projection panorama.
Preferably, the vertical edge in step S2 is a corner line.
Preferably, the aspect ratio of the spherical projection panorama in step S1 is 2: 1.
Preferably, the spherical projection panorama model file in step S2 is an obj file.
By adopting the technical scheme, the distance between the corresponding equal-height flat cables and the projection center and the relative projection center position are calculated by referring to a perspective projection principle taking human eyes as the projection center, so that a 3D house type model of the whole space is obtained, and the mapping of each surface is formed by segmentation.
Compared with the prior art, the technical scheme has the following beneficial effects:
1. the house type virtual 3D reconstruction can be completed by only shooting a scene spherical projection panoramic image, the construction process of a 3D house type model is simplified, the modeling time is greatly shortened, and the cost is reduced;
2. the method is not limited to a specific house type, can adapt to different types of house types, has high accuracy and can truly restore the space effect.
Drawings
FIG. 1 is a schematic view of a spherical projection panorama according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of calibrating a flat cable for a high vertical edge in a spherical projection panorama according to an embodiment of the present invention;
FIG. 3 is a partial effect diagram of a 3D house type model according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating the effect of the 3D house type model according to the embodiment of the present invention;
FIG. 5 is a diagram illustrating an effect of another perspective of the 3D house type model according to the embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in the figure, the method for generating a 3D spatial house type model based on a spherical projection panorama provided by the present invention comprises the following steps:
step S1: inputting a spherical projection panorama (see fig. 1) which is shot by a panoramic photography device arranged on site;
step S2: the flat cables 10 (see fig. 2) are calibrated for the middle and high vertical edges of the spherical projection panorama, and the positions of the end points at both ends of all the flat cables 10 in the spherical projection panorama are recorded.
Step S2-1: and calibrating the coordinates of the end points of the two ends of all the flat cables 10 in the spherical projection panorama.
Step S3: inputting the coordinates of the end points of the two ends of the calibration flat cable 10 in the spherical projection panoramic image and the spherical projection panoramic image into an algorithm together to obtain a spherical projection panoramic image model file and a mapping of each surface;
the algorithm principle of the algorithm in the step S3 is as follows:
a. according to the principle that all the flat cables 10 are equal in height and referring to the perspective projection principle taking human eyes as projection centers, calculating the distance between the corresponding flat cables 10 and the projection centers by substituting the coordinates of the spherical projection panorama of the end points at the two ends of the flat cables 10;
b. then, according to the fact that the transverse length of the spherical projection panorama is 360 degrees, angle variation among transverse unit intervals is calibrated in a segmented mode, and therefore the direction of the corresponding flat cable 10 is determined by referring to a projection center;
c. further determining the relative position of the calibrated flat cable 10 in the real space according to the distance and the direction between the flat cable 10 and the projection center; thereby obtaining a 3D house type model of the whole space; connecting two adjacent groups of flat cables 10 to form a quadrangle, namely a mapping of each surface; finally generating a map of the spherical projection panoramic image model file and each surface.
Compared with the prior art, the method has the advantages that the virtual 3D reconstruction of the house type can be completed only by shooting a scene spherical projection panorama, the construction process of the 3D house type model is simplified, the modeling time is greatly shortened, the cost is reduced, the method is not limited to a specific house type, the method can adapt to different types of house types, the accuracy is high, and the space effect can be really restored.
Further, the vertical edge in step S2 is a corner line with equal height (i.e. a corner line formed by adjacent wall surfaces); it should be noted that when the wall corner lines in the space are not of equal height, vertical reference lines of equal height may be marked on the wall corner lines before the spherical projection panorama is shot, and when the flat cable 10 is calibrated subsequently, the vertical reference lines are used as references for calibration, so as to avoid the influence of the unequal height of the wall corner lines on the calibration of the flat cable 10.
Further, the aspect ratio of the spherical projection panorama in step S1 is 2: 1.
Further, the spherical projection panorama model file in step S2 is an obj file.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (5)

1. A method for generating a 3D spatial house type model based on a spherical projection panorama is characterized by comprising the following steps:
step S1: inputting a spherical projection panorama;
step S2: calibrating a flat cable (10) on a middle-high vertical edge of the spherical projection panorama;
step S3: inputting the coordinates of the end points of the two ends of all the flat cables (10) in the spherical projection panoramic image and the spherical projection panoramic image into an algorithm to obtain a spherical projection panoramic image model file and a mapping of each surface;
the algorithm principle of the algorithm in the step S3 is as follows:
a. according to the principle that all the flat cables (10) are equal in height and the perspective projection principle taking human eyes as the projection center, the distance between the corresponding flat cables (10) and the projection center is calculated;
b. then according to the fact that the transverse length of the spherical projection panorama is 360 degrees, the position of the corresponding flat cable (10) is determined by referring to the projection center;
c. further determining the relative position of the calibrated flat cable (10) in the real space according to the distance and the direction between the flat cable (10) and the projection center; thereby obtaining a 3D house type model of the whole space; connecting two adjacent groups of flat cables (10), wherein the formed quadrangle is a mapping of each surface; finally generating a map of the spherical projection panoramic image model file and each surface.
2. The method for generating a 3D spatial house type model based on spherical projection panorama of claim 1, wherein step S2 further comprises step S2-1: and calibrating the coordinates of the end points at the two ends of all the flat cables (10) in the spherical projection panorama.
3. The method for generating a 3D spatial house type model based on spherical projection panorama of claim 1, wherein the vertical edge in step S2 is a corner line.
4. The method for generating a 3D spatial house model based on a spherical projection panorama of claim 1, wherein the spherical projection panorama has an aspect ratio of 2:1 in step S1.
5. The method for generating a 3D spatial house type model based on spherical projection panorama of claim 1, wherein the spherical projection panorama model file in step S2 is an obj file.
CN202010106320.0A 2020-02-21 2020-02-21 Method for generating 3D space house type model based on spherical projection panoramic image Pending CN111325662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010106320.0A CN111325662A (en) 2020-02-21 2020-02-21 Method for generating 3D space house type model based on spherical projection panoramic image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010106320.0A CN111325662A (en) 2020-02-21 2020-02-21 Method for generating 3D space house type model based on spherical projection panoramic image

Publications (1)

Publication Number Publication Date
CN111325662A true CN111325662A (en) 2020-06-23

Family

ID=71172940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010106320.0A Pending CN111325662A (en) 2020-02-21 2020-02-21 Method for generating 3D space house type model based on spherical projection panoramic image

Country Status (1)

Country Link
CN (1) CN111325662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068751A (en) * 2020-08-28 2020-12-11 北京五八信息技术有限公司 House resource display method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6271855B1 (en) * 1998-06-18 2001-08-07 Microsoft Corporation Interactive construction of 3D models from panoramic images employing hard and soft constraint characterization and decomposing techniques
CN108961395A (en) * 2018-07-03 2018-12-07 上海亦我信息技术有限公司 A method of three dimensional spatial scene is rebuild based on taking pictures
CN109461210A (en) * 2018-10-15 2019-03-12 杭州群核信息技术有限公司 A kind of Panoramic Warping method of online house ornamentation
CN110062201A (en) * 2019-02-27 2019-07-26 沈阳天择智能交通工程有限公司 The illegal evidence-obtaining system of panorama
US20190279415A1 (en) * 2016-08-10 2019-09-12 Sony Corporation Image processing apparatus and image processing method
CN110782524A (en) * 2019-10-25 2020-02-11 重庆邮电大学 Indoor three-dimensional reconstruction method based on panoramic image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6271855B1 (en) * 1998-06-18 2001-08-07 Microsoft Corporation Interactive construction of 3D models from panoramic images employing hard and soft constraint characterization and decomposing techniques
US20190279415A1 (en) * 2016-08-10 2019-09-12 Sony Corporation Image processing apparatus and image processing method
CN108961395A (en) * 2018-07-03 2018-12-07 上海亦我信息技术有限公司 A method of three dimensional spatial scene is rebuild based on taking pictures
CN109461210A (en) * 2018-10-15 2019-03-12 杭州群核信息技术有限公司 A kind of Panoramic Warping method of online house ornamentation
CN110062201A (en) * 2019-02-27 2019-07-26 沈阳天择智能交通工程有限公司 The illegal evidence-obtaining system of panorama
CN110782524A (en) * 2019-10-25 2020-02-11 重庆邮电大学 Indoor three-dimensional reconstruction method based on panoramic image

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JULIAN STRAUB ET AL: "A Mixture of Manhattan Frames: Beyond the Manhattan World", 《2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION》 *
曹广强 等: "基于全景图的数字三维实景实现", 《测绘标准化》 *
赵宇: "基于全景相机的三维重建方法研究", 《中国优秀博硕士学位论文全文数据库(电子期刊) 信息科技辑》 *
龚跃健等: "基于移动LiDAR点云数据的室内全要素三维重建", 《测绘工程》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068751A (en) * 2020-08-28 2020-12-11 北京五八信息技术有限公司 House resource display method and device

Similar Documents

Publication Publication Date Title
CA3103844C (en) Method for reconstructing three-dimensional space scene based on photographing
Schöps et al. Surfelmeshing: Online surfel-based mesh reconstruction
CN109658365B (en) Image processing method, device, system and storage medium
US8406509B2 (en) Three-dimensional surface generation method
Zhang et al. A UAV-based panoramic oblique photogrammetry (POP) approach using spherical projection
CN108564527B (en) Panoramic image content completion and restoration method and device based on neural network
KR100755450B1 (en) 3d reconstruction apparatus and method using the planar homography
CN108288292A (en) A kind of three-dimensional rebuilding method, device and equipment
CN110490916A (en) Three dimensional object modeling method and equipment, image processing apparatus and medium
CN109685891A (en) 3 d modeling of building and virtual scene based on depth image generate system
CN109035327B (en) Panoramic camera attitude estimation method based on deep learning
CN104463969B (en) A kind of method for building up of the model of geographical photo to aviation tilt
JP2000268179A (en) Three-dimensional shape information obtaining method and device, two-dimensional picture obtaining method and device and record medium
CN108876909A (en) A kind of three-dimensional rebuilding method based on more image mosaics
CN111062869A (en) Curved screen-oriented multi-channel correction splicing method
CN116051747A (en) House three-dimensional model reconstruction method, device and medium based on missing point cloud data
Lee et al. Interactive 3D building modeling using a hierarchical representation
CN113393577B (en) Oblique photography terrain reconstruction method
Yuan et al. Presim: A 3d photo-realistic environment simulator for visual ai
CN102034234B (en) Self-calibration method of multi-view structured light system
CN111325662A (en) Method for generating 3D space house type model based on spherical projection panoramic image
Styliadis Historical photography-based computer-aided architectural design: Demolished buildings information modeling with reverse engineering functionality
Tian et al. Registration and occlusion handling based on the FAST ICP-ORB method for augmented reality systems
Jacquet et al. Real-world normal map capture for nearly flat reflective surfaces
CN114998496A (en) Orthoimage rapid generation method based on scene aerial photography image and sparse point cloud

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