Three-dimensional model generation apparatus based on three-dimensional point cloud data

The device simplifies and accelerates the generation of three-dimensional models from point cloud data by detecting edges and corners, setting initial parameters, and using a learned estimation model to enhance accuracy and speed up the parameter matching process.

JP2024138800APending Publication Date: 2024-10-09田中 成典 +4
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023049491
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-09

AI Technical Summary

Technical Problem

Conventional techniques for generating three-dimensional models from three-dimensional point cloud data are cumbersome and time-consuming due to the complexity of searching for parameters that match the point cloud data.

Method used

A three-dimensional model generation device that detects edges and corners in the point cloud data to generate a wire frame model, sets initial parameters based on this model, and adjusts parameters to match a three-dimensional parametric model, using a learned estimation model to enhance accuracy and speed up the process.

Benefits of technology

Enables rapid and accurate generation of three-dimensional models from complex point cloud data, even with defects, by simplifying the parameter search and improving model matching efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024138800000001_ABST
    Figure 2024138800000001_ABST
Patent Text Reader

Abstract

To provide a three-dimensional model generation apparatus which enables simplified and quick parameter search of a parametric model that matches three-dimensional point cloud data.SOLUTION: A three-dimensional model generation apparatus for generating a three-dimensional model is configured to: in generation 2 of a wire frame model, detect edges on the basis of three-dimensional point cloud data, to generate a wire frame model; in initial value setting 4 of parameters, set parameter initial values of a corresponding three-dimensional parametric model on the basis of lengths and angles of parts of the generated wire frame model; and, in parameter adjustment 6, change the parameters of the three-dimensional parametric model using the set parameter initial values, to determine parameters that match the three-dimensional point cloud data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for generating a three-dimensional model based on three-dimensional point cloud data. [Background technology]

[0002] Laser surveying devices are mounted on unmanned aerial vehicles (UAVs) and ground vehicles (such as automobiles) to measure the shape and features of the Earth's surface. Fixed laser surveying devices are also used to measure the shape and features of the Earth's surface. As a result of the measurements, three-dimensional point cloud data is obtained.

[0003] By obtaining 3D point cloud data in this way, it is possible to grasp the external shape of features, etc. However, because it is 3D point cloud data, dimensions and shapes are not retained, and it is not suitable for use as management data.

[0004] In view of this, the inventors have already disclosed an apparatus for generating a three-dimensional model composed of planes and edges based on three-dimensional point cloud data (Patent Document 1).

[0005] According to this method, a template (three-dimensional parametric model) with variable dimensions is prepared, and a three-dimensional model is obtained by changing the dimensions (parameters) of each part of the template to match it with three-dimensional point cloud data.

[0006] Patent Document 1 discloses that this processing is carried out as follows.

[0007] This explains the case of generating a three-dimensional model from three-dimensional point cloud data of a bridge pier as shown in Figure 28. The three-dimensional parametric model corresponding to the three-dimensional point cloud data of Figure 28 is shown in Figure 29. This parametric model is an abstract model that allows the parameters P1 to P6 of each part to be changed. In addition, since the inclination and position of the parametric model and the three-dimensional point cloud data must also match, the amount of movement in the X, Y, and Z directions, the rotation angles such as roll, pitch, and yaw, and the magnification rate (scale) can also be changed.

[0008] Therefore, the parameters for matching the parametric model to the three-dimensional point cloud data are listed as shown in Fig. 30. For example, the parameter P1 is set to be variable in 16 steps at 0.5 m intervals between 0.5 m and 8 m.

[0009] All that is needed is to check the match with the 3D point cloud data for all combinations of these parameters and determine the parameters that match best. However, there are many parameters and a huge number of combinations. Therefore, we use a genetic algorithm (GA) to search for optimal values, with each parameter randomly selected as the initial value.

[0010] This reduces the time required to find the parameter combination that best fits the 3D point cloud data. [Prior art documents] [Patent documents]

[0011] [Patent Document 1] Patent Publication No. 2020-197979 Summary of the Invention [Problem to be solved by the invention]

[0012] However, even in the conventional technology described in Patent Document 1, the search for parameters of a parametric model that matches the three-dimensional point cloud data is complicated and time-consuming.

[0013] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to provide a three-dimensional model generating device that solves the above problems and can simplify and quickly search for parameters of a parametric model that matches three-dimensional point cloud data. [Means for solving the problem]

[0014] Independently applicable features of the present invention are listed below.

[0015] (1)(2)(3) The three-dimensional model generating device of the present invention detects at least edges or corners of three-dimensional point cloud data to generate a wireframe model, sets initial values ​​for each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data based on the wireframe model, adjusts the parameters of the three-dimensional parametric model based on the initial values, matches the three-dimensional parametric model to the three-dimensional point cloud data, and generates a three-dimensional model.

[0016] Therefore, a 3D parametric model can be quickly fitted to the 3D point cloud data.

[0017] (4) The three-dimensional model generating device of the present invention is characterized in that a three-dimensional parametric model corresponding to three-dimensional point cloud data is determined by selecting a three-dimensional parametric model that matches the wireframe model from a plurality of three-dimensional parametric models prepared in advance, based on the wireframe model.

[0018] Therefore, the selection of a three-dimensional parametric model is easy.

[0019] (5) The three-dimensional model generating device according to the present invention is characterized in that the generation of the wireframe model involves using a trained estimation model to estimate and extract three-dimensional point cloud data of edge and corner portions based on the three-dimensional point cloud data, and generating a wireframe based on the three-dimensional point cloud data of the edge and corner portions.

[0020] Therefore, an appropriate wireframe model can be created.

[0021] (6) The three-dimensional model generating device of the present invention is characterized in that the selection of a three-dimensional parametric model that matches a wireframe model involves separating the wireframe into a plurality of parts, identifying shape characteristics for each part, and selecting a wireframe model based on a combination of the shape characteristics.

[0022] Therefore, even if the 3D point cloud data has a complex shape, a corresponding 3D parametric model can be quickly selected.

