Image acquisition and processing method for 3D reconstruction of construction scene from the perspective of tower crane
By deploying cameras on tower cranes and adjusting their poses, and combining SIFT and MVS algorithms for 3D reconstruction, the problems of automation and accuracy in 3D reconstruction of construction sites have been solved. This has enabled efficient and high-quality image acquisition and model evaluation, and is suitable for construction progress recognition and model usage determination.
Patent Information
- Application Number
- CN202410414016.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2044-04-08
AI Technical Summary
Existing 3D reconstruction methods for building construction sites suffer from low automation, poor image acquisition quality, underutilization of prior site information, and unclear model purpose.
Cameras are deployed at the front end of the tower crane boom. By adjusting the camera's pose and viewing angle, a set of building images is automatically acquired. The images are then reconstructed in 3D using the SIFT algorithm and the Multi-View Stereo method. The images are filtered using a perceptual hashing algorithm to generate a dense point cloud model. Finally, the model quality is evaluated using multiple quality indicators to determine its intended use.
It enables efficient and automated image acquisition and high-precision 3D reconstruction at construction sites, improving image quality and reconstruction efficiency, saving resources, and providing accurate model evaluation, making it suitable for different engineering needs.
Smart Images

Figure CN118314188B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer vision technology, and in particular to an image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane. Background Technology
[0002] An article published in the Journal of Heze University in 2019, titled "Research on 3D Reconstruction Technology of Complex High-Rise Building Structure Images," describes a dynamic programming-based method for 3D reconstruction of complex high-rise building structure images. This method extracts matching points from the image by projecting straight lines and optimizes the curve matching between these points using dynamic programming, thereby enhancing the realism of the 3D reconstruction. However, the projection method used to acquire high-rise building image data is prone to causing overlapping feature point projections, reducing the quality of the acquired image and thus lowering the effectiveness of the 3D reconstruction.
[0003] The 2020 issue of the journal *Intelligent Buildings and Smart Cities*, titled "A Review of Methods for 3D Building Reconstruction," describes a method that uses infrared cameras and lidar to collect point cloud data, and then performs 3D reconstruction of the building based on a motion structure recovery algorithm to obtain a point cloud model. However, the infrared cameras used in this method are limited by their transmission power and are not suitable for outdoor scenes; lidar is significantly affected by multiple reflections (such as glass) when collecting point cloud data, and its measurement distance is limited.
[0004] A 2018 article in the *Journal of Wuhan University (Information Science Edition)*, titled "A Method for Reconstructing 3D Building Models by Integrating Multi-Source Features," describes a method that segments existing airborne point clouds of buildings, extracts planar primitives from the point clouds and image line features, automatically constructs 3D graphics from the topology, and then performs texture mapping on the 3D graphics to obtain a detailed model of the building target. However, this method requires the use of LiDAR and UAVs to acquire point cloud data and extract line features, making the operation cumbersome and lacking in automation.
[0005] A 2023 article in the journal *Science and Technology Innovation*, titled "Research on the Construction of 3D Models of Urban Real Scenes Based on Oblique Photogrammetry and Laser Point Clouds," describes a method for reconstructing 3D models of buildings by acquiring point cloud data using oblique photogrammetry and laser point cloud technology. However, the laser point cloud technology used in this method is susceptible to the effects of lighting and building materials during point cloud data acquisition, leading to significant errors in the acquired point cloud data.
[0006] The 2021 journal article "Construction of an Automated System for Construction Progress Management Based on Deep Learning 3D Reconstruction Technology" published in the Journal of Civil and Environmental Engineering first uses the MVSNet method for 3D reconstruction, and then uses a collaborative automated system for construction progress management (DLR-P) combined with a BIM dynamic model to monitor the construction progress. However, the MVSNet method used in this method has excessive memory overhead when modeling high-definition, large-scale images, making it unsuitable for 3D reconstruction based on large outdoor multi-view image sets.
[0007] Chinese invention patent publication number CN109816774A discloses a UAV-based 3D reconstruction system and method. This method uses a UAV equipped with a 3D LiDAR and a gimbal camera to collect data, projects the LiDAR data onto visual data, and fuses the data. After calibration, fully registered LiDAR point cloud data is obtained, enabling the reconstruction of a 3D scene. However, the data collected by the UAV and LiDAR in this method is easily affected by environmental conditions, leading to deviations in data accuracy and reducing the accuracy of the reconstructed model.
[0008] Chinese invention patent publication number CN115147545A discloses a scene 3D intelligent reconstruction system and method based on BIM and deep learning. Through a depth data acquisition and processing module, a 3D reconstruction module, a semantic segmentation module, and a BIM fusion diagnostic module, the system compares the 3D reconstructed model and the BIM model to extract construction progress information. However, the RGB-D sensor used in this invention to acquire image data is easily affected by ambient lighting, which can impact the accuracy of the acquired building images.
[0009] Chinese invention patent publication number CN111462329A discloses a 3D reconstruction method based on deep learning using drone aerial imagery. This method involves using a drone to photograph buildings, obtaining image data, and then performing 3D reconstruction based on an improved MVSNet network model and depth-map fusion algorithm to obtain a point cloud model. However, this method requires manual control of the drone image acquisition process, resulting in low automation; furthermore, the MVSNet network model incurs significant memory overhead during reconstruction, making it unsuitable for reconstructing large outdoor buildings.
[0010] Chinese invention patent publication number CN112365369A discloses a method for automatic monitoring of construction progress based on machine vision. First, a 3D reconstruction of the construction site scene is performed based on reference images of the construction site and its surrounding environment. Then, non-construction areas from the reference images are extracted as registration primitives, and the construction scene is reconstructed again using these registration primitives to obtain a reconstructed point cloud model. However, this method still requires manual division of construction and non-construction areas for image acquisition and 3D reconstruction, resulting in low automation.
[0011] Chinese invention patent publication CN115564888A discloses a deep learning-based 3D reconstruction method for visible light multi-view images. This method uses an improved MVSNet network model to compress network parameters, reducing memory consumption, and designs a staged, multi-scale iterative optimization of depth estimation, thus improving the accuracy of depth map estimation. However, the compression of network parameters leads to the loss of some details after image processing, thereby reducing the accuracy of the reconstructed point cloud model; the staged, multi-scale iterative optimization of depth estimation results in cumbersome reconstruction steps, thus reducing reconstruction efficiency.
[0012] Summarizing existing methods, it was found that current 3D reconstruction methods for building construction sites have at least the following problems:
[0013] 1) Using traditional manual or aerial photography for image acquisition results in low automation, cumbersome steps, and long modeling time;
[0014] 2) The image acquisition process requires manual optimization of the acquisition method. There is no automated acquisition method optimization and image selection. The image set quality is low without human intervention.
[0015] 3) The prior site information was not well utilized during the 3D reconstruction process, the building construction and tower crane scenes were not optimized, and the purpose of models of different quality was not clearly defined.
[0016] How to achieve efficient, automated, and high-precision image acquisition and modeling at construction sites has become a technical problem that needs to be solved. Summary of the Invention
[0017] The purpose of this invention is to overcome the shortcomings of the existing technology and provide an image acquisition and processing method for three-dimensional reconstruction of construction scenes from the perspective of a tower crane.
[0018] The objective of this invention can be achieved through the following technical solutions:
[0019] According to one aspect of the present invention, an image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane is provided. This method is based on deploying a camera at the front end of the tower crane boom. The method includes the following steps:
[0020] Step S1: Install a camera at the front end of the tower crane boom at the construction site and set the camera's position and orientation.
[0021] Step S2: During the operation of the tower crane, the camera installed on the tower crane takes pictures of the target building to obtain a set of images of the target building;
[0022] Step S3: Based on the image set of the target building, perform 3D reconstruction of the target building to obtain a dense point cloud model of the target building;
[0023] Step S4: Evaluate the effect of the 3D reconstruction and determine the different quality levels and uses of the reconstruction model.
[0024] Preferably, step S1, which involves installing a camera at the front end of the tower crane boom at the construction site and setting the camera's position and orientation, includes the following steps:
[0025] Step S11: Based on the camera's shooting angle, basic parameters, and the actual accuracy requirements of the captured images for 3D reconstruction, determine the relative position of the camera on the tower crane boom, i.e. the range of the slewing radius (R1, R2), and determine the optimal slewing radius R0.
[0026] Step S12: When the target building is heightened and the tower crane height changes, repeat step S11 and adjust the camera's rotation radius range (R1, R2).
[0027] More preferably, step S11 includes the following steps:
[0028] Step S111: Install slide rails at the bottom of the tower crane boom;
[0029] Step S112: Based on the camera's field of view and the minimum incident angle of the target building's facade, determine the relative position R1 of the camera on the tower crane boom when it is closest to the target building;
[0030] Step S113: Based on the basic parameters of the camera and the image resolution requirements of 3D reconstruction, determine the relative position R2 of the camera on the tower crane boom when it is furthest from the target building;
[0031] Step S114: Based on R1 and R2, determine the optimal turning radius R0 of the tower crane camera.
[0032] More preferably, the determination of the relative position R1 of the camera on the tower crane boom when it is closest to the target building specifically refers to:
[0033] Let the camera's field of view be β, the target building's width be b0, the distance from the tower crane's center to the target building's interior facade be b1, the distance from the tower crane's center to the target building's exterior facade be B, the target building's height be h0, the jib's vertical height from the working surface be h1, and the jib's vertical height from the target building's base be H. Calculate the minimum slewing radius R′1 of the horizontal jib tower crane using the following formula:
[0034]
[0035] The minimum slewing radius R′1 of a jib tower crane can be calculated using the following formula:
[0036]
[0037] in,
[0038]
[0039]
[0040]
[0041]
[0042] α is the angle between the tower crane's inclined arm and the horizontal plane;
[0043] Let θ0 be the angle of incidence when the camera captures the lowest point of the building's exterior facade, b0 be the width of the target building, b1 be the distance from the tower crane center to the interior facade of the target building, B be the distance from the tower crane center to the exterior facade of the target building, h0 be the height of the target building, h1 be the vertical height of the jib from the working surface, and H be the vertical height of the jib from the bottom surface of the target building. Calculate the minimum slewing radius R″1 of the horizontal jib tower crane using the following formula:
[0044] R″1=Htanθ0+B
[0045] The minimum slewing radius R″1 of a jib tower crane can be calculated using the following formula:
[0046]
[0047] Where α is the angle between the tower crane's inclined arm and the horizontal plane;
[0048] From the above calculations, we can obtain that the minimum radius of gyration is R1 = max(R′1, R″1).
[0049] More preferably, determining the relative position R2 of the camera on the tower crane boom at the furthest distance from the target building specifically involves setting the maximum shooting distance of the camera to d. GSD Let R1 be the distance from the center of the tower crane to the interior facade of the target building, and H be the vertical height of the boom from the bottom of the target building. Calculate the maximum slewing radius R2 of the horizontal boom tower crane camera when it is furthest from the target building using the following formula:
[0050]
[0051] The maximum slewing radius R2 of the inclined jib tower crane camera when it is farthest from the target building is calculated using the following formula:
[0052]
[0053] Where c = b1cosα + H sinα, α is the angle between the tower crane's inclined arm and the horizontal plane.
[0054] More preferably, determining the optimal turning radius R0 of the tower crane camera based on the turning radius range (R1, R2) specifically involves:
[0055] If R1 ≥ R2, then R0 = R1; if R1 <R2,R0=(R1+R2) / 2;
[0056] Where R1 is the minimum radius of gyration and R2 is the maximum radius of gyration.
[0057] Preferably, in step S2, during the operation of the tower crane, a camera installed on the tower crane takes pictures of the target building to obtain an image set of the target building, including the following steps:
[0058] Step S21: Fix the camera angle. When the tower crane starts working, the camera installed on the tower crane starts to shoot video and stores the video stream in the memory card.
[0059] Step S22: After the tower crane finishes its daytime work, the video stream in the memory card is transmitted to the server, and one video stream image is captured every m frames to obtain the initial image set;
[0060] Step S23: Based on the perceptual hashing algorithm, the initial image set is filtered to obtain a complete high-quality image set with low viewpoint similarity;
[0061] In step S24, when the target building is heightened and the tower crane height changes, the camera's tilt angle is adjusted to ensure that the camera can capture the entire work surface when it is closest to the building and the entire building facade and base when it is furthest from the building; and a precise model is performed based on the obtained image set.
[0062] Preferably, in step S3, the process of performing 3D reconstruction of the target building based on the image set of the target building to obtain a dense point cloud model of the target building includes the following steps:
[0063] Step S31: Extract feature points with scale and rotation invariance from the image set based on the SIFT algorithm, and then match the image based on the extracted feature points;
[0064] Step S32: Sparse reconstruction of the image set is performed, including initialization, image registration, triangulation and bundle adjustment, and the sparse reconstructed point cloud and camera pose estimation are output to obtain the orientation information of the point cloud model.
[0065] Step S33: Perform dense reconstruction on the image set, including image distortion removal, triangulation, bundle adjustment, depth map generation, point cloud fusion, and output a dense point cloud model of the target building.
[0066] Step S34: Perform point cloud scale recovery on the dense point cloud model and output the point cloud model with the recovered scale.
[0067] Preferably, in step S4, the process of evaluating the effect of the 3D reconstruction and determining different quality levels and the intended use of the reconstruction model includes the following steps:
[0068] Step S41: The completeness of the reconstructed model is evaluated by manually observing the "holes and gaps" in the reconstructed model.
[0069] Step S42: Use "point cloud density" to evaluate the number of reconstructed point clouds per unit volume, and evaluate the reconstruction quality of the point cloud from the perspective of the overall density of the model.
[0070] Step S43: Use "bevel distance" to evaluate the reconstruction error between the reconstructed point cloud model and the standard point cloud model, and evaluate the reconstruction quality of the point cloud based on the average offset of each point.
[0071] Step S44: Use “size reconstruction error” to compare the size difference between the reconstructed model and the actual building. Evaluate the reconstruction quality of the point cloud from the perspective of overall geometric size error. The size reconstruction error is the absolute and relative error between the representative values of the height, length and width of the reconstructed model and the actual building size.
[0072] Step S45: Based on the four quality indicators from steps S41 to S44, the reconstruction model is graded and evaluated to determine its quality level and its intended use.
[0073] More preferably, the quality levels include low, medium, and high; the uses of the reconstruction model include "construction floor identification", "determining the installation quality of individual components and pipelines", and "controlling the arrangement of electromechanical pipelines and building attachments".
[0074] Compared with the prior art, the present invention has the following beneficial effects:
[0075] 1) This invention uses cameras installed on tower cranes to collect image data of construction sites. By adjusting the position of the cameras, the entire working surface can be captured when the cameras are closest to the target building, and the entire bottom of the building can be captured when the cameras are farthest from the target building. This enables automated image data acquisition, improving the quality of the acquired images and work efficiency.
[0076] 2) Based on the collected image set, the present invention performs preprocessing, quantization, comparison and screening to obtain a high-quality image set, and then reconstructs it to obtain a dense point cloud model of the construction site, realizing efficient modeling. While the modeling speed is fast, the accuracy of the model can also meet the engineering requirements.
[0077] 3) This invention evaluates the reconstruction model from four aspects and performs a graded evaluation to determine the model's application;
[0078] 4) The method of acquiring data images in this invention makes full use of tower cranes, does not occupy extra space resources, and saves costs. Attached Figure Description
[0079] Figure 1 This is a schematic diagram illustrating the calculation of the minimum slewing radius of the horizontal boom tower crane camera in this invention;
[0080] Figure 2 This is a schematic diagram illustrating the calculation of the minimum turning radius of the inclined boom tower crane camera in this invention;
[0081] Figure 3 This is a schematic diagram illustrating the calculation of the maximum slewing radius of the horizontal boom tower crane camera in this invention;
[0082] Figure 4 This is a schematic diagram illustrating the calculation of the maximum slewing radius of the inclined boom tower crane camera in this invention;
[0083] Figure 5 This is a schematic diagram of the trajectory of the tower crane camera in this invention;
[0084] Figure 6 This is a schematic diagram of the movement plane of the tower crane camera in this invention;
[0085] Figure 7 This is a schematic diagram of the original 3D model and the motion plane of the tower crane camera in the real world in this invention;
[0086] Figure 8 These are schematic diagrams of the original three-dimensional model and the three-dimensional model after horizontal orientation correction in this invention;
[0087] Figure 9 This is a flowchart illustrating the image acquisition and modeling method in this invention.
[0088] Figure 10 This is a schematic diagram of the process for determining the range of the turning radius in this invention. Detailed Implementation
[0089] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0090] This embodiment relates to an image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, such as... Figure 9 The method includes the following steps:
[0091] Step S1: Install a camera at the front end of the tower crane boom at the construction site and set the camera's position and orientation, including its location and tilt angle.
[0092] Step S2: During the operation of the tower crane, the camera installed on the tower crane takes pictures of the target building to obtain a set of images of the target building.
[0093] Step S3: Based on the image set of the target building, perform 3D reconstruction of the target building to obtain a dense point cloud model of the target building.
[0094] Step S4: Evaluate the 3D reconstruction effect based on the quality evaluation index and determine the application of different quality reconstruction models.
[0095] The quality evaluation indicators include: voids and gaps, point cloud density, chamfer distance, and size reconstruction error.
[0096] The reconstructed model is classified and evaluated by observing the voids and loopholes in the model.
[0097] The integrity of the reconstructed model is evaluated based on point cloud density;
[0098] By using chamfer distance and dimensional reconstruction error, the effectiveness of the reconstruction model in reflecting the real situation is evaluated, and the application of reconstruction models of different quality is determined.
[0099] Step S1, which involves installing a camera at the front end of the tower crane boom at the construction site and setting the camera's position and orientation, includes:
[0100] Step S11: Based on the camera's shooting angle, basic parameters, and the actual accuracy requirements of the captured images for 3D reconstruction, determine the relative position of the camera on the tower crane boom, i.e. the range of the slewing radius (R1, R2), and determine the optimal slewing radius R0.
[0101] Step S12: When the target building is heightened and the tower crane height changes, repeat step S11 and adjust the camera's rotation radius range (R1, R2).
[0102] like Figure 10 Step S11 includes the following steps:
[0103] Step S111: Install slide rails at the bottom of the tower crane boom to adjust the relative position of the camera on the boom;
[0104] Step S112: Based on the camera's field of view and the minimum incident angle of the target building's facade, determine the relative position R1 of the camera on the tower crane boom when it is closest to the target building;
[0105] Step S113: Based on the basic parameters of the camera and the image resolution requirements of 3D reconstruction, determine the relative position R2 of the camera on the tower crane boom when it is furthest from the target building;
[0106] Step S114: Based on R1 and R2, determine the optimal turning radius R0 of the tower crane camera.
[0107] When the target building is heightened and the tower crane height changes, repeat steps S112 to S114 to adjust the relative position of the camera on the boom using the slide rail.
[0108] The specific position R1 of the camera on the tower crane boom when it is closest to the target building is as follows:
[0109] a) Set the camera's field of view (i.e., the camera's maximum shooting angle range) to β, the target building's width to b0, the distance from the tower crane's center to the target building's interior facade to b1, the distance from the tower crane's center to the target building's exterior facade to B, the target building's height to h0, the jib's vertical height from the working surface to h1, and the jib's vertical height from the target building's base to H. Figure 1 and Figure 2 As shown.
[0110] The minimum slewing radius R′1 of a horizontal jib tower crane can be calculated using the following formula:
[0111]
[0112] The minimum slewing radius R′1 of a jib tower crane can be calculated using the following formula:
[0113]
[0114] in,
[0115]
[0116]
[0117]
[0118]
[0119] α is the angle between the tower crane's inclined arm and the horizontal plane;
[0120] b) Set the incident angle of the camera when capturing the lowest point of the building's exterior facade to θ0, the width of the target building to b0, the distance from the tower crane center to the interior facade of the target building to b1, the distance from the tower crane center to the exterior facade of the target building to B, the height of the target building to h0, the vertical height of the boom from the working surface to h1, and the vertical height of the boom from the bottom surface of the target building to H. Figure 1 and Figure 2As shown.
[0121] The minimum slewing radius R″1 of a horizontal jib tower crane can be calculated using the following formula:
[0122] R″1=H tanθ0+B
[0123] The minimum slewing radius R″1 of a jib tower crane can be calculated using the following formula:
[0124]
[0125] Where α is the angle between the tower crane's inclined arm and the horizontal plane;
[0126] c) From the above calculation, the minimum radius of gyration R1 = max(R′1,R″1).
[0127] Based on the basic parameters of the camera and the image resolution requirements for 3D reconstruction (i.e., the actual distance represented by each pixel in the captured image is ≤10cm), the maximum shooting distance d is determined using the following formula. GSD .
[0128] d GSD =d*f / s
[0129] Where, d GSD d is the maximum shooting distance (in meters); d is the spatial resolution (in meters), which is the actual distance represented by each pixel in the captured image; f is the focal length of the camera (in millimeters); s is the pixel pitch of the captured image (in millimeters).
[0130] The maximum shooting distance of the camera is d. GSD The distance from the center of the tower crane to the interior facade of the target building is b1, and the vertical height of the boom from the bottom of the target building is H. Calculate the maximum slewing radius R2 of the horizontal boom tower crane camera when it is furthest from the target building using the following formula:
[0131]
[0132] The maximum slewing radius R2 of the inclined jib tower crane camera when it is farthest from the target building is calculated using the following formula:
[0133]
[0134] Where c = b1cosα + H sinα, α is the angle between the tower crane's inclined arm and the horizontal plane.
[0135] The optimal radius of gyration R0 is determined as follows: if R1 ≥ R2, then R0 = R1; if R1 ≥ R2, then R0 = R1. <R2,R0=(R1+R2) / 2;
[0136] Where R1 is the minimum radius of gyration and R2 is the maximum radius of gyration.
[0137] In step S2, during the operation of the tower crane, cameras installed on the tower crane capture images of the target building to obtain an image set of the target building, including the following steps:
[0138] Step S21: Fix the camera angle. When the tower crane starts working, the camera installed on the tower crane starts to shoot video and stores the video stream in the memory card.
[0139] Step S22: After the tower crane finishes its daytime operation, the video stream in the memory card is transmitted to the server, and one video stream image is captured every 30 frames to obtain the initial image set.
[0140] Step S23: Based on the perceptual hashing algorithm, the initial image set is filtered to obtain a complete high-quality image set with low viewpoint similarity, so as to improve modeling efficiency.
[0141] In step S24, when the target building is heightened or the tower crane height changes, adjust the camera's tilt angle to ensure that the camera can capture the entire work surface when closest to the building and the entire building facade and base when furthest from the building. After each day's work, the tower crane camera performs a modeling based on the obtained image set. Due to the camera's viewing angle limitations and the building's height, the reconstructed model may contain missing parts of the building facade; this type of model can be used for building height identification. For each additional standard floor of the target building, a precise model is performed based on the obtained image set. This complete model can be used for construction progress identification and display. If the target building image is not fully captured, the camera's tilt angle can be adjusted in coordination with the tower crane operator to ensure that the entire surface of the target building is captured.
[0142] In step S23, the initial image set is filtered based on the perceptual hashing algorithm to obtain a high-quality image set, specifically including:
[0143] Step S231, Image preprocessing: Reduce the image to a fixed size and convert the reduced image to a grayscale image to remove differences in size and proportion between images.
[0144] Step S232, Image Quantization: The original grayscale image is processed using the Discrete Cosine Transform (DCT) function to obtain the DCT coefficients of each pixel.
[0145] Step S233, Image transcoding: Calculate the mean of the DCT coefficients of the pixels, compare the DCT coefficients of each pixel with the mean, if the DCT coefficient of a pixel is greater than the mean, it is represented as 1, otherwise it is represented as 0, thus obtaining the binary hash code of the image.
[0146] Step S234, comparison and filtering: calculate the similarity of the hash codes of each image, delete images with high binary code similarity, that is, delete similar images from the same viewpoint, thereby filtering the original image set and obtaining a complete high-quality image set with low viewpoint similarity.
[0147] In step S232, the formula for the Discrete Cosine Transform (DCT) function is:
[0148]
[0149] Where f(x,y) is the original image matrix (M×N order), x and y represent the coordinates of each pixel, F(u,v) is the transformed DCT coefficient matrix, u and v represent matrix coordinates, and C(u) and C(v) are the transformation weight coefficients with values as shown in the following formula:
[0150]
[0151] In step S3, based on the image set of the target building, a 3D reconstruction of the target building is performed to obtain a dense point cloud model of the target building. This specifically includes the following steps:
[0152] Step S31, Feature extraction and matching: Based on the SIFT algorithm, the image set is traversed to detect feature points with scale and rotation invariance, and then the images are matched according to these feature points.
[0153] Step S32, sparse reconstruction, mainly includes initialization, image registration, triangulation and bundle adjustment, outputting sparse reconstructed point cloud and camera pose estimation.
[0154] Step S33, Dense Reconstruction: Dense reconstruction is performed using Multi-View Stereo (MVS). This stage mainly includes steps such as image distortion correction, triangulation, bundle adjustment, depth map generation, and point cloud fusion. Finally, a dense point cloud model of the target building is output.
[0155] Step S34, point cloud scale recovery, that is, scale recovery of the obtained dense point cloud model, and output of the point cloud model with recovered scale.
[0156] In step S31, the process of detecting scale- and rotation-invariant feature points by traversing the image set based on the SIFT algorithm includes the following steps:
[0157] Step S311: Search for image locations in all scale spaces and identify potential interest points that are scale- and rotation-invariant using the Gaussian differential function.
[0158] The expression for the Gaussian differential function is:
[0159]
[0160] Here, x and y represent the spatial coordinates of the point cloud, and σ represents the standard deviation at that scale. In the SIFT operator, the Gaussian differential function is used to calculate the gradient information of the image at different scales and directions, thereby calculating the scale-invariant interest points in the image.
[0161] Step S312: Select the interest point with the best stability, that is, the interest point that will not change due to factors such as illumination, scale, rotation, etc., as the feature point, and calculate the gradient direction histogram of the region around the feature point to obtain the feature vector.
[0162] Step S313: By comparing the feature vectors of key points, find several pairs of matching feature points.
[0163] In step S32, the initialization and image registration specifically involve: using a multi-scale grid to measure the distribution of matching points, and sequentially introducing the best registered images. The method of using a multi-scale grid to measure the distribution of matching points includes: after extracting image features, dividing the image space into multiple grid units according to the scene scale and the distribution of feature points, assigning matching points to corresponding grid units based on their positions, and finally counting the number of matching points in each grid unit.
[0164] Triangulation: Robustly estimates all points in the outlier-perturbed feature trajectory using a sampling-based triangulation method, and selects the optimal two-view triangulation. Figure 3 Keratinization measurement. The specific formula is shown below:
[0165]
[0166] Where a and b represent two images. P represents the pixel coordinates of the matching point in the two images. i The external pose parameters and internal optical parameters of the camera are represented by τ, where τ represents the triangulation method (direct linear transformation in COLMAP), and X represents the internal optical parameters. ab The three-dimensional coordinates of the matching point.
[0167] Bundle adjustment is a method for adjusting camera parameters P. r (γ, θ ∈ R) and point parameter X k The joint nonlinear thinning uses a function π that projects scene points into the image space and a loss function ρ. j To minimize reprojection error and potentially reduce weighted outliers, the specific formula is as follows:
[0168]
[0169] Where c is the third image, π represents the 3D point back projection method, and X j and These represent the three-dimensional coordinates of the point and the pixel coordinates of the corresponding image c, respectively. Represents Euclidean distance, ρ j This represents the loss weight at each point.
[0170] In step S33, the triangulation and bundle adjustment steps are consistent with those in step S32. The depth map generation and point cloud fusion are specifically as follows: matching corresponding points are found from images from different viewpoints to recover 3D information, i.e., a disparity map is obtained through a pair of corrected images. The disparity map is then further converted into a depth map, and finally, a dense point cloud model is output through point cloud fusion.
[0171] In step S34, point cloud scale recovery, i.e., scale recovery of the obtained dense point cloud model, outputs a point cloud model with the recovered scale. Specifically, based on the camera pose results obtained from sparse reconstruction, the camera plane is fitted using the RANSAC algorithm to correct the z-axis direction of the point cloud; then, based on the camera trajectory of the fitted plane, the geometric prior information of the model radius and the site (the true trajectory radius of the camera) is obtained, and the scale ratio p is calculated to recover the true scale of the point cloud model. The specific formula is shown below:
[0172]
[0173]
[0174] M″=p·M′
[0175] Where M′ is the point cloud model for horizontal orientation correction, R is the rotation matrix, α is the rotation angle of the camera trajectory plane, and the unit vector of the intersection line of the rotation axis plane is... M represents the original point cloud model, p is the scale ratio, r1 is the radius of the fitted camera trajectory, r0 is the true trajectory radius of the camera, and M″ is the point cloud model that reconstructs the true scale. Figures 5-8 As shown, where Figure 7 The blue and red planes represent the motion planes of the tower crane camera in the original 3D model, respectively. Figure 8 The blue and red point clouds represent the point clouds of the original 3D model and the 3D model after horizontal orientation correction, respectively.
[0176] The RANSAC algorithm includes the following steps:
[0177] a) Randomly select n points and perform fitting;
[0178] b) Calculate the fitting error. If the fitting error is less than the threshold (adjusted according to actual needs), stop fitting; otherwise, continue to select the remaining points for fitting calculation.
[0179] c) If the fitting stops at the maximum number of iterations, select the fitting result with the smallest fitting error.
[0180] The RANSAC algorithm can handle real-world data well and reduce the impact of noise on model accuracy.
[0181] Step S4 specifically includes the following steps:
[0182] Step S41: The integrity of the reconstructed model is evaluated by manually observing the "holes and vulnerabilities" of the reconstructed model, and the model is divided into two categories: a model without holes and vulnerabilities and a model with holes and vulnerabilities.
[0183] Step S42: Use "point cloud density" to evaluate the number of reconstructed point clouds per unit volume, and evaluate the reconstruction quality of the point cloud from the perspective of the overall density of the model.
[0184] Point cloud density is the quotient of the number of points in a neighborhood with a defined radius and the volume of that neighborhood.
[0185] Point cloud density is the quotient of the number of points within a certain local neighborhood radius *r* and the volume of that neighborhood. The neighborhood radius *r* is the optimal radius automatically obtained by the reconstruction software before calculation. The specific formula is shown below:
[0186]
[0187] Where N is the number of point clouds within the volume of the region.
[0188] Step S43: Use "bevel distance" to evaluate the reconstruction error between the reconstructed point cloud model and the standard point cloud model, and evaluate the reconstruction quality of the point cloud based on the average offset of each point.
[0189] The Chamfer Distance (CD) is calculated as follows, where S1 and S2 are sets of all points in the real point cloud model and the reconstructed point cloud model, respectively. The Euclidean distance from each point in S1 to the nearest point in S2 is calculated sequentially, and then the average distance d is obtained. 12 Similarly, calculate the distance and average distance d from each point in S2 to the nearest point in S1. 21 d 12 and d 21 The sum of these values represents the chamfer distance between the real point cloud model and the reconstructed point cloud model. The specific formula is shown below:
[0190]
[0191] Where S1 and S2 are the reconstructed point cloud and the ground truth point cloud, respectively, d ij S represents i All points to S j The average distance to the nearest point in the middle. N represents the Euclidean distance between two points. Si Represents point cloud S i The number of points.
[0192] Step S44: Use “size reconstruction error” to compare the size difference between the reconstructed model and the actual building. Evaluate the reconstruction quality of the point cloud from the perspective of overall geometric size error. The size reconstruction error is the absolute and relative error between the representative values of the height, length and width of the reconstructed model and the actual building size.
[0193] The method for calculating the size reconstruction error is as follows: In the point cloud processing software, take ten different positions on the working surface of the model and measure the relative height from the working surface of the building to the ground along the height direction. Take the average of the ten height measurements as the representative value of the reconstructed height. Take ten different positions on the adjacent building facades of the model and measure the distance from the building facade to the opposite facade along the length and width directions. Take the average of the ten measurement results as the representative values of the reconstructed length and width. The size reconstruction error is the absolute error and relative error between the representative values of the reconstructed height, length, and width and the actual size.
[0194] Step S45: Based on the four quality indicators from steps S41 to S44, the reconstruction model is graded and evaluated to determine its quality level and its intended use.
[0195] The quality grading evaluation criteria and applications of 3D reconstruction models are shown in Table 1:
[0196] Table 1
[0197]
[0198] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. An image acquisition and processing method for three-dimensional reconstruction of a construction scene from a tower crane perspective, characterized in that, This method is based on deploying a camera at the front end of the tower crane boom, and includes the following steps: Step S1: Install a camera at the front end of the tower crane boom at the construction site and set the camera's position and orientation. Step S1, which involves installing a camera at the front end of the tower crane boom at the construction site and setting the camera's position and orientation, includes the following steps: Step S11, based on the shooting angle of the camera, the basic parameters and the requirement of the actual precision of the shooting picture to the three-dimensional reconstruction, the relative position of the camera on the tower crane jib is determined, that is, the range of the rotation radius R 1, R 2}, and the optimal rotation radius R 0 is determined. Step S12, when the target building is increased in height, the tower crane height is changed, step S11 is repeated, and the rotation radius range of the camera is adjusted R 1, R 2); Step S11 includes the following steps: Step S111: Install slide rails at the bottom of the tower crane boom; Step S112, based on the field of view angle of the camera and the minimum shooting incident angle of the target building facade, determine the relative position of the camera on the tower crane jib when closest to the target building ; Step S113, based on the basic parameters of the camera and the requirement of picture resolution of three-dimensional reconstruction, determine the relative position of the camera on the tower crane jib when the camera is farthest from the target building ; Step S114, based on and , determine the optimal radius of gyration of the tower crane camera R 0; The relative position of the camera on the tower crane boom when the closest distance to the target building is determined. Specifically: Set the camera's field of view to The width of the target building is The distance from the center of the tower crane to the interior facade of the target building is The distance from the center of the tower crane to the exterior facade of the target building is The height of the target building is The vertical height of the boom from the working surface is The vertical height of the crane boom from the bottom surface of the target building is The minimum slewing radius of a horizontal jib tower crane can be calculated using the following formula. : The minimum slewing radius of a jib tower crane can be calculated using the following formula. : in, The angle between the tower crane's jib and the horizontal plane; The angle of incidence when the camera captures the lowest point of the building facade is set to be The width of the target building is The distance from the center of the tower crane to the interior facade of the target building is The distance from the center of the tower crane to the exterior facade of the target building is The height of the target building is The vertical height of the boom from the working surface is The vertical height of the crane boom from the bottom surface of the target building is The minimum slewing radius of a horizontal jib tower crane can be calculated using the following formula. : The minimum slewing radius of a jib tower crane can be calculated using the following formula. : in, The angle between the tower crane's jib and the horizontal plane; The minimum radius of gyration can be obtained from the above calculations. = ; The relative position of the camera on the tower crane boom when the distance to the target building is determined is as follows: Specifically: Set the maximum shooting distance of the camera to... The distance from the center of the tower crane to the interior facade of the target building is The vertical height of the crane boom from the bottom surface of the target building is The maximum slewing radius of a horizontal boom tower crane camera is calculated using the following formula when the tower crane camera is furthest from the target building. R 2: The maximum slewing radius of the inclined jib tower crane camera when it is furthest from the target building is calculated using the following formula. R 2: in, , , The angle between the tower crane's jib and the horizontal plane; Step S2: During the operation of the tower crane, the camera installed on the tower crane takes pictures of the target building to obtain a set of images of the target building; Step S3: Based on the image set of the target building, perform 3D reconstruction of the target building to obtain a dense point cloud model of the target building; Step S4: Evaluate the effect of the 3D reconstruction and determine the different quality levels and uses of the reconstruction model.
2. The image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, as described in claim 1, is characterized in that... Based on the range of gyration radius ( , Within a certain range, determine the optimal turning radius for the tower crane camera. R 0 specifically means: like R 1≥ R 2, then R 0= R 1; if R 1< R 2, R 0=( R 1+ R 2) / 2; in, R 1 is the minimum radius of gyration. R 2 represents the maximum radius of gyration.
3. The image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, as described in claim 1, is characterized in that... In step S2, during the operation of the tower crane, a camera installed on the tower crane takes pictures of the target building to obtain an image set of the target building, including the following steps: Step S21: Fix the camera angle. When the tower crane starts working, the camera installed on the tower crane starts to shoot video and stores the video stream in the memory card. Step S22: After the tower crane finishes its daytime operation, the video stream in the memory card is transmitted to the server, and one video stream image is captured every m frames to obtain the initial image set; Step S23: Based on the perceptual hashing algorithm, the initial image set is filtered to obtain a complete high-quality image set with low viewpoint similarity; In step S24, when the target building is heightened and the tower crane height changes, the camera's tilt angle is adjusted to ensure that the camera can capture the entire work surface when it is closest to the building and the entire building facade and base when it is furthest from the building; and a precise model is performed based on the obtained image set.
4. The image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, as described in claim 1, is characterized in that... In step S3, the process of performing 3D reconstruction of the target building based on the image set of the target building to obtain a dense point cloud model of the target building includes the following steps: Step S31: Extract feature points with scale and rotation invariance from the image set based on the SIFT algorithm, and then match the image based on the extracted feature points; Step S32: Sparse reconstruction of the image set is performed, including initialization, image registration, triangulation and bundle adjustment, and the sparse reconstructed point cloud and camera pose estimation are output to obtain the orientation information of the point cloud model. Step S33: Perform dense reconstruction on the image set, including image distortion removal, triangulation, bundle adjustment, depth map generation, point cloud fusion, and output a dense point cloud model of the target building. Step S34: Perform point cloud scale recovery on the dense point cloud model and output the point cloud model with the recovered scale.
5. The image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, as described in claim 1, is characterized in that... In step S4, the process of evaluating the effect of the 3D reconstruction and determining different quality levels and the uses of the reconstruction model includes the following steps: Step S41: The completeness of the reconstructed model is evaluated by manually observing the "holes and gaps" in the reconstructed model. Step S42: Use "point cloud density" to evaluate the number of reconstructed point clouds per unit volume, and evaluate the reconstruction quality of the point cloud from the perspective of the overall density of the model. Step S43: Use "bevel distance" to evaluate the reconstruction error between the reconstructed point cloud model and the standard point cloud model, and evaluate the reconstruction quality of the point cloud based on the average offset of each point. Step S44: Use "size reconstruction error" to compare the size difference between the reconstructed model and the actual building. Evaluate the reconstruction quality of the point cloud from the perspective of overall geometric size error. The size reconstruction error is the absolute and relative error between the representative values of the height, length and width of the reconstructed model and the actual building size. Step S45: Based on the four quality indicators from steps S41 to S44, the reconstruction model is graded and evaluated to determine its quality level and its intended use.
6. The image acquisition and processing method for three-dimensional reconstruction of a construction scene from the perspective of a tower crane, as described in claim 5, is characterized in that... The quality levels include low, medium, and high; the uses of the reconstruction model include "construction floor identification", "determining the installation quality of individual components and pipelines", and "controlling the layout of electromechanical pipelines and building attachments".
Citation Information
Patent Citations
A three-dimensional reconstruction system and a three-dimensional reconstruction method based on an unmanned aerial vehicle
CN109816774A
Three-dimensional reconstruction method for aerial images of unmanned aerial vehicle based on deep learning
CN111462329A
Method for automatically monitoring construction progress based on machine vision
CN112365369A
Scene three-dimensional intelligent reconstruction system and method based on BIM and deep learning
CN115147545A
Visible light multi-view image three-dimensional reconstruction method based on deep learning
CN115564888A
