A real-scene three-dimensional refined modeling method and system
Through the triangulation analysis method and the texture feature iteration method, the problem of difficulty in reflecting detailed information and insufficient clarity of low-level buildings in the three-dimensional reconstruction of high-rise buildings is solved, high-quality three-dimensional refined modeling is achieved, and image clarity and reconstruction quality are improved.
Patent Information
- Application Number
- CN202110418435.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the three-dimensional reconstruction of high-rise buildings, it is especially difficult to reflect detailed information, and the definition of low-rise buildings is insufficient, making the three-dimensional reconstruction difficult.
The triangular analysis method is used for 3D modeling, and texture features are extracted from images of different heights for iteration, and the corresponding relationship with the grid is constructed. The texture features are mapped to the grid of the 3D image side wall and ground of the target building, and interpolation iteration is performed. Re-mesh the 3D model to achieve refined modeling.
The clarity of the three-dimensional model is improved, detailed information is supplemented, super-resolution reconstruction is achieved through sparse feature point extraction and multiple interpolation, and the image quality is improved.
Smart Images

Figure CN113160410B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-dimensional view modeling, and in particular to a real-scene three-dimensional refined modeling method and system. Background Art
[0002] To ensure the integrity of the image, three-dimensional reconstruction of high-rise buildings often uses overhead images, which often result in insufficient clarity of the lower floors.
[0003] Three-dimensional reconstruction is difficult, especially the difficulty in reflecting detailed information. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a real-scene three-dimensional refined modeling method and system, which adopts a triangulated analytical method to perform three-dimensional modeling, extracts texture features through images at different heights for iteration, and realizes refined modeling.
[0005] To achieve the above object, the present invention provides a real-scene three-dimensional refined modeling method, comprising:
[0006] S1 inputs multiple images of the target building taken by the drone at different heights and angles; inputs the location and posture data of each image;
[0007] S2 preprocesses multiple images;
[0008] S3 uses the triangulation method to perform three-dimensional modeling based on the image covering the roof of the target building;
[0009] S4 meshes the three-dimensional model;
[0010] S5 extracts the building side wall and ground image from the image at the next height according to the shooting position from high to low, extracts the texture features; constructs the corresponding relationship with the grid, maps the texture features to the grid of the side wall and ground of the three-dimensional image of the target building, performs interpolation iteration, and re-grids the three-dimensional model;
[0011] S6 determines whether there is an image with a lower height, if so, returns to step S5, if not, goes to step S7;
[0012] S7 performs smoothing filtering on the image after interpolation iteration to complete the three-dimensional reconstruction.
[0013] Furthermore, feature points are detected on the input image and converted to a set scale in a geodetic coordinate system.
[0014] Furthermore, the three-dimensional modeling using the triangulation analysis method in step S3 includes:
[0015] S31 performs 2D feature matching;
[0016] S32 calculates 3D point coordinates;
[0017] S31 forms three-dimensional point cloud data.
[0018] Furthermore, the texture features are mapped to the meshes of the side walls and the ground of the three-dimensional image, and the interpolation iteration includes:
[0019] Perform coordinate transformation to map features to several grids of the three-dimensional image;
[0020] The texture features mapped to the grid are averaged, the texture features of the grid corners are iterated, and the interior of the grid is interpolated. During the iteration, if the texture feature mean is smaller than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced by the texture feature mean.
[0021] Furthermore, the different heights include heights higher than the roof of the target building, and the interval between the heights is no greater than a preset value.
[0022] On the other hand, a real-scene three-dimensional refined modeling system is provided, including an input module, a posture acquisition module, a preprocessing module, a three-dimensional modeling module, a meshing module, an interpolation iteration module, and a reconstruction module;
[0023] An input module inputs multiple images of the target building taken by the drone at different heights and angles;
[0024] The posture acquisition module inputs the position and posture data of each image;
[0025] A preprocessing module is used to preprocess multiple images;
[0026] The 3D modeling module uses the triangulation method to perform 3D modeling based on the image covering the roof of the target building;
[0027] Meshing module, which performs meshing on the three-dimensional model;
[0028] The interpolation iteration module extracts the building side wall and ground images from the next height image according to the shooting position from high to low, and extracts the texture features; builds a corresponding relationship with the grid, maps the texture features to the grid of the side wall and ground of the target building's three-dimensional image, and performs interpolation iteration until the interpolation iteration of all height images is completed; and after each iteration, the grid division module re-grids the three-dimensional model;
[0029] The reconstruction module performs smoothing filtering on the image after interpolation iteration to complete the three-dimensional reconstruction.
[0030] Furthermore, the preprocessing module performs feature point detection on the input image and converts it into a set scale in a geodetic coordinate system.
[0031] Furthermore, the 3D modeling module performs 2D feature matching; calculates 3D point coordinates; and forms 3D point cloud data.
[0032] Furthermore, the interpolation iteration module includes an extraction unit, a coordinate transformation unit, a mapping unit, an iteration unit and a judgment unit;
[0033] The extraction unit extracts the building side wall and ground image from the input height image to extract the texture feature;
[0034] The coordinate transformation unit transforms the coordinates in the earth coordinate system corresponding to the texture features into the three-dimensional image coordinate system;
[0035] The mapping unit maps the texture feature to a corresponding grid of the three-dimensional image based on the coordinates in the three-dimensional model coordinate system;
[0036] The iterative unit maps the texture features to the grids of the side walls and the ground of the three-dimensional image of the target building, and takes the average of the texture features mapped to the grids; if the texture feature average is smaller than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced with the texture feature average; and the texture feature average interpolation is performed on the inside of the grid;
[0037] The judging unit judges whether there is a lower height image, and if so, notifies the extracting unit to input the next height image, and if not, completes the interpolation iteration.
[0038] Furthermore, the different heights include heights higher than the roof of the target building, and the interval between the heights is no greater than a preset value.
[0039] The above technical solution of the present invention has the following beneficial technical effects:
[0040] (1) The present invention takes images of a target building at different heights, extracts texture features from the images at different heights and performs iterations, so that the texture features of the images at different heights are reflected in the three-dimensional model, supplements the detail information of the three-dimensional model, and improves the clarity.
[0041] (2) After the feature points are extracted, the present invention uses sparse feature points for three-dimensional modeling, which has a small amount of calculation. The triangular interpolation method is used to perform multiple interpolations to achieve super-resolution reconstruction and improve image quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a schematic diagram of the process of real-life 3D refined modeling;
[0043] Figure 2 Schematic diagram of the real-life 3D refined modeling system. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0045] On the one hand, a real-life 3D fine-grained modeling method is provided, combined with Figure 1 The steps include:
[0046] S1 inputs multiple images of the target building taken by the drone at different heights and angles; inputs the location and posture data of each image;
[0047] When drones are used for filming, the distance from buildings should be at least 20m. Different heights include those above the roof of the target building, and the interval between heights should not exceed 18m. When drones are used for filming, tilted filming is used with an overlap rate of 70%.
[0048] The three-dimensional modeling of the present invention is a single-angle modeling, not a panoramic model, so the drone does not need to take spiral shots, and can take pictures at different heights. The drone can be equipped with a multi-lens camera or multiple cameras, and images from different perspectives can be obtained in one flight.
[0049] The posture data is obtained by the position sensor and the attitude sensor. The purpose of triangulation in the air is to restore the mutual position relationship between images and calculate the image position and attitude parameters to obtain the target sparse point cloud.
[0050] S2 preprocesses multiple images.
[0051] Preprocessing includes feature point detection, coordinate transformation and scale transformation of the input image.
[0052] Feature point detection converts coordinates to the geodetic coordinate system, calculates feature extraction, calculates the depth of feature points and converts them to the same scale to facilitate subsequent three-dimensional modeling and iterative calculations.
[0053] It also includes image correction to eliminate geometric deformation of the image, such as using bilinear transformation. After image correction, coordinate transformation is performed to convert to the earth coordinate system. Orthogonal correction eliminates (or reduces) distortion effects caused by factors including camera tilt and terrain features. Orthogonal correction helps, for example, to accurately determine the location of the base of a building in a geographic area, and also helps to accurately measure distance and direction.
[0054] S3 uses the triangulation method to perform three-dimensional modeling based on the image covering the roof of the target building;
[0055] The three-dimensional modeling using triangulation analysis includes:
[0056] S31 performs 2D feature matching; uses an operator to extract feature points of interest, such as using a Moravec operator, a Forstner operator, a Harris operator or a SIFT operator to extract corner points as feature points, and performs sparse processing. The sparse feature points of the image for 3D modeling are directly matched.
[0057] S32 calculates the 3D point coordinates; calculates the 3D point coordinates in the 3D coordinate system for the matched feature points.
[0058] S31 forms three-dimensional point cloud data.
[0059] S4 meshes the three-dimensional model;
[0060] Construct a triangular mesh to divide the three-dimensional image.
[0061] S5 extracts the building side wall and ground image from the image at the next height according to the shooting position from high to low, and extracts the texture features; constructs a corresponding relationship with the grid, maps the texture features to the grid of the side wall of the three-dimensional image of the target building, and performs interpolation iteration.
[0062] Extract the building side wall and ground image from the lower height image, extract the texture features, and convert the coordinates of the texture features in the geodetic coordinate system to the three-dimensional image coordinate system. Map the texture features to the target building and the ground. After the mapping is completed, interpolate and iterate the grids of the three-dimensional image side wall and ground. Take the average of the texture features mapped to the grid, iterate the texture features of the corner points of the grid, and interpolate the inside of the grid. During the iteration, if the texture feature mean is less than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced with the texture feature mean.
[0063] Reconstruct the triangular mesh and divide the 3D image. Use the image with lower height to continue interpolation iteration. Simultaneously achieve texture reconstruction and interpolation. Super-resolution reconstruction is achieved through multiple rounds of interpolation.
[0064] S6 determines whether there is an image with a lower height, if so, returns to step S4, if not, goes to step S7;
[0065] S7 performs smoothing filtering on the image after interpolation iteration to complete the three-dimensional reconstruction.
[0066] These points are converted into surfaces to complete the 3D reconstruction.
[0067] On the other hand, a real-life 3D refined modeling system is provided, combined with Figure 2, including input module, posture acquisition module, preprocessing module, 3D modeling module, meshing module, interpolation iteration module and reconstruction module.
[0068] Input module, input multiple images of the target building taken by the drone at different heights and angles. When the drone is shooting, the distance from the building is at least 20m. Different heights include those above the roof of the target building, and the interval between heights is no more than 18m. The drone uses oblique shooting, with an overlap rate of 70%.
[0069] The position and posture acquisition module inputs the position and posture data of each image.
[0070] The preprocessing module preprocesses multiple images; detects feature points on the input images and converts them into a set scale in the geodetic coordinate system.
[0071] The 3D modeling module uses the triangulation method to perform 3D modeling based on the image covering the roof of the target building. The 3D modeling module performs 2D feature matching, calculates 3D point coordinates, and forms 3D point cloud data.
[0072] Meshing module, which performs meshing on the three-dimensional model.
[0073] The interpolation iteration module extracts the building side wall and ground images from the next height image according to the shooting position from high to low, and extracts the texture features; builds a corresponding relationship with the grid, maps the texture features to the grid of the side wall and ground of the three-dimensional image of the target building, and performs interpolation iteration until the interpolation iteration of all height images is completed; and after each iteration, the grid division module re-grids the three-dimensional model.
[0074] The interpolation iteration module includes an extraction unit, a coordinate transformation unit, a mapping unit, an iteration unit, and a judgment unit;
[0075] The extraction unit extracts the building side wall and ground image from the input height image to extract the texture feature;
[0076] The coordinate transformation unit transforms the coordinates in the earth coordinate system corresponding to the texture features into the three-dimensional image coordinate system;
[0077] The mapping unit maps the texture feature to a corresponding grid of the three-dimensional image based on the coordinates in the three-dimensional model coordinate system;
[0078] The iterative unit maps the texture features to the grids of the side walls and the ground of the three-dimensional image of the target building, and takes the average of the texture features mapped to the grids; if the texture feature average is smaller than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced with the texture feature average; and the texture feature average interpolation is performed on the inside of the grid;
[0079] The judging unit judges whether there is a lower height image, and if so, notifies the extracting unit to input the next height image, and if not, completes the interpolation iteration.
[0080] The reconstruction module performs smoothing filtering on the image after interpolation iteration to complete the three-dimensional reconstruction.
[0081] In summary, the present invention relates to a real-scene three-dimensional refined modeling method and system, which inputs multiple images of target buildings taken by drones at different heights and angles; inputs the position and posture data of each image; based on the image covering the roof of the target building, three-dimensional modeling is performed using a triangulation analysis method; the three-dimensional model is meshed; images at lower heights are repeatedly used to extract the side walls and ground images of the building, and texture features are extracted; a corresponding relationship with the grid is constructed, and the texture features are mapped to the grids of the side walls and ground of the three-dimensional image of the target building, and interpolation iteration is performed; the images after interpolation iteration are smoothed and filtered to complete the three-dimensional reconstruction. The present invention takes images of different heights for the target building, extracts texture features through images of different heights, and iterates, so that the texture features of the images of different heights are reflected in the three-dimensional model, supplements the detail information of the three-dimensional model, and improves the clarity.
[0082] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
Claims
1. A real-scene three-dimensional refined modeling method, It is characterized in that include: S1 inputs multiple images of the target building taken by the drone at different heights and angles; Input the position and posture data of each image capture; S2 preprocesses multiple images; S3 uses the triangulation method to perform three-dimensional modeling based on the image covering the roof of the target building; S4 meshes the three-dimensional model; S5 extracts the building side wall and ground images from the next height image according to the shooting position from high to low, and extracts the texture features; Construct the correspondence with the grid, map the texture features to the grid of the side wall and ground of the target building's 3D image, and perform interpolation iteration; S6 determines whether there is an image with a lower height, if so, returns to step S4, if not, goes to step S7; S7 performs smoothing filtering on the image after interpolation iteration to complete three-dimensional reconstruction; The texture features are mapped to the meshes of the side walls and the ground of the three-dimensional image, and the interpolation iteration includes: Perform coordinate transformation to map features to several grids of the three-dimensional image; The texture features mapped to the grid are averaged, the texture features of the grid corners are iterated, and the interior of the grid is interpolated. During the iteration, if the texture feature mean is smaller than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced by the texture feature mean.
2. The real-scene three-dimensional refined modeling method according to claim 1, It is characterized in that Perform feature point detection on the input image and convert it to a set scale in the geodetic coordinate system.
3. The real-scene three-dimensional refined modeling method according to claim 1 or 2, It is characterized in that In step S3, the three-dimensional modeling is performed using the triangulation analysis method, including: S31 performs 2D feature matching; S32 calculates 3D point coordinates; S31 forms three-dimensional point cloud data.
4. The real-scene three-dimensional refined modeling method according to claim 1 or 2, It is characterized in that The different heights include heights higher than the roof of the target building, and the interval between the heights is no greater than a preset value.
5. A real-life 3D refined modeling system, It is characterized in that It includes input module, posture acquisition module, preprocessing module, 3D modeling module, meshing module, interpolation iteration module and reconstruction module; An input module inputs multiple images of the target building taken by the drone at different heights and angles; The posture acquisition module inputs the position and posture data of each image; A preprocessing module is used to preprocess multiple images; The 3D modeling module uses the triangulation method to perform 3D modeling based on the image covering the roof of the target building; Meshing module, which performs meshing on the three-dimensional model; The interpolation iteration module extracts the building side wall and ground images from the next height image according to the shooting position from high to low, and extracts the texture features; Construct the corresponding relationship with the grid, map the texture features to the grid of the side wall and ground of the target building's 3D image, and perform interpolation iteration until the interpolation iteration of all height images is completed; and after each iteration, the grid division module re-grids the 3D model; The reconstruction module performs smoothing filtering on the image after interpolation iteration to complete the three-dimensional reconstruction; Wherein, the interpolation iteration module includes an extraction unit, a coordinate transformation unit, a mapping unit, an iteration unit and a judgment unit; The extraction unit extracts the building side wall and ground image from the input height image to extract the texture feature; The coordinate transformation unit transforms the coordinates in the earth coordinate system corresponding to the texture features into the three-dimensional image coordinate system; The mapping unit maps the texture feature to a corresponding grid of the three-dimensional image based on the coordinates in the three-dimensional model coordinate system; The iterative unit maps the texture features to the grids of the side walls and the ground of the three-dimensional image of the target building, and takes the average of the texture features mapped to the grids; if the texture feature average is smaller than the texture feature of the corner point, the texture feature of the current corner point is retained, otherwise it is replaced with the texture feature average; and the texture feature average interpolation is performed on the inside of the grid; The judging unit judges whether there is a lower height image, and if so, notifies the extracting unit to input the next height image, and if not, completes the interpolation iteration.
6. The real-scene three-dimensional refined modeling system according to claim 5, It is characterized in that The preprocessing module detects feature points on the input image and converts it into a set scale in the geodetic coordinate system.
7. The real-scene three-dimensional refined modeling system according to claim 5 or 6, It is characterized in that The 3D modeling module performs 2D feature matching, calculates 3D point coordinates, and forms 3D point cloud data.
8. The real-scene three-dimensional refined modeling system according to claim 5 or 6, It is characterized in that The different heights include heights higher than the roof of the target building, and the interval between the heights is no greater than a preset value.