[0023] (7) The three-dimensional model generating device of the present invention is characterized in that when matching three-dimensional point cloud data to a parametric model, the device determines the geometric features of the wireframe based on the wireframe model, and uses a learned estimation model to estimate complemented three-dimensional point cloud data based on the determined geometric features and the three-dimensional point cloud data, thereby generating complemented three-dimensional point cloud data.

[0024] Therefore, even if the 3D point cloud data has defects, an accurate 3D model can be generated.

[0025] (8) A three-dimensional model generating device according to the present invention is characterized in that the geometric characteristics of the wire frame are labels that identify the three-dimensional parametric model.

[0026] Therefore, when processing is performed using a three-dimensional parametric model on the interpolated three-dimensional point cloud data, the processing can be speeded up.

[0027] (9) A three-dimensional model generation device according to the present invention is characterized in that a learned estimation model receives pre-complemented three-dimensional point cloud data in which the three-dimensional point cloud data is complemented based on the wireframe model, and performs complementation based on the pre-complemented three-dimensional point cloud data and a label that identifies the parametric model.

[0028] Therefore, a wireframe model can be generated more accurately.

[0029] (10)(11)(12) The three-dimensional model generating device of the present invention detects at least edges or corners of three-dimensional point cloud data to generate a wireframe model, selects a three-dimensional model similar to the wireframe model from a plurality of three-dimensional models that have already been generated and recorded, sets initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data based on the selected three-dimensional model, adjusts the parameters of the three-dimensional parametric model based on the initial values, matches the three-dimensional parametric model to the three-dimensional point cloud data, and generates a three-dimensional model.

[0030] Therefore, a 3D parametric model can be quickly fitted to the 3D point cloud data.

[0031] (13) The three-dimensional model generating device of the present invention is characterized in that a three-dimensional parametric model corresponding to three-dimensional point cloud data is determined by selecting a three-dimensional parametric model that matches the wireframe model from a plurality of three-dimensional parametric models prepared in advance, based on the wireframe model.

[0032] Therefore, the selection of a three-dimensional parametric model is easy.

[0033] (14) The three-dimensional model generating device of the present invention is characterized in that the generation of the wireframe model involves using a trained estimation model to estimate and extract three-dimensional point cloud data of edge portions and corner portions based on the three-dimensional point cloud data, and generating a wireframe based on the three-dimensional point cloud data of the edge portions and corner portions.

[0034] Therefore, an appropriate wireframe model can be created.

[0035] (15) A three-dimensional model generating device according to the present invention is characterized in that the selection of a three-dimensional parametric model that matches a wireframe model involves separating the wireframe into a plurality of parts, identifying shape characteristics for each part, and selecting a wireframe model based on a combination of the shape characteristics.

[0036] Therefore, even if the 3D point cloud data has a complex shape, a corresponding 3D parametric model can be quickly selected.

[0037] 167) The three-dimensional model generating device of the present invention is characterized in that when matching three-dimensional point cloud data to a parametric model, the device determines the geometric features of the wireframe based on the wireframe model, and uses complemented three-dimensional point cloud data generated by estimating complemented three-dimensional point cloud data based on the determined geometric features and the three-dimensional point cloud data using a learned estimation model.

[0038] Therefore, even if the 3D point cloud data has defects, an accurate 3D model can be generated.

[0039] (17) A three-dimensional model generating device according to the present invention is characterized in that the geometric features of the wire frame are labels that identify the three-dimensional parametric model.

[0040] Therefore, when processing is performed using a three-dimensional parametric model on the interpolated three-dimensional point cloud data, the processing can be speeded up.

[0041] (18) A three-dimensional model generation device according to the present invention is characterized in that a learned estimation model receives pre-complemented three-dimensional point cloud data in which the three-dimensional point cloud data is complemented based on the wireframe model, and performs complementation based on the pre-complemented three-dimensional point cloud data and a label that identifies the parametric model.

[0042] Therefore, a wireframe model can be generated more accurately.

[0043] The term "apparatus" is a concept that includes not only one consisting of one computer, but also one consisting of multiple computers connected via a network, etc. Therefore, when the means of the present invention (or a part of the means) is distributed among multiple computers, these multiple computers correspond to the apparatus.

[0044] The term "program" is a concept that includes not only programs that can be executed directly by a CPU, but also programs in source format, compressed programs, encrypted programs, programs that work in conjunction with an operating system to perform their functions, and the like. [Brief description of the drawings]

[0045] [Figure 1] 1 illustrates an overall configuration of a three-dimensional model generating device according to an embodiment of the present invention. [Diagram 2] 1 shows the hardware configuration of a three-dimensional model generating device. [Diagram 3] 13 is a flowchart of a three-dimensional model generation program. [Figure 4] 13 is a flowchart of a wireframe model generation process. [Diagram 5]FIG. 5A shows three-dimensional point cloud data, FIG. 5B shows point cloud data of extracted edge portions, FIG. 5C shows point cloud data of extracted corner portions, and FIG. 5D shows the generated wireframe model. [Figure 6] This is learning data for learning an estimation model for extracting edge portions and corner portions. [Figure 7] FIG. 7A shows a wireframe model, FIG. 7B shows a parametric model, and FIG. 7C shows a parametric model to which initial parameters are applied based on the wireframe model. [Figure 8] FIG. 13 is a diagram showing the search ranges of parameters P1 to P6. [Figure 9] 13 is a flowchart showing a parameter adjustment process of a parametric model. [Figure 10] 13 is a flowchart showing a parameter adjustment process of a parametric model. [Figure 11] 1 is a diagram showing normal vectors for a surface and normal vectors for a line. [Figure 12] 13 is a flowchart of a three-dimensional model generation program according to another example. [Figure 13] 1 shows the overall configuration of a three-dimensional model generating device according to a second embodiment. [Figure 14] 13 is a flowchart of a three-dimensional model generation program. [Figure 15] 1 is a flowchart of parametric model selection. [Figure 16] 1 is a flowchart of parametric model selection. [Figure 17] This is an example of a parametric model. [Figure 18] 1 is an example of a generated wireframe model. [Figure 19] FIG. 13 is a diagram for explaining separation of a wireframe model. [Figure 20] 1 is an example of parameters of a parametric model. [Figure 21] 1 is an example of parameters of a parametric model. [Figure 22]Here are some examples of other features. [Diagram 23] 13 shows the overall configuration of a three-dimensional point cloud data complementation device according to a third embodiment. [Figure 24] 13 is a flowchart of a three-dimensional point cloud data complementation program. [Diagram 25] 13 is an example showing a case where the generated wire frame has defects. [Figure 26] This is training data for training an estimation model for complementing 3D point cloud data. [Figure 27] 13 is a flowchart for complementing three-dimensional point cloud data and generating a three-dimensional model. [Figure 28] 1 is an example of three-dimensional point cloud data. [Figure 29] This is an example of a parametric model. [Diagram 30] FIG. 13 is a diagram illustrating a search range of parameters. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0046] 1. First embodiment 1.1 Overall configuration 1 shows the overall configuration of a three-dimensional model generating device according to an embodiment of the present invention. In wire-frame model generation 2, edges are detected based on three-dimensional point group data, and a wire-frame model is generated.

