Surveying method, surveying system, and program
The method addresses synchronization errors in surveying technologies by calculating camera positions with a correction term for time differences, enhancing the accuracy of three-dimensional data acquisition for moving machinery.
Patent Information
- Application Number
- PCT/JP2024/011633
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-03
AI Technical Summary
Existing surveying technologies face inaccuracies when measuring the position of heavy machinery using cameras mounted on moving objects, particularly due to synchronization issues between the camera's photographing time and the surveying device's measurement time, leading to errors in three-dimensional data acquisition.
A method that involves measuring the position of a specific part fixed with respect to the camera, calculating the camera's position based on this measurement, and performing an adjustment calculation using a correction term to account for the time difference between measurement and photographing times, ensuring accurate positioning in both local and global coordinate systems.
This approach enhances the accuracy of three-dimensional data obtained from images taken by moving cameras by correcting for synchronization discrepancies, thereby improving the precision of the data used in creating three-dimensional models of objects and environments.
Smart Images

Figure JP2024011633_03102024_PF_FP_ABST
Abstract
Description
Surveying methods, surveying systems and programs
[0001] The present invention relates to the surveying arts.
[0002] 2. Description of the Related Art A technique for measuring the position of heavy machinery using a surveying device is known (see, for example, Patent Document 1).
[0003] Japanese Patent Application Publication No. 8-43093
[0004] When a camera is mounted on a heavy machine and three-dimensional data of the surrounding area is obtained using structure from motion (sfm), it is necessary to determine the position of the camera. The present invention aims to improve the accuracy of three-dimensional data based on images captured by a camera mounted on a moving object.
[0005] The present invention is a surveying method in which image data of an image captured by a moving camera is obtained, the position of a specific part fixed relative to the camera is measured, and the position of the camera is calculated based on the measured position of the specific part, there is a discrepancy between the time the position of the specific part is measured and the time the captured image was taken, and in calculating the position of the camera, an adjustment calculation is made with the position of the camera as an unknown quantity, and the adjustment calculation is performed based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
[0006] In the present invention, a process for determining an initial value for the adjustment calculation is performed, and the process for determining the initial value includes a process for determining the correspondence between the position of the camera in a local coordinate system calculated based on an image captured by the camera and the start and / or end of movement of the position of the specific part in a global coordinate system.
[0007] In the present invention, a process for determining an initial value for the adjustment calculation is performed, and the process for determining the initial value includes determining a correspondence between a change in the position of the camera in a local coordinate system calculated based on an image captured by the camera and a change in the position of the specific part in a global coordinate system.
[0008] In the present invention, the change in position may be evaluated based on an angle formed by a first line connecting the first position and the second position and a second line connecting the second position and the third position.
[0009] The present invention is a surveying system comprising a means for obtaining image data of an image captured by a moving camera, a means for measuring the position of a specific part fixed relative to the camera, and a means for calculating the position of the camera based on the measured position of the specific part, wherein there is a discrepancy between the time at which the position of the specific part is measured and the time at which the image is captured, and an adjustment calculation is performed in which the position of the camera is used as an unknown quantity, and the adjustment calculation is performed based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
[0010] The present invention is a program that is read and executed by a computer, which causes the computer to acquire image data of an image captured by a moving camera, acquire measurement data of the position of a specific part fixed relative to the camera, and calculate the position of the camera based on the measured position of the specific part, wherein there is a discrepancy between the measurement time of the position of the specific part and the shooting time of the captured image, and an adjustment calculation is made in which the position of the camera is an unknown quantity, and the adjustment calculation is made based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
[0011] According to the present invention, it is possible to improve the accuracy of three-dimensional data based on images captured by a camera mounted on a moving body.
[0012] It is a conceptual diagram of an embodiment. It is a conceptual diagram showing the relationship between the camera position and the prism position. It is a block diagram of a calculation device. It is a diagram showing the principle of performing initial value adjustment. It is a flowchart showing an example of a processing procedure.
[0013] 1. First Embodiment (Overview) FIG. 1 shows a heavy machine 100 performing civil engineering work and a total station 200, which is a surveying device that measures the position of the heavy machine 100. While the heavy machine 100 is operating, an onboard camera 101 takes images and acquires 3D data of the area around the heavy machine 100 based on the sfm (structure from motion) principle. At this time, the total station 200 repeatedly and continuously measures the position of a reflecting prism 102 mounted on the heavy machine 100 while tracking the prism. Based on the measured values of the position of the reflecting prism 102, the 3D data is acquired as data in a global coordinate system. The sfm principle is described, for example, in Japanese Patent Application Laid-Open No. 2013-186816. The global coordinate system is a coordinate system used in maps and GNSS.
[0014] (Heavy Machinery) The heavy machine 100 is a power shovel. The power shovel is one example, and the type of heavy machine is not particularly limited as long as it is heavy machine used for civil engineering work. The heavy machine 100 includes a base unit 120 that travels on the ground using caterpillars, and a rotating unit 110 that rotates horizontally on the base unit 120. The rotating unit 110 includes a driver's seat and an arm 151, and a bucket 152 is disposed at the tip of the arm 151. These structures are the same as those of a normal power shovel.
[0015] A camera 101 and a reflecting prism 102 are fixedly disposed on the upper part of the rotating unit 110. The position of the camera 101 and / or the position of the reflecting prism 102 on the rotating unit 110 may be known or unknown. Furthermore, even if the position is known, it may be approximate and may include an error. If the position of the camera 101 and / or the position of the reflecting prism 102 is unknown or includes an error, the position is optimized during adjustment calculation.
[0016] The camera 101 is a digital still camera that continuously and repeatedly captures still images. While the heavy equipment 100 is in operation, the heavy equipment 100 travels and the rotating part 110 rotates, so the camera 101 faces in various directions. Therefore, the camera 101 captures images of the surroundings of the heavy equipment 100 while the heavy equipment 100 is in operation. A depth camera can also be used as the camera 101. It is also possible to use a camera for capturing video as the camera 101, and use frame images that make up the video as still images. While FIG. 1 shows an example in which one camera 101 is placed on the heavy equipment 100, it is also possible to place multiple cameras facing in various directions. A stereo camera can also be used.
[0017] The reflecting prism 102 is an optical reflecting target used in surveying using laser light. Here, a total reflection prism is used as the reflecting prism 102. The reflecting prism 102 reflects incident light by changing its direction by 180 degrees. In addition to a reflecting prism, a reflecting target having retroreflective properties can also be used as the optical reflecting target.
[0018] The position of the heavy equipment 100 is determined from the position of the center of gravity of the heavy equipment. The position of the heavy equipment 100 can also be determined from the position of the camera 101 or the reflecting prism 102, a point on the central axis of rotation of the rotating part 110, or any other position on the heavy equipment 100.
[0019] The heavy equipment 100 is equipped with a calculation unit 300. The calculation unit 300 is a computer. The calculation unit 300 can also be provided outside the heavy equipment 100. The calculation unit 300 performs processing related to creating a three-dimensional model of the object to be photographed based on the image captured by the camera 101. This processing includes processing related to calculating the position of the camera 101. The configuration and processing of the calculation unit 300 will be described in detail below.
[0020] (Total Station) The total station 200 is an example of a surveying device capable of measuring position. The total station 200 is equipped with a positioning function using laser light, a camera, a clock, a storage device for measured data, a communication interface, a user interface, a function for searching for the surveying target (reflecting prism 102), and a function for tracking the surveying target even if it moves. A commonly available model can be used as the total station 200.
[0021] Prior to the processing, the position and orientation of the total station 200 in the global coordinate system are acquired and set as known data. The position of the total station 200 is determined as the position of the optical origin of the optical system for measuring distances.
[0022] The heavy equipment 100 starts work with the total station 200 collimating and locking the reflecting prism 102. While the heavy equipment 100 is working, the total station 200 tracks the reflecting prism 102 and repeatedly measures its position. The measurement interval is about 0.05 seconds (20 Hz) to 5 seconds (0.2 Hz).
[0023] (Basic processing flow) According to the following principle, 3D data of the object to be photographed is created based on images captured by the camera 101 mounted on the heavy equipment 100. The camera 101 repeatedly and continuously captures still images. The position and orientation of the camera 101 change while the heavy equipment 100 is in operation, but the interval between photographs by the camera 101 is determined so that adjacent photographed images overlap on the time axis. The specific photographing interval is approximately several Hz to 30 Hz. Basically, a three-dimensional model of the object to be photographed is created using sfm based on images captured by the camera while the heavy equipment 101 is in operation, according to the processing described below.
[0024] (1) Relative Orientation A relative three-dimensional model of any scale is created based on images captured by the camera 101, and the relative relationship between feature points identified between multiple images and the position and orientation of the camera 101 when each image was captured is identified. Specifically, feature points common to the stereo images are extracted, and the relative relationship between the position and orientation of the camera at multiple viewpoints (capture positions) and the feature points is identified.
[0025] (2) Adjustment Calculation Bundle adjustment calculation and adjustment calculation that takes into account the positional relationship between the reflecting prism 102 and the camera 101 and the difference in measurement time are simultaneously performed to optimize the position and orientation of the camera 101 and the positions of the feature points in the global coordinate system. This results in point cloud data that describes the positions of the feature points on the global coordinate system.
[0026] (3) Creation of a 3D model: A 3D model of the target is created based on the point cloud data optimized by the adjustment calculation. Examples of the 3D model include a digitalized version of the target's contour line, a DEM (Digital Elevation Model), a TIN (Triangulated Irregular Network), etc. Creation of a 3D model based on point cloud data is described, for example, in WO 2011 / 070927, JP 2012-230594 A, and JP 2014-35702 A.
[0027] (How to deal with the problem of time not being synchronized) In this example, the clock of the control system that controls the shooting of the camera 101 (the function of specifying the time for processing) is not synchronized with the clock of the control system that controls the operation related to measuring the position of the total station 200. For example, this situation can occur when a cost-saving or simple configuration is adopted.
[0028] If the synchronization between the camera 101 and the total station 200 is not ensured, an error due to the difference in the operation timing between them will occur during the adjustment calculation. That is, since the camera 101 takes pictures while moving, if the time of taking pictures by the camera 101 and the time of measuring the reflecting prism 102 by the total station 200 are not synchronized, an error will occur in the calculation result.
[0029] In this embodiment, the following measures are taken to address this problem. Figure 2 shows the relationship between the position of the reflecting prism 102 and the position of the camera 101 (position at the time of shooting). i , T pi ) (i=1, 2, 3, . . . ) are the positions of the reflecting prism 102 measured by the total station 200 (surveying device) and the times at which they were measured.
[0030] The position of the reflecting prism 102 and the measurement time are indicated by dashed circles (p ti , T pti ) is the position and time of the reflecting prism 102 when the time series is taken into consideration (taking into consideration the time synchronization deviation). This is the position and time of the reflecting prism 102 that is expected to be measured if the time is synchronized. In other words, the solid circle (p i , T pi ) is the position and time of the reflecting prism 102 that is actually measured, and the dashed circle (p ti , T pti ) are the position and time of the reflecting prism 102 that would be expected to be measured if synchronization were achieved.
[0031] Here, in order to reduce errors due to the lack of synchronization, an adjustment calculation is performed using the constraint condition formula of the following equation 1.
[0032] -p' ti : Position of the reflecting prism 102 in the local coordinate system taking into account the time series L': Offset amount between the position of the camera 101 and the position of the reflecting prism 102 t': Position of the camera 101 in the local coordinate system
[0033] Here, -p' ti is a function of the position of the reflecting prism 102 in the global coordinate system measured by the total station 200, the photographing time of the camera 101, and the positioning time of the reflecting prism 102, and includes a correction term proportional to the difference between the two times. i The position p of the dotted circle based on the (actually measured position of the reflecting prism 102) ti (-p' ti −L′) is the camera position on the local coordinate system that takes into account the time series of the synchronization deviation calculated from the measurement values of the position of the reflecting prism 102 by the total station 200.
[0034] Here, the local coordinate system is a coordinate system that describes the positional relationship between the position and orientation of the camera 101 and feature points extracted from the image captured by the camera 101.
[0035] The above constraint condition equation is established on the local coordinate system, and is used to calculate the camera position (-p' ti -L') and the camera position t', which is the final unknown i This is a formula for calculating the sum of the differences between the above at each camera position.
[0036] Hereinafter, the position −p′ of the reflecting prism 102 taking into account the time series ti Here, it is assumed that the position of the i-th reflecting prism 102 measured by the total station 200 is slightly offset from the position of the reflecting prism 102 when the corresponding image was captured by the camera 101. This offset is due to the asynchronous nature of the time information (clocks) used.
[0037] 2, this deviation is considered to be smaller than the difference between the i-th position and the (i+1)-th position of the reflecting prism 102 measured by the total station 200. Since the difference between the i-th position and the (i+1)-th position of the reflecting prism 102 is minute, this deviation is considered to correspond to the difference between the time when the position of the reflecting prism 102 is measured and the time when the camera 101 takes the image.
[0038] Specifically, it is considered that the reflecting prism 102 at the time of photographing is located at a position that has moved by the above-mentioned amount of deviation from the i-th position of the reflecting prism 102 measured by the total station 200 in the direction of the (i+1)-th position. This amount of deviation is defined as a correction term that is proportional to the difference between the time of positioning the reflecting prism 102 and the time of photographing by the camera 101. In other words, it is considered that the prism position at the corresponding time of photographing is located at a position shifted from the i-th prism position measured by the total station 200 toward the (i+1)-th prism position by the amount of this correction term.
[0039] In this way, the position of the camera 101 (-p') calculated from the measurement value of the position of the reflecting prism 102 by the total station 200 is ti -L') and the position t' of the camera 101 at the time of shooting of the camera 101 iThis is the constraint condition formula (1) above.
[0040] The orientation and position of the camera 101 in the global coordinate system are obtained by bundle adjustment calculation using this constraint condition formula. In the bundle adjustment calculation, an observation equation of the following formula 2 is established for each beam of light in each image based on the collinear condition that the beams (bundles) connecting the three points of the feature point obtained from the captured image of the object, the point on the captured image, and the projection center must be on the same straight line, and the coordinates (Xj, Yj, Zj) of the feature point and the parameters of the position and orientation of the camera 101 (X oi , Y oi , Z oi , a 11i ~a 33i ) are simultaneously adjusted.
[0041] In the adjustment calculation in this embodiment, the constraint condition equation of the above-mentioned equation 1 and the observation equation of the following equation 2 are established, and each parameter (feature point (Xj, Yj, Zj) and the position (Xj, Yj, Zj) of the camera 101 are calculated by the least squares method. oi , Y oi , Z oi ) and posture (a 11i ~a 33i (rotation matrix)) is optimized.
[0042]
[0043] c: Screen distance (focal length) (Xj, Yj, Zj): Three-dimensional coordinates of the feature point of interest (x ij ,y ij ): The coordinates of point j on image i (on the screen) (X oi , Y oi , Z oi ): the position of the camera 101 when photograph i was taken (a 11i ~a 33i ): A rotation matrix indicating the orientation of the camera 101 when photograph i was taken
[0044] In the above equation 2, the initial values of (Xj, Yj, Zj) use the three-dimensional coordinates of the feature points in the local coordinate system obtained by sfm. oi , Y oi , Z oi ) and (a 11i~a 33i ) is an unknown quantity and can be obtained by adjusting the equations using equations 1 and 2. oi , Y oi , Z oi ) and (a 11i ~a 33i ) are unknowns, but the results of the initial value adjustment described below are used as the initial values. Also, because the rough relationship between the local coordinate system and the global coordinate system is determined by the initial value adjustment, the initial values of (Xj, Yj, Zj) also contain errors, but are close to the true values in the global coordinate system to some extent. These circumstances improve the convergence and accuracy of the adjustment calculation. (X pi ,Y pi ,Z pi ) uses the position of the reflecting prism 102 measured by the total station 200.
[0045] In the adjustment calculation in this embodiment, the constraint condition equation of the above-mentioned equation 1 and the observation equation of the following equation 2 are established, and each parameter (feature point (Xj, Yj, Zj) and the position (Xj, Yj, Zj) of the camera 101 are calculated by the least squares method. oi , Y oi , Z oi ) and posture (a 11i ~a 33i (rotation matrix)) is optimized. Note that it is also possible to perform the adjustment calculation of Equation 2 after performing the adjustment calculation of Equation 1.
[0046] In the adjustment calculation using Equation 1 and Equation 2, the feature points (Xj, Yj, Zj) and the exterior orientation parameters (X oi , Y oi , Z oi , a 11i ~a 33i (rotation matrix indicating the orientation)) and (L X ,L Y ,L Z ) as a parameter to calculate the residuals of Equation 1 and Equation 2. In this case, (Xj, Yj, Zj), (X oi , Y oi , Z oi , a 11i ~a 33i ), (L X ,L Y ,L Z) combinations are searched for. X ,L Y ,L Z ) are the offset amounts in the X, Y, and Z directions between the position of the camera 101 and the position of the reflecting prism 102.
[0047] Specifically, each parameter (Xj, Yj, Zj), (X oi , Y oi , Z oi , a 11i ~a 33i ), (L X ,L Y ,L Z ) and perform simultaneous calculations of Equation 1 and Equation 2 by adding a correction amount to the equations. Then, the unknown parameters (Xj, Yj, Zj), (X oi , Y oi , Z oi , a 11i ~a 33i ), (L X ,L Y ,L Z The convergence conditions are that the residual is sufficiently small and that the variation in the residual from the previous calculation is sufficiently small (the variation in the calculation result has converged).
[0048] 3 is a block diagram of the calculation unit 300. The calculation unit 300 is a computer and includes a CPU, a storage device, and various interfaces. The calculation unit 300 includes an image data acquisition unit 301, a reflecting prism position acquisition unit 302, a relative orientation unit 303, an initial value adjustment unit 304, an adjustment calculation unit 305 that takes time series into consideration, a three-dimensional model creation unit 306, and a camera control unit 307.
[0049] These functional units are realized by software using a computer that constitutes the calculation unit 300. Some or all of the above functional units can also be configured using dedicated hardware. It is also possible for the calculation unit 300 to be provided outside the heavy equipment 100. For example, it is also possible for the calculation unit 300 to be provided on a processing server connected to the Internet, and for calculations to be performed there.
[0050] The image data acquisition unit 301 receives image data of the image captured by the camera 101. The image data is associated with the time of capture. The time of capture is the time on a clock provided in the camera control unit 309. The reflecting prism position acquisition unit 302 receives data on the position of the reflecting prism 102 measured by the total station 200. The time of measurement of this data is the time on a clock provided in the total station 200. The position and orientation of the total station 200 in the global coordinate system are known, and the position data of the reflecting prism 102 is obtained on the global coordinate system.
[0051] The relative orientation unit 303 calculates the relationship between the numerous feature points extracted from the image captured by the camera 101 and the position and orientation of the camera 101 based on the SFM principle. This relationship is specified on a local coordinate system. The principle of this processing will be briefly explained below. Assume that there is a captured image 1 captured by the camera 101 at a first position and a captured image 2 captured from a second position slightly shifted from the first position. Also, assume that the captured ranges of captured image 1 and captured image 2 overlap. The numerous feature points extracted from this overlapping range, the positional relationship between the first position and the second position, and the relationship between the camera postures at the first position and the second position are determined based on the principle of three-dimensional photogrammetry (stereo photogrammetry). This is the relative orientation process.
[0052] This process determines the position and orientation of the camera 101 at each shooting viewpoint position in the local coordinate system. If no scale is given, the local coordinate system will be a coordinate system that describes a relative positional relationship with an unknown scale. Although it is not essential to give a scale, if a scale is shown in the captured image, a scale will be given to the local coordinate system.
[0053] The initial value adjustment unit 304 specifies initial values of the correspondence relationship between the position and time of the camera 101 described in the local coordinate system and the position and time of the reflecting prism 102 described in the global coordinate system. The above-mentioned adjustment calculation is performed using these initial values. This initial value adjustment can also be said to be a process of determining the approximate relationship between the local coordinate system and the global coordinate system used in the above-mentioned relative orientation.
[0054] An example of processing in the initial value adjustment unit 304 will be described below. The initial value adjustment is performed through the following three-stage processing. In the first stage processing, attention is paid to the start of movement of the position of the camera 101 and the start of movement of the position of the reflecting prism 102, and the correspondence between the two positions is identified. In this processing, attention is paid to the start point of movement, and the corresponding points (positions) between the two are identified. Conversely, attention can also be paid to the end point of movement (point at which the movement stops) to identify the corresponding points.
[0055] In this process, the correspondence between the timing at which the movement starts and / or ends is determined between the measured position (position in the global coordinate system) of the reflecting prism 102 by the total station 200 and the calculated position (position in the local coordinate system) of the camera 101 based on the image captured by the camera 101.
[0056] The second stage of processing is performed after the first stage of processing. In the second stage of processing, processing is performed that focuses on changes in position. The principle is shown in FIG. 4A. In FIG. 4A, the circles indicate the positions of the camera 101 or the reflecting prism 102. In this case, the angles formed by three consecutive points are calculated for all points (all camera positions and reflecting prism positions). Then, the angles formed on the camera side and the angles formed on the reflecting prism side are compared, and a search is made for the combination that minimizes the sum of the absolute values of the differences.
[0057] For example, the angle formed with respect to the position of the camera 101 is θ c1 , θ c2 , θ c3 , θ c4 ...θ cn and the angle formed with respect to the position of the reflecting prism 102 is θ p1 , θ p2 , θ p3 , θ p4 ...θ pn In this case, while changing the combination, θ c1 , θ c2 , θ c3 , θ c4 ...θ cn and θ p1 , θ p2 , θ p3 , θ p4 ...θ pnThe difference between the angles is calculated and the sum of the absolute values is calculated. The combination position where this sum is smallest is adopted as the corresponding combination.
[0058] For example, θ p1 -θ c1 , θ p2 -θ c2 , θ p3 -θ c3 The sum of the absolute values of ..., θ p2 -θ c1 , θ p3 -θ c2 , θ p4 -θ c3 The sum of the absolute values of ..., θ p3 -θ c1 , θ p4 -θ c2 , θ p5 -θ c3 Calculate the sum of the absolute values of ..., ..., and find the combination with the smallest sum.
[0059] According to this method, the change in the position of the reflecting prism 102 in the global coordinate system is compared with the change in the position of the camera 101 in the local coordinate system, and the correspondence between the two is identified. By determining this correspondence, initial value adjustment can be performed with even higher accuracy than in the first stage.
[0060] In the second-stage processing, it is desirable that the calculation interval for the position of the camera 101 and the measurement interval for the position of the reflecting prism 102 are as close as possible (ideally, identical). FIG. 4C shows a case where the calculation interval for the position of the camera 101 is 1 second (1 Hz) and the measurement interval for the position of the reflecting prism 102 is 0.2 seconds (5 Hz). In this case, the measurement points for the position of the reflecting prism 102 are acquired at a rate of one point per five points (i.e., the sampling frequency is 1 / 5), which matches the calculation interval for the position of the camera 101. Aligning the measurement intervals for this position makes it easier to perform comparisons. This method is also effective in the first-stage processing.
[0061] Fig. 4B shows a case where the angle is calculated using three points spaced apart. By doing so, the difference in the angles becomes more noticeable, and the accuracy of the comparison can be improved.
[0062] After the second stage, the third stage is performed. In the third stage, the correspondence between the camera position and the reflecting prism position is found using the least squares method. In this process, a transformation matrix from the local coordinate system to the global coordinate system is found. This transformation matrix is used to convert the local coordinate system (feature points, camera position and orientation) into the global coordinate system. The transformation matrix found here and the result of the transformation using this transformation matrix are used as the initial values for the next adjustment calculation.
[0063] The above three-stage alignment process provides the initial values of the relationship between the local coordinate system, which describes the relationship between the camera position and feature points of each captured image obtained by relative orientation, and the global coordinate system.
[0064] The time-series-considered adjustment calculation unit 305 performs adjustment calculation using Equations 1 and 2 described in relation to Fig. 2. This adjustment calculation is performed using the result of the initial value adjustment described above.
[0065] The three-dimensional model creation unit 306 creates a three-dimensional model of the photographed object based on point cloud data, which is data on the positions of each feature point in the global coordinate system obtained as a result of the adjustment calculation. In this example, a three-dimensional model of the terrain around the heavy equipment 100 photographed while the heavy equipment 100 is working is created. By tracking changes in this three-dimensional model over time, the content of the work performed by the heavy equipment 100 (changes in the terrain) can be digitized.
[0066] The camera control unit 307 controls the timing of image capture by the camera 101. If the camera 101 itself has a function for performing this control, the camera control unit 307 outputs a signal instructing the camera to start and stop image capture.
[0067] (Example of Processing) Fig. 5 is a flowchart showing an example of the procedure of processing performed in the arithmetic device 300 of Fig. 3. A program for executing the processing of Fig. 5 is stored in a storage device or an appropriate storage medium of a computer constituting the arithmetic device 300, and is executed by the computer.
[0068] First, the premise of the processing will be explained. Here, it is assumed that the camera 101 and the reflecting prism 102 are fixed to the heavy equipment 100, and the distance L between the camera 101 and the reflecting prism 102 is known. L does not have to be accurate. Also, L may be unknown. In this case, L can be found by adjustment calculation.
[0069] The positions of the camera 101 and the reflecting prism 102 on the heavy equipment 100 are unknown. Furthermore, the camera 101 repeatedly takes images while the heavy equipment 100 is in operation. The total station 200 continuously and repeatedly measures the position of the reflecting prism 102. The position and orientation of the total station 200 in the global coordinate system are known. Furthermore, the time when the camera takes an image and the time when the total station measures the position of the reflecting prism 101 are not synchronized.
[0070] The processing in Fig. 5 is performed after the operation of the heavy equipment 100 has ended. The processing in Fig. 5 may also be performed while the heavy equipment 100 is in operation. For example, batch processing in which the processing in Fig. 4 is performed every 5 minutes or every 10 minutes is also possible. It is also possible to perform the processing in Fig. 5 in real time.
[0071] First, image data captured by the camera 101 is acquired (step S101). This process is performed by the image data acquisition unit 301 in Fig. 3. Next, data on the position of the reflecting prism 102 measured by the total station 200 is acquired (step S102). This process is performed by the reflecting prism position acquisition unit 302 in Fig. 3.
[0072] Next, in accordance with the sfm principle, the positions of the feature points in the local coordinate system based on the image captured by the camera, and the position and orientation of the camera 101 are calculated (step S103). This processing is performed by the relative orientation unit 303 in FIG.
[0073] If a scale (for example, two targets with a known separation distance) is captured in the captured image, the scale can be assigned to the local coordinate system, but assigning a scale is not required. If the captured image contains multiple reference points whose positions are specified on the global coordinate system, the local coordinate system can be treated as a global coordinate system, but this is not required.
[0074] In step S103, the positions in the local coordinate system of the many feature points extracted from the captured image are determined. If the scale and reference point are not given, step S103 determines the relative three-dimensional relationship between the camera position and orientation (which are the same as the number of captured images obtained while the camera was moving) and the many feature points.
[0075] Next, initial value adjustment is performed (step S104). This process is performed by the initial value adjustment unit 304 in Fig. 3. By performing this initial value adjustment, an approximate relationship between the position and time of the camera 101 on the local coordinate system and the position and time of the camera 101 on the global coordinate system is given.
[0076] Next, an adjustment calculation (adjustment calculation taking into account the time series) is performed using Equations 1 and 2 (step S105). This adjustment calculation takes into account the difference between the time on the camera 101 side and the time on the total station 200 side. This adjustment calculation identifies the position and orientation of the camera 101 in the global coordinate system, as well as the positions in the global coordinate system of the many feature points obtained from the captured image obtained in step S103. This process is performed by the adjustment calculation unit 305 taking into account the time series in FIG. 3.
[0077] Next, a three-dimensional model is created based on the feature points obtained from the captured image (step S106). This process is performed by the three-dimensional model creation unit 306 shown in Fig. 3. In this way, a three-dimensional model of the object captured by the camera 101 mounted on the heavy equipment 100 is obtained on the global coordinate system.
[0078] (Summary) Image data of an image captured by a moving camera 101 mounted on a heavy machine 100 is obtained, and the position of a reflecting prism 102, which is a specific part fixed to the camera 101, is measured by a total station 200. The position of the camera 101 is calculated based on the measured position of the reflecting prism 102. There is a discrepancy between the time the position of the reflecting prism 102 is measured and the time the image was captured by the camera 101, and an adjustment calculation is made in which the position of the camera 101 is an unknown quantity in calculating the position of the camera 101. This adjustment calculation is made based on the measured position of the reflecting prism 101 to which a correction amount corresponding to the time discrepancy has been added.
[0079] (Advantages) According to this embodiment, when creating a three-dimensional model of an object to be photographed based on images captured by the camera 101 mounted on the heavy machine 100, errors due to the influence of the camera 101 and the positioning time of the reflecting prism 102 are not synchronized. This makes it possible to improve the accuracy of three-dimensional data based on images captured by the camera mounted on the moving object.
[0080] 2. Second Embodiment A GNSS position measurement device can be mounted on the heavy equipment 100, and the position of the camera 101 on the heavy equipment can be determined using this GNSS position measurement device. In this case, the reflecting prism and total station can be eliminated (although they can, of course, be used together). Position measurement using GNSS involves errors, but GNSS errors can be reduced by performing adjustment calculations. In the adjustment calculations, calculations are performed assuming that an antenna for the GNSS position measurement device is installed instead of the reflecting prism 102 in FIG. 1. Furthermore, measurement errors can be reduced by using relative positioning such as the RTK method. Handling of feature points, various orientations, and other data processing are the same as in the first embodiment.
[0081] 100...heavy machinery, 101...camera, 102...reflecting prism, 110...rotating part, 120...base part, 151...arm part, 152...bucket, 200...total station, 300...computing device.
Claims
1. A surveying method in which image data of an image captured by a moving camera is obtained, the position of a specific part fixed relative to the camera is measured, the position of the camera is calculated based on the measured position of the specific part, there is a discrepancy between the time the position of the specific part is measured and the time the image was captured, and in calculating the camera position, an adjustment calculation is made with the camera position as an unknown, and the adjustment calculation is performed based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
2. A surveying method as described in claim 1, wherein a process for determining an initial value for the adjustment calculation is performed, and in the process for determining the initial value, a process for determining a correspondence between the position of the camera in a local coordinate system calculated based on an image captured by the camera and the start and / or end of movement of the position of the specific part in a global coordinate system is performed.
3. A surveying method as described in claim 1, in which a process of determining an initial value for the adjustment calculation is performed, and in the process of determining the initial value, a correspondence between a change in position of the camera in a local coordinate system calculated based on an image captured by the camera and a change in position of the specific part in a global coordinate system is determined.
4. A surveying method according to claim 3, wherein the change in position is evaluated based on an angle between a first line connecting the first position and the second position and a second line connecting the second position and the third position.
5. A surveying system comprising: a means for obtaining image data of an image captured by a moving camera; a means for measuring the position of a specific part fixed relative to the camera; and a means for calculating the position of the camera based on the measured position of the specific part, wherein there is a discrepancy between the time when the position of the specific part is measured and the time when the image is captured, and an adjustment calculation is made in which the position of the camera is an unknown quantity, and the adjustment calculation is made based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
6. A program to be read and executed by a computer, which causes the computer to acquire image data of an image captured by a moving camera, acquire measurement data of the position of a specific part fixed relative to the camera, and calculate the position of the camera based on the measured position of the specific part, wherein there is a discrepancy between the measurement time of the position of the specific part and the shooting time of the captured image, and an adjustment calculation is made in which the position of the camera is an unknown quantity, and the adjustment calculation is made based on the position of the specific part to which a correction amount corresponding to the time discrepancy has been added.
Citation Information
Patent Citations
Method for measuring position of completed part of construction and heavy machine during construction
JP1996043093A
Three-dimensional point group position data processor, three-dimensional point group position data processing method, three-dimensional point group position data processing system, and program
JP2012230594A
Moving image processor, moving image processing method and program for moving image processing
JP2013186816A
Optical data processing device, optical data processing system, optical data processing method, and program for processing optical data
JP2014035702A
Point group data processing device, point group data processing method, and point group data processing program
WO2011070927A1