[0047] In parameter initial value setting 4, initial parameter values ​​of the corresponding three-dimensional parametric model are set based on the length and angle of each part of the generated wire frame model.

[0048] In parameter adjustment 6, the parameters of the three-dimensional parametric model are changed using the initial values ​​of the parameters set above, and parameters that match the three-dimensional point cloud data are determined. This makes it possible to generate a three-dimensional model.

[0049] In this embodiment, the initial parameter values ​​are determined based on a wireframe model of the 3D point cloud data, so that the search can be started from parameters that match the 3D point cloud data well, and optimal parameters can be found quickly.

[0050] 1.2 Hardware Configuration The hardware configuration of the three-dimensional model generating device is shown in Fig. 2. Connected to a CPU 10 are a memory 12, a display 14, a communication circuit 16, an SSD 18, a DVD-ROM drive 20, and a keyboard / mouse 22. The communication circuit 16 is a circuit for connecting to the Internet.

[0051] The SSD 18 stores an operating system 24 and a three-dimensional model generation program 26. The three-dimensional model generation program 26 performs its functions in cooperation with the operating system 24. These programs were recorded on a DVD-ROM 30 and installed in the SSD 18 via the DVD-ROM drive 20.

[0052] 1.3 3D model generation processing 3 shows a flowchart of the three-dimensional model generating program 26. The following describes the process of generating a three-dimensional model using three-dimensional point cloud data of a bridge pier as a target.

[0053] The CPU 10 acquires the target three-dimensional point cloud data 50 (step S1). Next, the CPU 10 generates a wireframe model 52 expressed by lines based on the target three-dimensional point cloud data 50 (step S2). Next, based on the wireframe model 52, the CPU 10 sets initial parameters of a three-dimensional parametric model 54 corresponding to the three-dimensional point cloud data 50 (step S3).

[0054] Furthermore, the parameters of this three-dimensional parametric model 54 are adjusted to match the three-dimensional point cloud data 50, and a three-dimensional model 56 corresponding to the three-dimensional point cloud data is obtained (step S4). The CPU 10 outputs the obtained three-dimensional model 56 (step S5).

[0055] The processes in steps S2 to S4 will be described in detail below. First, the process of generating a wireframe model based on the three-dimensional point cloud data in step S2 will be described. Fig. 4 shows a flowchart of the wireframe model generation.

[0056] The CPU 10 estimates points corresponding to edge portions (side portions) and corner portions (corner portions) of a solid body formed by the three-dimensional point cloud data (step S21). For example, for three-dimensional point cloud data as shown in Fig. 5A, the CPU 10 estimates points of edge portions as shown in Fig. 5B and points of corner portions as shown in Fig. 5C.

[0057] In this embodiment, the estimation in step S21 is realized by using a trained estimation model. The training data used for training the estimation model is a set of three-dimensional point cloud data as shown in Fig. 6A, point cloud data of corner parts labeled as "corner" as shown in Fig. 6B, and point cloud data of edge parts labeled as "edge" as shown in Fig. 6C.

[0058] The learning data is created by manually selecting point cloud data of corners and edges from actually measured three-dimensional point cloud data.

[0059] As an estimation model, the algorithm of "Coarse-to-fine pipeline for 3D wireframe reconstruction from point cloud" by Xuefeng Tan et al. (Computer & Graphics Vol 106, August 2022, Page 288-298) can be used. In step S21, when the point cloud data of the corners and edges is extracted, the CPU 10 selects one representative point for each corner point as a corner point. Furthermore, a straight line is formed connecting two corner points located at the ends of the edge parts. In this way, a wireframe model 52 as shown in FIG. 5D is generated.

[0060] 7B, a parametric model 54 corresponding to the wireframe model 52 (three-dimensional point cloud data) is recorded in the SSD 18. In the parametric model 54, parameters P1 to P6 whose numerical values ​​can be changed are provided for predetermined sides.

[0061] The CPU 10 identifies the sides of the wireframe model 52 that correspond to the sides to which the parameters P1 to P6 of the parametric model 54 are provided, and calculates the values ​​PIN1 to PIN6 (length and angle). As shown in Fig. 7A, it determines the numerical values ​​PIN1 to PIN6 that correspond to the parameters P1 to P6. Using these numerical values ​​PIN1 to PIN6 as initial values, it transforms the parametric model 54 as shown in Fig. 7C (step S54).

[0062] Next, the CPU 10 adjusts the coordinate position in the XYZ directions, roll, pitch, and yaw of the parametric model 54 deformed as described above to match it with the wireframe model 52. Here, the parameters P1 to P6 are left unchanged from their initial values, and the position and rotation angle are matched. The match between the two is determined by the sum of the angle differences (absolute values) between each side of the wireframe 52 and each side of the corresponding parametric model 54. It is determined that the two match best at the position and rotation angle that minimizes the sum of the angle differences.

[0063] As described above, in this embodiment, initial values ​​are provided to the parametric model 54, the dimensions of each side of which are approximately accurate, in the wire-frame model 52. Therefore, the position and rotation angle can be easily determined based on the parametric model 54 to which the initial values ​​are provided.

[0064] Next, the CPU 100 calculates the degree of conformity with the three-dimensional point cloud data while varying the parameters P1 to P6 of the parametric model 54 (step S4). In this embodiment, the parameters P1 to P6 are varied as shown in FIG. 8. Each of the parameters P1 to P6 has a predetermined variation range around the initial values ​​PIN1 to PIN6. For example, the parameter P1 can vary within a range of 1 m around PIN1, and the variation step is 0.3 m. Each parameter is expressed in binary (see the number of required bits). It is also possible to provide a variation range before or after the center, rather than before or after it. That is, it is sufficient to provide a predetermined variation range so as to include the initial value.

[0065] In this embodiment, the optimal values ​​of the above parameters P1 to P6 are examined using a genetic algorithm (GA). Fig. 9 shows a flow chart for determining dimensions using the GA.

[0066] First, the CPU 10 obtains the above initial parameters P1 to P6 and substitutes them into a parametric model to generate a three-dimensional model (step S41).

[0067] Next, the CPU 10 calculates normal vectors for all faces of the three-dimensional model formed by the initial parameters (step S42). An example of normal vectors is shown in Fig. 11A. In Fig. 11A, normal vectors are shown only for the faces FP and RSP, but normal vectors are also generated for all other faces.

[0068] Next, the CPU 10 generates normal vectors for the points of the three-dimensional point cloud data (step S44). Here, a pseudo plane is generated by points within a predetermined range of the point of interest, and the normal vector of the pseudo plane is set as the normal vector of the point of interest. An example of the normal vector of the point of interest is shown in FIG. 11B.

[0069] Next, CPU 10 calculates the angle difference between the normal vector of the point of interest and the normal vector of each face of the three-dimensional model, and associates the point of interest with a face whose angle difference is smaller than a predetermined angle (step S45).

[0070] Next, a perpendicular line is dropped from the point to the associated surface, and the distance is calculated (step S46). In step S45, if there are multiple associated surfaces, the surface with the smallest distance calculated in step S46 is selected to associate the point.

[0071] The above processes of steps S44 to S46 are performed for all points (steps S43, S47).

[0072] The CPU 10 calculates the total number of corresponding points for each face of the three-dimensional model (step S49). For faces with a small total number of points (e.g., 5% or less of the number of points of other faces), there is a possibility that sufficient three-dimensional point cloud data has not been measured. Therefore, in this fitting process, the face and points are rejected as outliers (step S50).

[0073] Next, the CPU 10 calculates the fitness between the three-dimensional model and the three-dimensional point cloud data (step S51). The fitness is determined to be higher as the sum of the distances between the surfaces and the corresponding points is smaller. In this embodiment, the normalized fitness (Fitness) is calculated by the following formula.

[0074]

number

[0075] In the above formula, n is the number of faces of the 3D model, RMS is the square root of the distance between the point and the face, RMS min is the minimum value of RMS, RMS max is the maximum RMS value, and the RMS of surface i is RMS i Let us assume that.

[0076] The CPU 10 determines whether the fitness is smaller than a predetermined value (step S52). The smaller the fitness, the higher the match between the three-dimensional model and the three-dimensional point cloud data. If the fitness is smaller than the predetermined value, the CPU 10 determines the three-dimensional model as the three-dimensional model corresponding to the three-dimensional point cloud data (step S54).

[0077] If it is greater than the predetermined value, the CPU 10 changes the bits of each parameter by a method such as crossover or mutation in a GA process to generate a next-generation three-dimensional model (step S53). Note that this GA process can use a method that is commonly used in genetic algorithms.

[0078] The CPU 10 repeats the processes from step S42 onward for the next-generation three-dimensional model thus generated. In this manner, a three-dimensional model that closely matches the three-dimensional point cloud data can be obtained.

[0079] The CPU 10 outputs the three-dimensional point cloud model (including parameter values) determined in this manner (step S5).

[0080] As described above, in this embodiment, the range in which the GA searches for the optimum value is limited to the area around the initial values ​​PIN1 to PIN6, so that the optimum value can be quickly searched for.

[0081] 1.4 Variations (Other) (1) In the above embodiment, a genetic algorithm is used to find an appropriate combination. However, a tabu search or simulated annealing method may be used. Also, when the number of combinations is small, all combinations may be considered.

[0082] (2) In the above embodiment, a 3D model is generated from 3D point cloud data for a bridge. However, a 3D model may be generated from 3D point cloud data for other features such as bridge girders.

[0083] In the above embodiment, a three-dimensional model is generated from three-dimensional point cloud data of a feature on the ground. However, a three-dimensional model may be generated from three-dimensional point cloud data of a structure other than a feature on the ground.

[0084] (3) In the above embodiment, if the compatibility value becomes equal to or less than a predetermined value in step S52, a three-dimensional model having that parameter is selected. However, instead of immediately selecting a three-dimensional model with that parameter, the parameter value may be changed by making finer search steps centered on that parameter, and a more optimal parameter (so that the compatibility value becomes smaller than the predetermined value) may be selected.

[0085] For example, in the second stage, the search step is reduced to 1 / 10 and the parameters are changed more finely. The search range in the second stage is centered on the appropriate value obtained in the first stage, with the search step being finer and the same number of patterns as in the first stage being set.

[0086] In this way, more appropriate parameter values ​​can be obtained. Although the above describes the second stage, it is also possible to perform the process in three or more stages.

[0087] (4) In the above embodiment, the 3D model generating device is constructed as a computer that can be directly operated by an operator. However, it may be constructed as a server device that can be operated from a terminal device via the Internet or the like.

[0088] (5) In the above embodiment, a voxel grid is formed, and the same normal vector is assigned to all points in the voxel grid. However, a normal vector may be assigned to each point. In this case, for a point to which a normal vector is assigned, a pseudo plane is referenced based on points within a predetermined distance around the point, and this normal vector is assigned to the point.

[0089] (6) In the above embodiment, the initial parameters of the parametric models P1 to P6 are determined based on the wireframe model 52.

[0090] However, the initial parameters of the parametric models P1 to P6 may be determined based on a recorded three-dimensional model that has already been generated using the same parametric model.

[0091] A flowchart for generating a three-dimensional model in this case is shown in Fig. 12. In step S99, a previously created three-dimensional model similar to the wireframe model 52 is selected based on the wireframe model. First, a rectangular parallelepiped is formed to contain each of the three-dimensional model and the wireframe model. Several rectangular parallelepipeds with similar sizes are selected (the smaller the volume of the non-overlapping parts when the two rectangular parallelepipeds are overlapped, the more similar they are).

[0092] In addition, the absolute values ​​of the angles between the corresponding sides of the wireframe model and the selected 3D model are summed up, and the smaller this value is, the more similar the model is. In this way, a 3D model with a high similarity is selected.

[0093] In step S3, initial parameters of a three-dimensional parametric model are set based on the selected three-dimensional model.

[0094] (7) In the above embodiment, the device is configured using a CPU, but a part or all of the device may be configured using logic circuits.

[0095] (8) The above-described embodiment and its variations can be implemented in combination with other embodiments as long as this does not go against the essence of the embodiment.

[0096] 2. Second embodiment 2.1 Overall configuration In the above embodiment, a case has been described in which a parametric model 54 corresponding to the three-dimensional point cloud data 52 has been determined. In this embodiment, a case will be described in which one corresponding to the three-dimensional point cloud data 52 is selected from a plurality of parametric models 54.

[0097] FIG. 13 shows the overall configuration of a three-dimensional model generating device according to the second embodiment. In wireframe model generation 2, edges are detected based on three-dimensional point cloud data, and a wireframe model is generated. In three-dimensional parametric model selection 4, a three-dimensional parametric model that matches the wireframe model is selected from a plurality of three-dimensional parametric models prepared in advance. In parameter adjustment 6, parameters of the selected parametric model are adjusted to match the three-dimensional parametric model with the wireframe model, thereby obtaining a three-dimensional model. Note that in parameter adjustment 6, the processing method according to the first embodiment or another method may be adopted.

[0098] In this way, a wireframe model is generated based on the three-dimensional point cloud data, and a three-dimensional parametric model is selected based on the wireframe model, thereby making it possible to speed up processing.

[0099] 2.2 Hardware Configuration The hardware configuration is the same as that shown in FIG. 2 in the first embodiment.

[0100] 2.3 3D model generation processing 14 shows a flowchart of the three-dimensional model generating program 26. The following describes the process of generating a three-dimensional model using three-dimensional point cloud data of a bridge pier as a target.

[0101] The CPU 10 acquires the target three-dimensional point cloud data 50 (step S101). Next, the CPU 10 generates a wireframe model 52 expressed by lines based on the target three-dimensional point cloud data 50 (step S102). Next, a three-dimensional parametric model 54 that matches the formed wireframe model 52 is selected from three-dimensional parametric models recorded in advance for the pier (step S103). Furthermore, the parameters of this three-dimensional parametric model 54 are adjusted to match the wireframe model 52, and a three-dimensional model 56 corresponding to the three-dimensional point cloud data is obtained (step S104). The CPU 10 outputs the obtained three-dimensional model 56 (step S105).

[0102] The processes in steps S2 to S4 will be described in detail below. First, the process of generating a wireframe model based on the three-dimensional point cloud data in step S102 is the same as step S2 in the first embodiment.

[0103] After generating the wireframe model, the CPU 10 selects a parametric model as shown in step S103 of Fig. 14. The details of the parametric model selection process are shown in Figs.

[0104] In this embodiment, parametric models as shown in Fig. 17 are recorded in advance. The bridge pier is composed of beams and columns, and the beam shapes are of three types: octagonal, hexagonal, and quadrangular, and the columns are of four types: circular, oval, square, and rectangular. Therefore, although Fig. 17 shows only three types of parametric models, 3 x 4 = 12 types of parametric models are recorded.

[0105] Each parametric model is labeled to identify it: from left to right: T-shaped pier (octagonal / circular), T-shaped pier (hexagonal / rectangle), T-shaped pier (quadrilateral / square), etc.

[0106] The CPU 10 selects a parametric model that matches the three-dimensional point cloud data from these 12 types of parametric models using a wireframe model through the process described below.

[0107] The CPU 10 judges whether the wire frame includes a circular pillar or an oval pillar (step S131). Unlike the square and rectangular pillars shown in Fig. 18B, the circular pillars and oval pillars shown in Fig. 18A do not have an edge that connects the upper edge E11 and the lower edge E12 in the wire frame. Therefore, if there is no edge that connects the top and bottom, it can be determined that the pillar is a circular or oval pillar.

[0108] If it is determined that the pillar is circular or oval, the CPU 10 determines whether it is circular or oval (steps S132, S133). In this embodiment, the radius of the virtually generated perfect circle is gradually changed to determine the degree of match (the least squares method can be used) with the edge E11 or edge E12, and the highest degree of match is calculated (step S132). If the highest degree of match exceeds a predetermined value, the wire frame is determined to be circular. If it does not exceed the predetermined value, the wire frame is determined to be oval (step S133). If the wire frame is oval, it can be determined in this way because it does not completely match the virtually generated perfect circle. In this way, it is determined whether the pillar is circular or oval.

[0109] Next, CPU 10 calculates the number of edges present on the highest plane (plane perpendicular to the extension direction of the pillar) (step S136). Depending on the number of edges, it is determined whether the beam is octagonal, hexagonal, or quadrangular (steps S137, S138, S139, S140). In the case of FIG. 18A, eight edges E1 to E8 can be found, so it can be determined that the beam is octagonal (step S138).

[0110] After determining the column and beam shapes as described above, the CPU 10 selects a parametric model based on the combination. In the case of Fig. 18A, the beam is octagonal and the column is circular, so the 3D parametric model of the T-shaped pier (octagonal and circular) shown in Fig. 17 is selected.

[0111] If it is determined in step S131 that neither a circular pillar nor an oval pillar is included (that is, it is a rectangular pillar), the CPU 10 executes step S141 and subsequent steps in FIG.

[0112] In step S141, the CPU 10 separates the columns and beams (step S41). This separation is performed as follows. As shown in Fig. 19, lines E21 to E24 that extend perpendicularly upward from the lowest plane LP are identified. A plane BP that perpendicularly intersects with the upper ends of these lines E21 to E24 is found. The plane BP separates the columns into upper and lower parts. The upper part is the beam and the lower part is the column.

[0113] Thereafter, the shape of the pillars is determined in steps S142 to S145, and the shape of the beams is determined in steps S146 to S151.

[0114] The CPU 10 calculates the length of each edge on the lower surface LP of the pillar (step S142). If the lengths of the edges are substantially the same (if the difference is equal to or less than a predetermined value), the pillar shape is determined to be a square (step S144). If not, the pillar shape is determined to be a rectangle (step S145).

[0115] CPU 10 calculates the number of edges that exist on the highest plane for the beam (step S146), and determines the shape of the beam according to the number of edges (steps S148, S149, S150).

[0116] Once the shape of the pillar and the shape of the needle are specified in the above manner, a matching parametric model is selected based on the combination (step S151).

[0117] As described above, in this embodiment, the 3D parametric model is selected based on the wireframe model, so that the selection process can be performed quickly.

[0118] Once a parametric model that matches the three-dimensional point cloud data is selected as described above, the parameters of the parametric model are adjusted to match the parametric model to the wireframe model (or the three-dimensional point cloud data).

[0119] An example of a parametric model is shown in Fig. 20. As shown in the figure, the shape of the parametric model can be changed by changing the parameters P1 to P6. The CPU 10 sequentially changes these parameters P1 to P6 to find a combination of parameters P1 to P6 that best matches the wireframe model (or the three-dimensional point cloud data) (step S104 in Fig. 14).

[0120] In this case, the degree of conformance can be calculated by the sum of the distances between the edges (sides) of the wireframe model and the corresponding edges (sides) of the parametric model (the smaller the sum of the distances, the higher the degree of conformance). Alternatively, the degree of conformance may be calculated by the smaller the sum of the distances between the faces of the parametric model and the corresponding points of the three-dimensional point cloud data.

[0121] When the parameters P1 to P6 are adjusted as described above to obtain a parametric model that matches the wireframe model (or the three-dimensional point cloud data), the CPU 10 outputs this as a three-dimensional model (step S105), and records it in, for example, another computer.

[0122] 2.4 Variations (1) In the above embodiment, a case where a 3D model is generated from 3D point cloud data of a T-shaped pier has been described. However, as shown in Fig. 21, the present invention can also be applied to other piers such as rigid frame piers and secondary rigid frame piers.

[0123] As shown in Figure 22, it can also be applied to other features such as decks, horizontal and vertical girders, T-girders, box girders, I-girders, wall-type single-column type (oval), wall-type single-column type (rectangular), wall-type single-column type (circular), gravity abutments, and inverted T-type abutments other than piers.

[0124] In the above, when selecting a parametric model based on a wireframe model generated from 3D point cloud data, the upper and lower parts are separated and judged. However, if the feature has a simple shape (such as a deck or cross beam), it can be judged without separation.

[0125] (2) In the above embodiment, edge and corner points are manually selected based on the measured three-dimensional point cloud data to create learning data.

[0126] However, learning data may also be generated as follows. Based on a parametric model, three-dimensional point cloud data that fills the surface of the parametric model is automatically generated to generate three-dimensional point cloud data. Furthermore, point clouds that correspond to edges and corners of this three-dimensional point cloud data are selected. The point clouds of edges and corners can be automatically determined by selecting point clouds that are within a specified range from the edges and corners of the parametric model. In this manner, learning data can be obtained.

[0127] Furthermore, by carrying out the above process while varying the parameters of the parametric model, a large amount of learning data can be automatically generated.

[0128] (3) In the above embodiment, the parameters are sequentially changed to match the parametric model with the wireframe (three-dimensional point cloud data). At this time, the matching parameters may be determined using a GA (genetic algorithm). At this time, as in the first embodiment, the initial parameters may be set using the wireframe model.

[0129] (4) In the above embodiment, a three-dimensional parametric model corresponding to a wireframe model is selected based on a rule base. However, a three-dimensional parametric model (label) may be estimated using an estimation model trained on a wireframe model and a three-dimensional parametric model (label) corresponding to the wireframe model.

[0130] (5) In the above embodiment, a wireframe model is generated based on the points located at the edges and corners of the three-dimensional point cloud data, but it is also possible to extract only either the edges or the corners and generate a wireframe model based on the extracted points.

[0131] (6) In the above embodiment, the 3D model generating device is constructed as a stand-alone device. However, the 3D model generating device may be constructed as a server device on a network such as the Internet. In this case, the server device performs processing based on commands from a terminal device.

[0132] (7) In the above embodiment, the device is configured using a CPU, but a part or all of the device may be configured using logic circuits.

[0133] (8) The above-described embodiments and modifications can be implemented in combination with each other.

[0134] 3. Third embodiment 2.1 Overall configuration 23 shows the overall configuration of a 3D point cloud data complementation device according to an embodiment of the present invention. In wireframe model generation 152, edges are detected based on the 3D point cloud data with defects, and a wireframe model is generated. In 3D parametric model selection 4, a 3D parametric model that matches the wireframe model is selected from a plurality of 3D parametric models prepared in advance. Since the wireframe model is based on 3D point cloud data with defects, it will have a slightly distorted shape, but as long as the defects are not extremely large, this will not hinder the selection of the parametric model.

[0135] Based on the label that identifies the parametric model selected in this manner and the missing 3D point cloud data, the supplemented 3D point cloud data is estimated.

[0136] In this way, the label of the 3D parametric model selected based on the wireframe model of the missing 3D point cloud data is used for estimation for completion, so that completion can be performed with higher accuracy.

[0137] The missing 3D point cloud data may be selected and provided to the above device for completion, but the missing 3D point cloud data and the missing 3D point cloud data may be provided to the above device without distinguishing between them. The missing 3D point cloud data is complemented, and the missing 3D point cloud data is output as is (without being complemented), so there is no need to select them.

[0138] 2.2 Hardware Configuration The hardware configuration of the 3D point cloud data complementing device is the same as that in the first embodiment shown in Fig. 2. However, the SSD 18 stores a 3D point cloud data complementing program.

[0139] 2.3 3D point cloud data complementation processing 24 shows a flowchart of the 3D point cloud data complement program 26. The following describes a process for complementing missing 3D point cloud data of a T-shaped bridge pier to generate complete 3D point cloud data.

[0140] The CPU 10 acquires the target three-dimensional point cloud data 70 of the defect (step S171). Next, the CPU 10 generates the wireframe model 52 expressed by lines based on the target three-dimensional point cloud data 70 of the defect (step S172).

[0141] Next, a label that identifies a three-dimensional parametric model that matches the formed wire-frame model 72 is selected from among three-dimensional parametric models that have been recorded in advance for the pier (step S173).

[0142] The CPU 10 estimates the complemented three-dimensional point cloud data based on the missing three-dimensional point cloud data and the label of the selected three-dimensional parametric model (step S174).

[0143] In this manner, the missing 3D point cloud data can be complemented to obtain missing 3D point cloud data. Based on the complemented point cloud data, various processes, such as the generation of a 3D model according to the first or second embodiment, can be performed.

[0144] The wire frame generation process in step S172 is the same as that in the first embodiment. However, since it is based on the missing 3D point cloud data, the edges of the wire frame are not connected to each other. In this embodiment, the CPU 10 completes the wire frame as follows.

[0145] In the case of broken edges as in Fig. 25A, the edges are extended to join them. In addition, in the case of missing corners as in Fig. 25B, the edges can be extended to form corners. Therefore, in the cases of Fig. 25A and Fig. 25B, the wire frame can be completed as in Fig. 25C.

[0146] Also, in cases where an edge is completely missing as in Figure 25D, the edges will not intersect even if they are extended. In this way, when there are points where edges do not intersect even after the edges are extended, a new edge AE1 is formed between the ends of the edges that do not intersect. Using this newly generated edge as a reference, an edge AE2 is formed so that the face formed by the edges of the wire frame is closed. In this way, the wire frame can be completed as shown in Figure 25E.

[0147] When the wireframe model is generated as described above, the CPU 10 selects a three-dimensional parametric model based on the wireframe model (step S173). This process is the same as that in the second embodiment. In the next step S174, the parametric model itself is not used, so it is sufficient to select a label that identifies the parametric model.

[0148] Next, the CPU 10 estimates 3D point cloud data by complementing the point cloud using the learned estimation model based on the missing 3D point cloud data and the label of the selected 3D parametric model (step S174). In this way, it is possible to generate the complemented 3D point cloud data 74 without missing parts.

[0149] In this embodiment, the estimation in step S174 is realized by using a trained estimation model. The training data used for training the estimation model is a set of 3D point cloud data with labeled defects as shown in Fig. 26A and 3D point cloud data with the defects complemented as shown in Fig. 26B.

[0150] The training data is created by labeling actually measured 3D point cloud data with missing parts with parametric models at the discretion of the worker, and then generating 3D point cloud data in which the missing parts have been manually complemented by the worker.

[0151] 3.4 Modifications (1) In the above embodiment, a parametric model is used as a feature of a solid figure represented by a wireframe model, and the label of the parametric model is used to complement the 3D point cloud data. However, the figure may be classified according to a feature value that represents a feature of the figure other than the parametric model, and the classification may be used to complement the 3D point cloud data.

[0152] (2) In the above embodiment, the missing wireframe model is completed, and a matching parametric model is selected based on the completed wireframe model. However, a matching parametric model may be selected from the missing wireframe model.

[0153] In this case, for example, a trained estimation model may be used to estimate the label of a parametric model based on the missing wireframe. In this case, the missing wireframe model and the corresponding label of a parametric model may be used as training data to train the estimation model.

[0154] (3) In the above embodiment, an operator determines the label of a corresponding parametric model based on the measured 3D point cloud data with defects, and then manually generates 3D point cloud data without defects to create learning data.

[0155] However, the learning data may be automatically generated as follows. Based on a parametric model, three-dimensional point cloud data that fills the parametric model is automatically generated to generate three-dimensional point cloud data without missing parts. Furthermore, this three-dimensional point cloud data is automatically deleted to generate three-dimensional point cloud data with missing parts. In this way, three-dimensional point cloud data with missing parts, a label of the parametric model, and three-dimensional point cloud data without missing parts can be obtained, and learning data can be generated. When creating missing parts, it is preferable to create missing parts at locations that often occur during actual measurement.

[0156] Furthermore, by carrying out the above process while varying the parameters of the parametric model, a large amount of learning data can be automatically generated.

[0157] (4) A three-dimensional model may be generated by the first or second embodiment based on the three-dimensional point cloud data without any missing parts obtained by the above embodiment. A case where the second embodiment is applied is shown in Fig. 27. Since a parametric model has already been selected in step S193, the selected parametric model may be used in step S196. The same applies to the case where the first embodiment is applied.

[0158] (5) In the above embodiment, a case where a 3D model is generated from 3D point cloud data of a T-shaped pier has been described. However, as shown in Fig. 21, the present invention can also be applied to other piers such as rigid frame piers and secondary rigid frame piers.

[0159] As shown in Figure 22, it can also be applied to other features such as decks, horizontal and vertical girders, T-girders, box girders, I-girders, wall-type single-column type (oval), wall-type single-column type (rectangular), wall-type single-column type (circular), gravity abutments, and inverted T-type abutments other than piers.

[0160] In the above, when selecting a parametric model based on a wireframe model generated from 3D point cloud data, the upper and lower parts are separated and judged. However, if the feature has a simple shape (such as a deck or cross beam), it can be judged without separation.

[0161] (6) In the above embodiment, the 3D point cloud data complementation device is constructed as a stand-alone device. However, the 3D point cloud data complementation device may be constructed as a server device on a network such as the Internet. In this case, the server device performs processing based on commands from a terminal device.

[0162] (7) In the above embodiment, the device is configured using a CPU, but a part or all of the device may be configured using logic circuits.

[0163] (8) In the above embodiment, the 3D point cloud data is complemented by a learned estimation model based on the missing 3D point cloud data and the labels of the parametric model.

[0164] However, instead of inputting the missing three-dimensional point cloud data to the trained estimation model as it is, the point cloud data may be input after being complemented on a rule basis based on the wireframe generated in step S172. For example, for a portion where a surface is clearly formed in the generated wireframe model (a portion almost completely surrounded by edges), if there is a portion where no point cloud data exists, the point cloud data is complemented with the same density as the portion where point cloud data exists. Since the point cloud data where the point cloud has been complemented in advance using the wireframe is used to complement the point cloud data in the estimation model, more accurate complementation can be achieved.

[0165] (9) The above-described embodiments and modifications can be implemented in combination with each other.

Claims

1. Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; setting initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data based on the wireframe model; a three-dimensional model generating device that adjusts parameters of the three-dimensional parametric model based on the initial values, matches the three-dimensional parametric model to the three-dimensional point cloud data, and generates a three-dimensional model;

2. At least one processor; a memory storing at least one program configured to be executed by said at least one processor; A three-dimensional model generating device comprising: The at least one program comprises: Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; setting initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data based on the wireframe model; and an instruction for adjusting parameters of the three-dimensional parametric model based on the initial values ​​to match the three-dimensional parametric model to the three-dimensional point cloud data and generate a three-dimensional model.

3. at least one three-dimensional generator program configured for execution by at least one processor, Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; setting initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data based on the wireframe model; a three-dimensional model generating program comprising instructions for adjusting parameters of the three-dimensional parametric model based on the initial values, matching the three-dimensional parametric model to the three-dimensional point cloud data, and generating a three-dimensional model;

4. In any one of the devices or programs according to claims 1 to 3, A device or program characterized in that a three-dimensional parametric model corresponding to the three-dimensional point cloud data is determined by selecting a three-dimensional parametric model that matches the wireframe model from a plurality of three-dimensional parametric models prepared in advance, based on the wireframe model.

5. In any one of the devices or programs according to claims 1 to 3, The generation of the wireframe model is characterized by using a trained estimation model to estimate and extract three-dimensional point cloud data of edge and corner portions based on the three-dimensional point cloud data, and generating a wireframe based on the three-dimensional point cloud data of the edge and corner portions.

6. In any one of the devices or programs according to claims 1 to 3, The selection of a three-dimensional parametric model that matches the wireframe model is performed by a device or program that divides the wireframe into multiple parts, identifies shape characteristics for each part, and selects a wireframe model based on a combination of shape characteristics.

7. In any one of the devices or programs according to claims 1 to 3, The three-dimensional point cloud data when matching the parametric model is An apparatus or program characterized in that it determines geometric features of the wireframe based on the wireframe model, and uses complemented three-dimensional point cloud data generated by estimating complemented three-dimensional point cloud data based on the determined geometric features and the three-dimensional point cloud data using a learned estimation model.

8. The device or program of claim 7, The apparatus or program is characterized in that the geometric feature of the wireframe is a label that identifies a three-dimensional parametric model.

9. The device or program of claim 7, The trained estimation model receives pre-complemented three-dimensional point cloud data obtained by complementing the three-dimensional point cloud data based on the wireframe model, and performs complementation based on the pre-complemented three-dimensional point cloud data and a label that identifies the parametric model.

10. Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; Selecting a three-dimensional model similar to the wireframe model from a plurality of three-dimensional models that have already been generated and recorded; Based on the selected three-dimensional model, set initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data; a three-dimensional model generating device that adjusts parameters of the three-dimensional parametric model based on the initial values, matches the three-dimensional parametric model to the three-dimensional point cloud data, and generates a three-dimensional model;

11. At least one processor; a memory storing at least one program configured to be executed by said at least one processor; A three-dimensional model generating device comprising: The at least one program comprises: Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; Selecting a three-dimensional model similar to the wireframe model from a plurality of three-dimensional models that have already been generated and recorded; Based on the selected three-dimensional model, set initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data; and an instruction for adjusting parameters of the three-dimensional parametric model based on the initial values ​​to match the three-dimensional parametric model to the three-dimensional point cloud data and generate a three-dimensional model.

12. at least one three-dimensional generator program configured for execution by at least one processor, Detecting at least edges or corners of the three-dimensional point cloud data to generate a wireframe model; Selecting a three-dimensional model similar to the wireframe model from a plurality of three-dimensional models that have already been generated and recorded; Based on the selected three-dimensional model, set initial values ​​of each parameter of a three-dimensional parametric model corresponding to the three-dimensional point cloud data; a three-dimensional model generating program comprising instructions for adjusting parameters of the three-dimensional parametric model based on the initial values, matching the three-dimensional parametric model to the three-dimensional point cloud data, and generating a three-dimensional model;

13. In any one of the devices or programs according to claims 10 to 12, A device or program characterized in that a three-dimensional parametric model corresponding to the three-dimensional point cloud data is determined by selecting a three-dimensional parametric model that matches the wireframe model from a plurality of three-dimensional parametric models prepared in advance, based on the wireframe model.

14. In any one of the devices or programs according to claims 10 to 12, The generation of the wireframe model is characterized by using a trained estimation model to estimate and extract three-dimensional point cloud data of edge and corner portions based on the three-dimensional point cloud data, and generating a wireframe based on the three-dimensional point cloud data of the edge and corner portions.

15. In any one of the devices or programs according to claims 10 to 12, The selection of a three-dimensional parametric model that matches the wireframe model is performed by a device or program that divides the wireframe into multiple parts, identifies shape characteristics for each part, and selects a wireframe model based on a combination of shape characteristics.

16. In any one of the devices or programs according to claims 10 to 12, The three-dimensional point cloud data when matching the parametric model is An apparatus or program characterized in that it determines geometric features of the wireframe based on the wireframe model, and uses complemented three-dimensional point cloud data generated by estimating complemented three-dimensional point cloud data based on the determined geometric features and the three-dimensional point cloud data using a learned estimation model.

17. The apparatus or program of claim 16, The apparatus or program is characterized in that the geometric feature of the wireframe is a label that identifies a three-dimensional parametric model.

18. The apparatus or program of claim 16, The trained estimation model receives pre-complemented three-dimensional point cloud data obtained by complementing the three-dimensional point cloud data based on the wireframe model, and performs complementation based on the pre-complemented three-dimensional point cloud data and a label that identifies the parametric model.

Citation Information

Patent Citations

  • Three-dimensional model generation device based on three-dimensional point group data

    JP2020197979A