Relative position posture correction device and program
The device and program address the issue of erroneous correspondences in camera mapping by generating a graph and calculating reliability to accurately correct relative positions and orientations, enhancing the consistency and accuracy of coordinate transformations between multiple cameras.
Patent Information
- Application Number
- JP2023052238
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for estimating the relative position and orientation between multiple cameras using common targets can lead to erroneous correspondences, resulting in incorrect mapping and unexpected local values, which affect the accuracy of relative position correction between cameras.
A device and program that acquires surrounding environment information, generates a graph based on relative position correction information, calculates reliability using first and second reliability calculations, and selects optimal correction information to correct the relative positions and orientations of multiple information gathering devices, even in the presence of incorrect correspondences.
Ensures accurate and reliable correction of relative positions and orientations between multiple information gathering devices by evaluating and selecting correction information based on reliability, thereby improving the consistency and accuracy of coordinate transformations.
Smart Images

Figure 2024140879000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a relative position and orientation correction device and a program. [Background technology]
[0002] There is a known technology that estimates extrinsic parameters including the posture of each camera by using images captured by each of the cameras. In Patent Document 1, multiple markers are fixedly installed in an area where the capture areas of the multiple cameras overlap, and the multiple markers are detected to estimate the extrinsic parameters of each camera based on the relative positional relationship between the markers. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-154076 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, when matching common targets such as markers commonly included in each of the multiple camera images, erroneous correspondence may occur in the matching relationship of the matched targets. If erroneous correspondence occurs in the matching of targets, an unexpected local value may be estimated as the optimal solution when correcting the relative positions between the multiple cameras from each of the multiple camera images. Therefore, there is room for improvement in detecting multiple markers and considering the relationship between the multiple cameras based on the relative positional relationship between the markers.
[0005] The present disclosure provides a relative position and attitude correction device and program that can derive information to correct the relative positions and attitudes of multiple information collection devices even if erroneous correspondence occurs when matching a common target to multiple surrounding environment information from multiple information collection devices. [Means for solving the problem]
[0006] A first aspect of the present disclosure includes an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in a surrounding environment collected by an information collection device at each of a plurality of points; and a generation unit that generates a graph based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, in which each piece of device information including a position and an attitude of the information collection device at the time of collection by the information collection device is a node, and for each set of surrounding environment information in which a target is commonly included among the plurality of pieces of surrounding environment information, a graph is generated in which each piece of relative position correction information for each set that corrects a relative position and attitude of the information collection device between points where the surrounding environment information of each set of the surrounding environment information was collected is obtained by matching the target that is commonly included in the surrounding environment information of each set, and an edge connecting between the nodes is each piece of relative position correction information for each set a first reliability calculation unit that calculates a first reliability of correction using the relative position correction information of the closed path by combining relative position correction information corresponding to each of the edges included in the closed path for a closed path having three or more edges extracted from a graph generated by the extraction unit; a second reliability calculation unit that calculates a second reliability of correction using the relative position correction information corresponding to each of the edges connecting the nodes based on the first reliability calculated by the first reliability calculation unit; and a selection unit that selects, from the relative position correction information that corrects the relative position and orientation of the information collection device between the points, relative position correction information using each of the edges determined by a path connecting the nodes based on the second reliability calculated by the second reliability calculation unit.
[0007] In a second aspect, in the relative position and orientation correction device of the first aspect, the first reliability calculation unit sets, as the closed path, a path from a node indicating a starting point among the multiple points, via other nodes, to the node indicating the starting point as a node indicating an end point, as a closed path for coordinate transformation that converts coordinate systems between the points, and calculates the reliability of the closed path for coordinate transformation so that the reliability increases as an error in the relative position and relative orientation between the coordinate system of the point indicated by the starting node and the coordinate system resulting from coordinate transformation according to the closed path for coordinate transformation decreases, and the second reliability calculation unit calculates, based on the first reliability calculated by the first reliability calculation unit, so that the second reliability increases as the reliability of the closed path for coordinate transformation increases.
[0008] In a third aspect, in the relative position and orientation correction device of the first aspect, the selection unit selects relative position correction information for a route in which a sum of weights, which is set to be smaller as the second reliability is higher for the relative position correction information corresponding to each of the sides, is equal to or smaller than a predetermined threshold value.
[0009] In a fourth aspect, in the relative position and attitude correction device of the first aspect, the information collection device includes an imaging device that captures an image of a periphery of the vehicle, and the surrounding environment information is an image captured by the imaging device.
[0010] In a fifth aspect, in the relative position and orientation correcting apparatus of the first aspect, the information collection device at each of the plurality of points is the same information collection device before and after the time has elapsed.
[0011] In a sixth aspect, in the relative position and orientation correction device of the first aspect, an invalidation unit is further provided that invalidates at least one of relative position correction information of an edge corresponding to a second reliability having a value less than a predetermined threshold value and a node connected to the edge, based on the second reliability calculated by the second reliability calculation unit.
[0012] A seventh aspect of the present invention relates to a computer including: an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in a surrounding environment collected by an information collection device at each of a plurality of points; a generation unit that generates a graph based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, in which each piece of device information including a position and an attitude of the information collection device at the time of collection by the information collection device is a node, and which is obtained by associating targets commonly included in the surrounding environment information of each set of the plurality of pieces of surrounding environment information, and in which each piece of relative position correction information that corrects the relative position and attitude of the information collection device between points where the surrounding environment information of each set of the surrounding environment information was collected is an edge connecting between the nodes; and a first reliability calculation unit that calculates a first reliability of correction using the relative position correction information of the closed path by synthesizing relative position correction information corresponding to each of the edges included in the closed path for a closed path having three or more edges extracted from the graph generated by the calculation unit; a second reliability calculation unit that calculates a second reliability of correction using the relative position correction information corresponding to each of the edges connecting the nodes based on the first reliability calculated by the first reliability calculation unit; and a selection unit that selects, for relative position correction information that corrects the relative position and attitude of the information collection device between the points, relative position correction information using each of the edges determined by the path connecting the nodes based on the second reliability calculated by the second reliability calculation unit. Effect of the Invention
[0013] According to the present disclosure, even if an erroneous correspondence occurs when matching a common target to multiple surrounding environment information from multiple information collection devices, it is possible to obtain the effect of deriving information for correcting the relative positions and attitudes of the multiple information collection devices. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram showing an example of a configuration of a relative position and orientation correction device according to a first embodiment. [Diagram 2] 2 is a block diagram showing an example of the configuration of a computer that functions as the relative position and orientation correction device according to the first embodiment. FIG. [Diagram 3] FIG. 1 is a conceptual diagram of collecting surrounding environment information at multiple locations. [Figure 4] FIG. 1 is a conceptual diagram showing the relationship between a local coordinate system and a world coordinate system. [Diagram 5] FIG. 1 is a conceptual diagram showing the relationship between multiple locations. [Figure 6] This is a conceptual diagram showing the relationship between locations based on one-to-one combinations. [Figure 7] FIG. 1 is a conceptual diagram showing an example of a closed path in a combination of edges and nodes. [Figure 8] FIG. 13 is a conceptual diagram showing an example of a result of route selection in inter-node correction. [Figure 9] 10 is a flowchart showing an example of a process flow of a relative position and orientation estimation processing program according to the first embodiment. [Figure 10] FIG. 1 is a conceptual diagram of integrating maps of multiple surrounding environments. [Figure 11] FIG. 11 is a block diagram showing an example of the configuration of a relative position and orientation correction device according to a second embodiment. [Figure 12] 10 is a flowchart showing an example of a process flow of a relative position and orientation estimation processing program according to the second embodiment. [Figure 13] FIG. 13 is a block diagram showing an example of the configuration of a relative position and orientation correction device according to a third embodiment. [Figure 14] 13 is a flowchart showing an example of a process flow of a relative position and orientation estimation processing program according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, embodiments for implementing the technology of the present disclosure will be described in detail with reference to the drawings. In this embodiment, components and processes that have the same action and function are given the same reference numerals throughout the drawings, and duplicated explanations may be omitted as appropriate. Each drawing is merely shown in a schematic manner to allow a sufficient understanding of the technology of the present disclosure. Therefore, the technology of the present disclosure is not limited to only the illustrated examples. In addition, in this embodiment, explanations of configurations that are not directly related to the present invention or well-known configurations may be omitted.
[0016] [First embodiment] FIG. 1 is a block diagram showing an example of the configuration of a relative position and orientation correction device 10A according to the first embodiment.
[0017] As shown in FIG. 1, a relative position and orientation correction device 10A includes an acquisition unit 12, a relative position correction information calculation unit 14, a graph generation unit 16, a reliability calculation unit 18, and an integration unit 22.
[0018] FIG. 2 is a block diagram showing an example of the configuration of a computer that functions as the relative position and orientation correction device 10A.
[0019] 2, the computer functioning as the relative position and orientation correction device 10A includes a general-purpose computer main unit 30 having a CPU (Central Processing Unit) 31, a RAM (Random Access Memory) 32, and a ROM (Read Only Memory) 33. A relative position and orientation estimation processing program 33P is stored in the ROM 33. The computer main unit 30 includes an input / output interface (I / O) 34, and the CPU 31, the RAM 32, the ROM 33, and the I / O 34 are connected to each other via a bus 35 so as to be able to transmit and receive commands and data. In addition, a communication unit 36 is connected to the I / O 34, which communicates with an external device provided in a vehicle 40, which is an example of a moving body, by at least one of wired connection communication and wireless connection communication.
[0020] The relative position and orientation estimation processing program 33P may be pre-installed in the relative position and orientation correction device 10A, for example. The relative position and orientation estimation processing program 33P may be realized by storing it in a non-volatile storage medium or distributing it via a network and appropriately installing it in the relative position and orientation correction device 10A. Examples of the non-volatile storage medium include a CD-ROM (Compact Disc Read Only Memory), a magneto-optical disk, a HDD (Hard Disk Drive), a DVD-ROM (Digital Versatile Disc Read Only Memory), a flash memory, a memory card, and the like.
[0021] In the computer main body 30, the relative position and orientation estimation processing program 33P is read from the ROM 33 and loaded into the RAM 32, and the relative position and orientation estimation processing program 33P loaded into the RAM 32 is executed by the CPU 31, thereby operating as the relative position and orientation correction device 10A shown in Fig. 1. Note that the relative position and orientation estimation processing program 33P includes processes for realizing each unit of the relative position and orientation correction device 10A shown in Fig. 1. That is, the CPU 30 functions as the acquisition unit 12, the relative position correction information calculation unit 14, the graph generation unit 16, the reliability calculation unit 18, and the integration unit 22 shown in Fig. 1.
[0022] The relative position and attitude correction device 10A acquires various pieces of information from the vehicle 40. In this embodiment, a case will be described as an example in which the relative position and attitude correction device 10A communicates with the vehicle 40 to exchange information. However, the technology disclosed herein is not limited to the relative position and attitude correction device 10A being installed outside the vehicle 40. For example, the relative position and attitude correction device 10A may be mounted on the vehicle 40 (i.e., installed inside the vehicle 40).
[0023] The vehicle 40 includes a camera 42, a memory 44, and a communication unit 46. The communication unit 46 is connected to the camera 42 and the memory 44. The camera 42 is an example of an imaging device, and captures the surroundings of the vehicle 40. The number of cameras 42 may be one or more. The imaging range of the camera 42 may face in any direction from the vehicle 40, and may be at least one of the traveling direction (forward), sideways, backward, and all directions of the vehicle 40. The angle of view and resolution of the camera 42 may be set in advance, or may be set to any input setting value. The image information captured by the camera 42 can be stored in the memory 44.
[0024] The memory 44 stores vehicle information related to the vehicle. The vehicle information includes identification information unique to the vehicle for identifying the vehicle. The image information can be stored in association with the identification information. The image information can be stored in association with time information indicating the time when the image was captured. The time information may be obtained from a clock (not shown) indicating the current date and time, or may be obtained from an external device via communication.
[0025] The communication unit 46 transmits image information indicating the image captured by the camera 42 to the relative position and orientation correction device 10A.
[0026] In this embodiment, a case will be described in which the relative position and attitude correction device 10A acquires information from each of the multiple vehicles 40 in an environment in which each of the multiple vehicles 40 is traveling or stopped. The relative position and attitude correction device 10A may acquire information from a fixed device (not shown) that is set at a predetermined position and collects surrounding environment information including captured images, instead of the vehicle 40.
[0027] In addition, since the relative position and attitude correction device 10A has a communication function that allows communication with vehicles 40 within a predetermined range, it becomes possible to acquire information from each of the multiple vehicles 40 that exist within the predetermined range. This enables the relative position and attitude correction device 10A to estimate the relative position and attitude of the coordinate system for the captured images captured by each of the multiple vehicles 40 that exist within the predetermined range.
[0028] In addition, in this embodiment, when it is necessary to distinguish between the multiple vehicles 40, they will be described by adding reference symbols (A, B, etc.); however, when no distinction is necessary, they will be described by simply calling them vehicles 40. The vehicle 40, the camera 42, and the fixed device (not shown) are an example of an information collection device.
[0029] The acquisition unit 12 of the relative position and attitude correction device 10A shown in Fig. 1 is a functional unit that acquires image information indicating a captured image as a plurality of pieces of surrounding environment information including position information of targets existing in the surrounding environment collected by an information collection device at each of a plurality of points. This acquisition unit 12 acquires the surrounding environment information at each of the plurality of points. The surrounding environment information includes the position and type of targets, and includes at least position information in the coordinate system of the information collection device for collecting the surrounding environment information. The acquisition unit 12 is an example of an acquisition unit of the present disclosure.
[0030] That is, the acquisition unit 12 acquires at least image information stored in the memory 44 of the vehicle 40. Specifically, an information collection device equipped with a sensor for collecting surrounding environment information indicating the surrounding environment is disposed at each of a plurality of points, and the surrounding environment information at the plurality of points is acquired from the plurality of information collection devices. The surrounding environment information is the position, type, etc. of a target, and includes at least position information in the coordinate system of the sensor for the information collection device that collects the surrounding environment information. In this embodiment, the vehicle 40 is applied as the information collection device equipped with the sensor, the camera 42 is applied as the sensor, and image information of the periphery of the vehicle 40 including the target photographed by the camera 42 of the vehicle 40 is applied as the surrounding environment information. That is, the acquisition unit 12 acquires image information of the periphery of the vehicle 40 including the target photographed by the cameras 42 of the plurality of vehicles 40. The acquisition unit 12 is capable of acquiring vehicle information and time information associated with the image information.
[0031] The relative position correction information calculation unit 14 is a functional unit that calculates relative position correction information that corrects the relative position and attitude between each of a plurality of points. Based on a plurality of pieces of surrounding environment information acquired by the acquisition unit 12, the relative position correction information calculation unit 14 calculates each piece of relative position correction information that corrects the relative position and attitude of the camera 42 between the vehicle 40, which is an information collection device between the points that collected the surrounding environment information. In this embodiment, the relative position correction information calculation unit 14 calculates the relative position and attitude for a one-to-one combination of a plurality of points. Specifically, it associates targets commonly included in the surrounding environment information and calculates a coordinate transformation matrix that corrects the relative position and attitude.
[0032] Here, the relative position correction information will be described. FIG. 3 is a conceptual diagram of the positions and attitudes of one or more vehicles 40 when collecting surrounding environment information at multiple points. When there are multiple vehicles 40 equipped with cameras 42 that acquire surrounding environment information, such as different points Ap, Bp, and Cp shown in Fig. 3, or when the vehicle 40 moves, the sensor coordinate system has a different position and orientation at each of the multiple points. Therefore, there is a relative position and orientation relationship between the multiple points.
[0033] The position and orientation of the camera 42 can be expressed by a coordinate system when the camera 42 is fixed to the vehicle 40. For example, as shown in the following equation (1), at a point Ap, the coordinate system of the camera 42 (hereinafter referred to as a local coordinate system) is defined by an origin A0 of the local coordinate system at the point Ap corresponding to the origin defined on the world coordinate system W, and an orthogonal basis vector (A x ,A y ,A z ) If we express these together as a 4x4 matrix, matrix A can be expressed as a congruent transformation matrix (rigid transformation matrix) that converts coordinates expressed in a homogeneous coordinate system, including rotation and translation, from the local coordinate system to the world coordinate system.
number
[0034] FIG. 4 is a conceptual diagram showing the relationship between the local coordinate system and the world coordinate system. 4, there is a relationship between the local coordinate system at the point Ap of the camera 42 and the world coordinate system, and a target included in an image captured by the camera 42 can be expressed in the local coordinate system and the world coordinate system. W T A , the target position in the coordinate system of point Ap (homogeneous coordinates) A L, and the target position in world coordinates (homogeneous coordinates) W L can be expressed by the following equation (2).
number
[0035] The relative positional relationship between the local coordinate system of the point Ap and the local coordinate system of the point Bp described above can be estimated from the position of a common target included in the captured images.
[0036] Fig. 5 is a conceptual diagram showing the relationship between the local coordinate systems of points Ap and Bp on the world coordinate system. Fig. 5 is a diagram showing the surrounding environment in two dimensions. Since the surrounding environment information in the local coordinate system of each point is different, first, the surrounding environment information is acquired in each local coordinate system, and common targets are associated. Specifically, as shown in Fig. 5, common targets are associated in each local coordinate system. In the example shown in the figure, triangular shapes and rectangular shapes are associated with each other.
[0037] The positions of targets (eg, N targets) that are associated between the local coordinate system of the point Ap and the local coordinate system of the point Bp can be expressed in the local coordinate system of each point. Specifically, in the local coordinate system of point Ap, it can be expressed by the following equation (3). A L i =[ A x i , A y i , A z i ,1] (i=1, ,N) (3) In addition, in the local coordinate system of point Bp, it can be expressed by the following equation (4). B L i =[ B x i , B y i , B z i ,1] (i=1, ,N) (4)
[0038] If there is no error in the target position information in each local coordinate system and no error in the matching, the relative position correction results for the N matched targets will match. However, the target position information may contain errors, and the two local coordinate systems may not match due to the joint transformation matrix. Also, there may be cases where the matching contains errors.
[0039] Therefore, the relative position correction information calculation unit 14 (FIG. 1) calculates a congruent transformation matrix that minimizes the sum of residuals when the coordinates of the N pairs of associated targets are transformed from the local coordinate system of the point Ap to the local coordinate system of the point Bp. The calculated congruent transformation matrix is set as the relative position correction matrix from the local coordinate system of the point Ap to the local coordinate system of the point Bp. For example, the congruent transformation matrix (i.e., the relative position correction matrix) calculated to minimize the sum of squares of the distances of the N targets can be expressed by the following equation (5).
number
[0040] 5 also shows an example of a correction result CR for correcting the local coordinate system of point Ap with respect to the local coordinate system of point Bp. As shown in the correction result CR, the coordinate axes of the local coordinate systems of points Ap and Bp match, but the positions of the targets may not match.
[0041] In this embodiment, the case where the sum of squares of the distances of the target is calculated to be the minimum will be described, but the present disclosure is not limited to this. For example, a matrix that is calculated to minimize the distance of the target may be used.
[0042] Next, the graph generating unit 16 (FIG. 1) will be described. The graph generating unit 16 is a functional unit that graphically represents the relationship between each point. The graph generating unit 16 generates a graph consisting of nodes and edges connecting the nodes based on a plurality of pieces of surrounding environment information acquired by the acquiring unit 12 and the relative position correction information calculated by the relative position correction information calculating unit 14. The nodes indicate information at each point, that is, at a point where each vehicle 40 photographed and collected the surrounding environment. The nodes include each piece of device information including the position and attitude of the camera 42 of the vehicle 40 at the point where the vehicle 40 photographed and collected the surrounding environment. The edges indicate the relationship between information at points where each of the plurality of vehicles 40 photographed and collected the surrounding environment, and are associated with relative position correction information that corrects the relative position and attitude of the camera 42 between the points. In other words, the edges represent connections connecting the nodes, and will be described below as edges.
[0043] Fig. 6 is a conceptual diagram showing the relationship between six points Ap, Bp, Cp, Dp, Ep, and Fp in one-to-one combinations as an example of multiple points. In Fig. 6, matrices A, B, C, D, E, and F for each point are nodes, and edges between points are represented by relative position correction matrices i T j This is a diagram expressed in (i=B~F, j=A~E).
[0044] As shown in FIG. 6, the graph generated by the graph generation unit 16 expresses the local coordinate systems with nodes (vertices [A, B, C, D, E, F]) and expresses the relative positional relationships between the local coordinate systems with edges (sides [AB, AC, AD, AE, AF, BC, BD, BE, BF, CD, CE, CF, DE, DF, EF]). The example shown in FIG. 6 shows a graph in which edges exist between all nodes as an example. Note that the graph generated by the graph generation unit 16 is not limited to having edges between all nodes. For example, when it is difficult to associate targets and difficult to obtain a relative position correction matrix, edges may not be set. Details regarding the edges between points Ap and Bp will be described later.
[0045] Therefore, the relative position and orientation correction device 10A uses the multiple pieces of surrounding environment information acquired by the acquisition unit 12 to define, as a node, each of the multiple pieces of device information including the position and orientation of the camera 42, which is an information collecting device, when the camera 42 collected the information. Also, for each set of surrounding environment information in which a target is commonly included among the multiple pieces of surrounding environment information, each set of relative position correction information that is obtained by matching the target commonly included in the surrounding environment information of each set and corrects the relative position and orientation of the camera 42 between the points where each set of surrounding environment information was collected is defined as an edge (side) connecting the nodes. A graph is generated by these multiple nodes and the edges connecting the nodes.
[0046] In the example shown in Fig. 6, the local coordinate system is expressed by nodes (vertices [A, B, C, D, E, F]), but the nodes indicated by the vertices A to F are not limited to expressing the local coordinate system itself. In other words, each node is a collection of information for associating targets between nodes, and can also be considered as a collection of position information of targets.
[0047] The above-described relative position correction information calculation unit 14 and graph generation unit 16 are an example of a generation unit in the present disclosure.
[0048] Next, a description will be given of the reliability calculation unit 18 (FIG. 1). The reliability calculation unit 18 is a functional unit that uses the graph generated by the graph generation unit 16 to calculate the reliability of the relative position correction information corresponding to each edge.
[0049] As shown in Fig. 1, the reliability calculation unit 18 includes a first reliability calculation unit 18A and a second reliability calculation unit 18B. The first reliability calculation unit 18A calculates a first reliability of the correction by the relative position correction information of the closed path by combining relative position correction information corresponding to each edge included in the closed path for a closed path having three or more edges extracted from the graph generated by the graph generation unit 16. The second reliability calculation unit 18B calculates a second reliability of the correction by the relative position correction information corresponding to each edge connecting the nodes based on the first reliability calculated by the first reliability calculation unit 18A.
[0050] Specifically, the first reliability calculation unit 18A extracts closed paths included in the graph generated by the graph generation unit 16. Next, the first reliability calculation unit 18A synthesizes relative position correction matrices (matrices for coordinate conversion) indicating relative position correction information corresponding to the sides (edges) on each extracted closed path, and calculates a residual between the coordinate of the start point of the closed path using the synthesized matrix and the coordinate resulting from the coordinate conversion using the synthesized matrix. Next, the first reliability calculation unit 18A regards the calculated residual as the reliability of the coordinate conversion on the closed path, i.e., the reliability of the correction by the relative position correction information of the closed path, and calculates the reliability of the coordinate conversion on the closed path as the first reliability.
[0051] Next, the second reliability calculation unit 18B calculates statistics (average, median, etc.) summarizing the reliability corresponding to the edges included in each closed path. The second reliability calculation unit 18B regards the calculated statistics as the reliability of the relative position correction information corresponding to each edge, and calculates the reliability of the relative position correction information corresponding to each edge as the second reliability.
[0052] Next, the calculation of the reliability will be further explained. First, when local coordinate systems are represented by nodes and the relative positional relationships between the local coordinate systems are represented by edges (FIG. 6), it becomes possible to extract multiple closed paths in which multiple (e.g., three or more) nodes are vertices and the vertices are connected by edges. In this disclosure, it is possible to extract a closed path having three or more edges, but in this embodiment, for the sake of simplicity, a case in which a closed path having three edges is extracted will be described.
[0053] In the graph generated by the graph generating unit 16, among the closed paths with three edges, the closed paths in which the start and end points of the nodes are the same and the nodes do not overlap are the following combinations of nodes.
[0054] (A,B,C,A),(A,B,D,A),(A,B,E,A),(A,B,F,A), (A,C,D,A),(A,C,E,A),(A,C,F,A), (A,D,E,A),(A,D,F,A), (A,E,F,A), (B,C,D,B),(B,C,E,B),(B,C,F,B), (B,D,E,B),(B,D,F,B), (B,E,F,B), (C,D,E,C),(C,D,F,C), (C,E,F,C), (D,E,F,D),
[0055] Figure 7 is a conceptual diagram showing an example of a cycle in a combination of nodes with three edges. In Figure 7, a cycle (ABCA) is expressed from the start node to the end node in the combination of nodes (A, B, C, A).
[0056] The first reliability calculation unit 18A calculates the first reliability in the closed path (ABCA). The closed path (ABCA) shown in FIG. 7 has three edges (AB, BC, CA). Here, when the congruent transformation matrices corresponding to the edges (AB, BC, CA) on the closed path (ABCA) are combined, and the target position on the local coordinate system corresponding to the starting node is transformed by the combined congruent transformation matrix, the target position on the local coordinate system corresponding to the starting node is obtained. That is, if there is no error in the relative position correction information corresponding to the edges on the closed path, the target position on the local coordinate system corresponding to the starting node and the coordinates of the target after transformation via the nodes on the closed path are the same. The target position on the local coordinate system corresponding to the starting node and the coordinates of the target after transformation via the nodes on the closed path can be expressed by the following formula. A L i = A T C · C T B · B T A · A L i (i = 1, , N)
[0057] On the other hand, when the relative position correction information has an error, the target position on the local coordinate system corresponding to the starting node and the coordinates of the target after the above-mentioned transformation are not aligned, and the coordinates are shifted according to the error. That is, the larger the error, the larger the deviation. Therefore, the amount of deviation of the coordinates can be used as an index of the reliability of the relative position correction information on the closed path, that is, the congruent transformation matrix. At this stage, since it is difficult to determine which edge on the closed path has a low or high reliability, a reliability is set for the closed path, for example, the reliability of the closed path is set commonly for each side.
[0058] The fact that the target position in the local coordinate system corresponding to the starting node does not match the coordinates of the target after transformation via the nodes in the closed path can be expressed by the following equation (6). A L i ≠ A T C · C T B · B T A · A L i (i=1, ,N) (6)
[0059] Moreover, the amount of deviation in the case of the above-mentioned mismatch can be expressed as the residual error E of the coordinates by the following equation (7).
number
[0060] Next, the second reliability calculation unit 18B calculates a second reliability indicated by the reliability of the relative position correction information corresponding to each edge, using the first reliability calculated by the first reliability calculation unit 18A.
[0061] First, the congruence transformation matrices corresponding to the edges (AB, BC, CA) on the above-mentioned closed path (ABCA) are synthesized, and the position information of the target is transformed by the synthesized congruence transformation matrix to calculate the coordinates after the coordinate transformation by the closed path. Here, it is difficult to determine which edge on the closed path has low or high reliability with only one closed path. On the other hand, the reliability of the edges included in the closed path affects the residual E of the closed path. For example, when the residual E of the coordinates is calculated for each closed path included in the graph represented by multiple nodes and edges shown in FIG. 6, the residual E of the closed path including the edge becomes larger as the reliability of the edge becomes lower. Therefore, it is possible to obtain a value corresponding to the reliability of each edge by calculating the statistics of the reliability of the set of closed paths including the edge (for example, the average value, the median value, etc.). Note that the target coordinates used to calculate the residual E may be any coordinate value, but it is necessary that they are common to each closed path. For example, [1,0,0], [0,1,0], and [0,0,1] corresponding to the orthonormal basis can be used.
[0062] Next, the second reliability will be described as an example in which an error is included only in the calculation using the congruent transformation matrix corresponding to edge AB, i.e., in the relative position correction information. Note that no error is included for other edges. In addition, the residual E is included (E=err>0) in a closed path including edge (AB), and the residual E is set to 0 in a closed path not including edge AB. Furthermore, in the transition, edge (AB) will be referred to as edge AB, and the closed path (ABCA) will be referred to as closed path ABCA.
[0063] Specifically, the residual E of the cycles ABCA, ABDA, ABEA, and ABFA is err(>0), while the residual E of the other cycles is 0. The other cycles are ACDA, ACEA, ACFA, ADEA, ADFA, AEFA, BCDB, BCEB, BCFB, BDEB, BDFB, B.E.F.B., CDEC, CDFC, C.E.F.C., DEFD It is.
[0064] As a result, the set of residuals E for each edge {} becomes the following values: AB:{err,err,err,err} AC:{err,0,0,0} AD:{err,0,0,0} AE:{err,0,0,0} AF:{err,0,0,0} BC:{0,0,0,0} BD:{0,0,0,0} BE:{0,0,0,0} BF:{0,0,0,0} CD:{0,0,0,0} CE:{0,0,0,0} CF:{0,0,0,0} DE:{0,0,0,0} DF:{0,0,0,0} EF:{0,0,0,0}
[0065] When the median of the residuals E of each edge is calculated, the residual E of edge AB is err (E(AB)=err), and the residuals E of the other edges are "0". Therefore, the residual E of edge AB, which includes an error, becomes relatively large. On the other hand, the coordinate transformation by the congruent transformation matrix corresponding to each edge, that is, each piece of relative position correction information, is considered to include an error, but by calculating a statistic that is a collection of the residuals E, it is possible to obtain the statistic as an index of relative reliability, that is, the second reliability.
[0066] The above-mentioned reliability calculation unit 18 is an example of a first reliability calculation unit and a second reliability calculation unit of the present disclosure, the first reliability calculation unit 18A is an example of a first reliability calculation unit of the present disclosure, and the second reliability calculation unit 18B is an example of a second reliability calculation unit.
[0067] Next, the integration unit 22 (FIG. 1) will be described. The integration unit 22 is a functional unit that selects relative position correction information for each edge determined by a path connecting nodes from relative position correction information that corrects the relative position and attitude of the camera 42, which is an information collection device between points, based on the second reliability calculated by the second reliability calculation unit 18B. The integration unit 22 is an example of a selection unit in the present disclosure.
[0068] Specifically, the integration unit 22 sets a value for each edge weight that decreases as the second reliability of each edge increases, and derives, for example, a route with high reliability, i.e., a route with a minimum total weight of routes weighted by the second reliability. For example, a coordinate transformation matrix corresponding to a route with a minimum sum of edge weights on the route between nodes is selected. The sum of edge weights on this route may be a weighted average value of transformation results corresponding to multiple routes. This makes it possible to derive a route corresponding to the optimal coordinate transformation between nodes.
[0069] Fig. 8 is a conceptual diagram showing an example of the result of selecting an optimal route for correction between a node at point Ap and a node at point Bp. Fig. 8 shows a case where edge AB has an error, and a route between edges AC and CB, which has a smaller error than edge AB, is selected. In this way, the integration unit 22 selects the route between edges AC and CB, avoiding edge AB whose residual error E is err.
[0070] Next, the operation of the relative position and orientation correction device 10A according to the first embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart showing an example of the process flow of a relative position and orientation estimation processing program according to the first embodiment.
[0071] First, in step S100, surrounding environment information transmitted from the vehicle 40 is acquired. That is, in step S100, the above-mentioned acquisition unit 12 acquires image information captured including at least targets stored in the memory 44 of the vehicle 40. That is, in step S100, image information of the periphery of the vehicle 40 including targets captured by the cameras 42 of the multiple vehicles 40 is acquired.
[0072] In step S102, relative position correction information is calculated using the surrounding environment information acquired in step S100. In this step S102, the above-mentioned relative position correction information calculation unit 14 calculates relative position correction information that corrects the relative position and attitude between each of the multiple points using the surrounding environment information acquired by the acquisition unit 12. That is, in step S102, targets commonly included in the surrounding environment information are associated with each one-to-one combination of the multiple points, and a coordinate transformation matrix that corrects the relative position and attitude is calculated.
[0073] In step S104, a graph is generated using the relative position correction information calculated in step S102. In this step S104, the above-mentioned graph generation unit 16 generates a graph that graphically represents the relationship between each point, using the relative position correction information calculated by the relative position correction information calculation unit 14. The generated graph is composed of nodes and edges connecting the nodes, based on the multiple pieces of surrounding environment information acquired by the acquisition unit 12 and the relative position correction information calculated by the relative position correction information calculation unit 14.
[0074] In step S106, the reliability of the relative position correction information is calculated using the graph generated in step S104. In this step S106, the reliability calculation unit 18 described above calculates the reliability of the relative position correction information corresponding to each edge using the graph generated by the graph generation unit 16. In step S106, the first reliability calculation unit 18A calculates the first reliability of the coordinate transformation on the closed path, and the second reliability calculation unit 18B calculates the second reliability of the edges including each closed path. Specifically, the first reliability calculation unit 18A extracts the closed path included in the graph, synthesizes a relative position correction matrix for coordinate transformation indicating the relative position correction information corresponding to the edge on each closed path, and calculates the residual between the coordinate of the start point of the closed path and the coordinate resulting from the coordinate transformation via the closed path. Next, the first reliability calculation unit 18A calculates the first reliability, which is the reliability of the coordinate transformation on the closed path, that is, the reliability of the correction by the relative position correction information of the closed path, from the calculated residual. The second reliability calculation unit 18B calculates statistics (average, median, etc.) that summarize the reliability corresponding to the edges included in each closed path, and calculates a second reliability, which is the reliability of the relative position correction information corresponding to each edge, from the calculated statistics.
[0075] In step S110, the reliability calculated in step S106 is used to integrate the relative position correction information, and a route connecting the nodes is selected. In this step S110, the integration unit 22 selects the relative position correction information for each edge determined by the route connecting the nodes, for the relative position correction information correcting the relative position and attitude of the camera 42, which is an information collection device between points, based on the second reliability calculated by the second reliability calculation unit 18B. Specifically, the weight of each edge is set to a value that decreases as the second reliability of each edge increases, and, for example, a route with a high reliability, that is, a route with a minimum sum of weights of routes weighted by the second reliability, is derived. This makes it possible to derive a route corresponding to the optimal coordinate transformation between nodes.
[0076] In this way, the relative position and attitude overall optimization unit 26 estimates the relative positions and attitudes between, for example, five vehicles 40A to 40E, so that the relative orientation from the vehicle to the other vehicles estimated for each vehicle and the information associated with the other vehicles in each captured image are consistent without any contradictions. The fact that the relative orientation from the vehicle to the other vehicles estimated for each vehicle and the information associated with the other vehicles in each captured image are consistent without any contradictions means that each of the five vehicles 40A to 40E is in a geometrical relative position and attitude angle correspondence relationship that exists at the estimated orientation and attitude angle based on the relationship between the vehicle and each of the other vehicles captured in each image. This is also clear from the above formula (1).
[0077] According to this embodiment, it is possible to derive relative position correction information for correcting the relative position and attitude between the coordinate systems at multiple points from a captured image including a target captured by the vehicle 40 at multiple points. That is, even if an erroneous relative position correction result is included due to an erroneous correspondence or the like, it is possible to obtain the reliability of appropriate relative position correction information. That is, by linking the results of coordinate transformation using multiple relative position correction information on a closed path, it is possible to evaluate the coordinate transformation function of the closed path with the residual E, which is the error of the closed path. In addition, by integrating transformation matrices in multiple closed paths to calculate statistics, it is possible to calculate the reliability of each piece of relative position correction information. Based on this reliability, it is possible to select relative position correction information for coordinate transformation between points.
[0078] Although the above describes the two-dimensional position and orientation of the coordinate system, it can be easily expanded to three dimensions.
[0079] (Application example) Next, an application example in which the above-mentioned relative position and attitude correction device 10A is applied to the case of generating a map of the surrounding environment will be described. In this application example, a surrounding map is generated using surrounding environment information (image information) captured along the travel route of a moving vehicle 40, and multiple surrounding maps generated for each travel route are integrated.
[0080] FIG. 10 is an image diagram showing an example of a case where a plurality of maps of the surrounding environment generated from image information of a plurality of (here, two) travel routes are integrated. FIG. 10 shows movement paths 64A, 64B of the vehicle 40 and a target 68 when the vehicle 40 moves through a surrounding environment 60 along different movement paths.
[0081] The map 62 is generated from a plurality of pieces of image information of the surrounding environment 60, including a target 68, photographed by the camera 42A at each point 66A while the vehicle 40A is moving through the surrounding environment 60 on a moving path 64A. The map 62 is generated in a local coordinate system by the camera 42A of the vehicle 40A. The map 64 is generated from a plurality of pieces of image information of the surrounding environment 60, including a target 68, photographed by the camera 42B at each point 66B while the vehicle 40B is moving through the surrounding environment 60 on a moving path 64B. The map 64 is generated in a local coordinate system by the camera 42B of the vehicle 40B. In FIG. 10, the maps 62 and 64 are drawn in accordance with the world coordinate system so that the positions of the targets and the orientation (posture) of the coordinate system are different.
[0082] Similar to the above-mentioned technique, these generated maps 62, 64 are integrated using landmarks commonly included in the maps (integrated map 70). That is, relative position correction information that corrects the relative position and attitude between the local coordinate system based on the camera 42A of the vehicle 40A and the local coordinate system based on the camera 42B of the vehicle 40B is derived. In this way, even if the maps are generated from image information obtained from the vehicles 40 moving along different travel routes, it is possible to derive relative position correction information that corrects the relative position and attitude by integrating the maps using landmarks commonly included in the maps.
[0083] Specifically, when a moving vehicle 40 acquires surrounding environment information and generates a map, the relative accuracy between targets in each map generated during the movement may be high, but the error in absolute position may be large. For this reason, the relative positions between the maps are corrected using position information of targets commonly included in the maps. In this case, the technology disclosed above is applied when integrating the position information of targets over the entire moving route. This makes it possible to correct the relative position shift based on the shift in absolute position.
[0084] Therefore, in an application example, information summarizing the travel path of a vehicle 40 equipped with a camera 42 functioning as a surrounding environment information collection device and the collected image information, which is the surrounding environment information, can be collected at different times or by different surrounding environment information collection devices, and the relative position and attitude can be corrected.
[0085] [Second embodiment] Next, a second embodiment will be described. The second embodiment has a configuration in which an invalidation determination unit that determines whether or not to invalidate a part of the relative position correction information corresponding to the edges selected and integrated by the integration unit 22 is added to the configuration of the first embodiment.
[0086] FIG. 11 is a block diagram showing an example of the configuration of a relative position and orientation correction device 10B according to the second embodiment. 11, the relative position and orientation correction device 10B includes an invalidation determination unit 20 between the reliability calculation unit 18 and the integration unit 22 in the first embodiment. The configuration other than the invalidation determination unit 20 is similar to that of the first embodiment, so similar parts are denoted by the same reference numerals and detailed description will be omitted. The invalidation determination unit 20 is an example of the invalidation unit of the present disclosure.
[0087] The invalidation determination unit 20 is a functional unit that determines whether or not to invalidate the calculated relative position correction information based on the reliability (second reliability) of the relative position correction information calculated by the reliability calculation unit 18. Specifically, it determines whether or not the relative position correction information with low reliability, i.e., the above-mentioned second reliability, is less than a predetermined threshold, and if the second reliability is equal to or greater than the threshold, it determines that the relative position correction information is valid for post-processing, i.e., for handling by the integration unit 22. On the other hand, if it is less than the threshold, it determines that the relative position correction information is invalid so as to prohibit handling by the integration unit 22. For example, based on the value of the above-mentioned statistics, it determines that the relative position correction information with low reliability less than the threshold is invalid and is excluded from the calculation of the above-mentioned average value. Therefore, the relative position correction information with a reliability less than the threshold is excluded from the information handled by the integration unit 22, and it is possible to improve the processing accuracy in the integration unit 22.
[0088] Next, the operation of the relative position and orientation correction device 10B will be described with reference to Fig. 12. Fig. 12 is a flowchart showing an example of a process flow in which the process of step S108 is added to the process of the relative position and orientation estimation processing program according to the first embodiment.
[0089] In step S108, it is determined whether or not to invalidate the relative position correction information corresponding to the edge based on the reliability (second reliability) of the relative position correction information. That is, in step S108, the invalidation determination unit 20 performs a process of determining whether or not the reliability (second reliability) of the relative position correction information calculated by the reliability calculation unit 18 is low. That is, in step S108, if the second reliability is equal to or greater than a threshold, it is determined to be valid, and if it is less than the threshold, it is determined to be invalid.
[0090] According to the present embodiment, it is possible to determine whether the calculated relative position correction information is valid or invalid depending on the reliability of the information, and therefore it is possible to eliminate information that is not suitable for correction from image information captured including a target, thereby improving the accuracy of correction of the relative position and orientation of the coordinate system.
[0091] In this embodiment, in addition to eliminating information about targets with low relative position correction information, a configuration may be adopted in which the recognition process is calibrated using the relative position correction information for feature recognition functions with large errors.
[0092] [Third embodiment] Next, a third embodiment will be described below. The third embodiment has a configuration in which an invalidation determination unit that determines whether or not to invalidate the above-mentioned node is added to the configuration of the first embodiment.
[0093] FIG. 13 is a block diagram showing an example of the configuration of a relative position and orientation correction device 10C according to the third embodiment. 13, the relative position and orientation correction device 10C includes an external environment information invalidity determination unit 21 between the reliability calculation unit 18 and the integration unit 22 in the first embodiment. The configuration other than the external environment information invalidity determination unit 21 is similar to the configuration in the first embodiment, so similar parts are denoted by the same reference numerals and detailed description will be omitted. Note that the external environment information invalidity determination unit 21 is an example of the invalidation unit in the present disclosure.
[0094] The external world information invalidity determination unit 21 is a functional unit that determines whether or not to invalidate a node to which the calculated relative position correction information is connected, based on the reliability (second reliability) of the relative position correction information calculated by the reliability calculation unit 18. Specifically, the reliability (second reliability) of the relative position correction information is evaluated on a node-by-node basis. The evaluation on a node-by-node basis means that attention is paid to a node to which one or more edges are connected, and the reliability (second reliability) of the relative position correction information is evaluated for the edge connected to the node. For example, when the calculated value of the sum and average value of the relative position correction information of the edges connected to the node is less than a predetermined threshold, the node is determined to be low in reliability. That is, it is determined whether or not the calculated value of the second reliability described above for the edge to the node is less than a predetermined threshold, and when the calculated value of the second reliability is equal to or greater than the threshold, a determination is made to enable the node so as to be treated in post-processing, i.e., by the integration unit 22. On the other hand, when the calculated value is less than the threshold, a determination is made to disable the node so as to prohibit it from being treated by the integration unit 22. Therefore, nodes with calculation values less than the threshold value are excluded from the information handled by the integrating unit 22, making it possible to improve the processing accuracy in the integrating unit 22.
[0095] Next, the operation of the relative position and orientation correction device 10C will be described with reference to Fig. 14. Note that Fig. 14 shows the process of step S109 added to the process of the relative position and orientation estimation processing program according to the first embodiment.
[0096] In step S109, it is determined whether or not to invalidate a node for an edge based on the reliability (second reliability) of the relative position correction information. That is, in step S109, the external world information invalidity determination unit 21 performs a process of determining whether or not the above-mentioned calculated value of the reliability (second reliability) of the relative position correction information calculated by the reliability calculation unit 18 is low. That is, in step S109, a node whose calculated value of the second reliability for an edge connected in the graph is equal to or greater than a threshold is determined to be valid, and a node whose calculated value is less than the threshold is determined to be invalid.
[0097] According to this embodiment, it is possible to determine whether a node connected as an edge is valid or invalid depending on the reliability of the relative position correction information for the edge. Therefore, it is possible to eliminate information that is not suitable for correction from image information captured including a target, and it is possible to improve the correction accuracy of the relative position and orientation of the coordinate system.
[0098] [Other embodiments] The above describes an embodiment of a relative position and orientation correction device. The embodiment may be in the form of a program for causing a computer to function as each unit of the relative position and orientation correction device. The embodiment may be in the form of a computer-readable storage medium that stores the program.
[0099] Furthermore, the configuration of the relative position and orientation correction device described in the above embodiment is merely an example, and may be modified according to circumstances without departing from the spirit of the invention.
[0100] Furthermore, the processing flow of the program described in the above embodiment is also one example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the invention.
[0101] In the above embodiment, the processing according to the embodiment is realized by a software configuration using a computer by executing a program, but the present invention is not limited to this. The embodiment may be realized by, for example, a hardware configuration or a combination of a hardware configuration and a software configuration.
[0102] Furthermore, the processes in the above-described embodiment may be stored as a program on a storage medium such as an optical disk and distributed.
[0103] In the above embodiment, the CPU refers to a processor in a broad sense, including general-purpose processors and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).
[0104] In this case, the operations of the processor may be performed not only by one processor, but also by multiple processors located at physically separate locations working together. Furthermore, the order of the operations of the processor is not limited to the order described in each of the above embodiments, and may be changed as appropriate.
[0105] All publications, patent applications, and standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or standard was specifically and individually indicated to be incorporated by reference.
[0106] (Implementation) The technology of the present disclosure may be embodied in the dependent relationships shown in the following appendices.
[0107] [Appendix 1] an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in the surrounding environment collected by an information collection device at each of the plurality of points; a generation unit that generates a graph based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, in which each of a plurality of pieces of device information, each including a position and an attitude of the information collection device when collected by the information collection device, is a node, and for each set of surrounding environment information in which a target is commonly included among the plurality of pieces of surrounding environment information, the graph is obtained by matching the targets commonly included in each set of surrounding environment information of the plurality of pieces of surrounding environment information, and in which each of the sets of relative position correction information that corrects the relative position and attitude of the information collection device between points where each set of surrounding environment information was collected is an edge connecting between the nodes; a first reliability calculation unit that calculates a first reliability of correction by the relative position correction information of a closed path by synthesizing relative position correction information corresponding to each of the edges included in the closed path, the relative position correction information being extracted from the graph generated by the generation unit, for a closed path having three or more edges; a second reliability calculation unit that calculates a second reliability of correction using relative position correction information corresponding to each of the sides connecting the nodes based on the first reliability calculated by the first reliability calculation unit; a selection unit that selects, from relative position correction information that corrects the relative position and attitude of the information collection device between the points based on the second reliability calculated by the second reliability calculation unit, relative position correction information for each side determined by a route connecting the nodes; A relative position and attitude correction device comprising:
[0108] [Appendix 2] the first reliability calculation unit sets, as the closed path, a route from a node indicating a start point among the multiple points via other nodes to the node indicating the start point as a node indicating an end point, as a closed path for coordinate transformation that converts coordinate systems between the points, and calculates reliability of the coordinate transformation closed path so that the reliability increases as an error in a relative position and a relative orientation between the coordinate system of the point indicated by the start point node and the coordinate system resulting from the coordinate transformation according to the closed path for coordinate transformation decreases; The second reliability calculation unit calculates the second reliability based on the first reliability calculated by the first reliability calculation unit so that the second reliability increases as the reliability of the closed path for coordinate transformation increases. 2. A relative position and attitude correction device according to claim 1.
[0109] [Appendix 3] The selection unit selects relative position correction information based on a route in which a sum of weights set to be smaller as the second reliability is higher for the relative position correction information corresponding to each of the sides is equal to or smaller than a predetermined threshold. 3. The relative position and attitude correction device according to claim 1 or 2.
[0110] [Appendix 4] The information collecting device includes an image capturing device that captures an image of the surroundings of the vehicle, The surrounding environment information is a photographed image taken by the photographing device. 4. A relative position and attitude correction device according to claim 1,
[0111] [Appendix 5] The information collecting device at each of the plurality of points is the same information collecting device before and after the time has elapsed. 5. A relative position and attitude correction device according to claim 1,
[0112] [Appendix 6] an invalidation unit that invalidates at least one of relative position correction information of a side corresponding to a second reliability having a value less than a predetermined threshold and a node connected to the side, based on the second reliability calculated by the second reliability calculation unit; 4. The relative position and attitude correction device according to claim 1, further comprising:
[0113] [Appendix 7] Computer, an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in the surrounding environment collected by an information collection device at each of the plurality of points; a generation unit that generates a graph in which each of a plurality of pieces of device information, each including a position and an attitude of the information collection device when collected by the information collection device, is a node based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, and in which, for each set of surrounding environment information in which a target is commonly included among the plurality of pieces of surrounding environment information, the graph is obtained by associating the targets commonly included in each set of surrounding environment information, and the relative position correction information of each set that corrects the relative position and attitude of the information collection device between points where each set of surrounding environment information was collected is an edge connecting between the nodes; a first reliability calculation unit that calculates a first reliability of correction by the relative position correction information of a closed path by synthesizing relative position correction information corresponding to each of the edges included in the closed path, the first reliability calculation unit calculating a first reliability of correction by the relative position correction information of the closed path, for a closed path having three or more edges extracted from the graph generated by the generation unit; a second reliability calculation unit that calculates a second reliability of a correction using relative position correction information corresponding to each of the sides connecting the nodes based on the first reliability calculated by the first reliability calculation unit; and a selection unit that selects, from relative position correction information that corrects the relative position and attitude of the information collection device between the points based on the second reliability calculated by the second reliability calculation unit, relative position correction information for each side determined by a route connecting the nodes; A program to function as a [Explanation of symbols]
[0114] 10A, 10B, 10C Relative position and attitude correction device 12 Acquisition Department 14 Relative position correction information calculation section 16 Graph Generation Unit 18 Reliability calculation unit 20 Invalidation Judgment Section 22 External information invalidity determination unit 30 Computer main unit 33P Relative position and orientation estimation processing program 40 vehicles 42 Camera 44 Memory
Claims
1. an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in the surrounding environment collected by an information collection device at each of the plurality of points; a generation unit that generates a graph based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, in which each of a plurality of pieces of device information, each including a position and an attitude of the information collection device when collected by the information collection device, is a node, and for each set of surrounding environment information in which a target is commonly included among the plurality of pieces of surrounding environment information, the graph is obtained by matching the targets commonly included in each set of surrounding environment information of the plurality of pieces of surrounding environment information, and in which each of the sets of relative position correction information that corrects the relative position and attitude of the information collection device between points where each set of surrounding environment information was collected is an edge connecting between the nodes; a first reliability calculation unit that calculates a first reliability of correction by the relative position correction information of a closed path by synthesizing relative position correction information corresponding to each of the edges included in the closed path, the first reliability calculation unit calculating a first reliability of correction by the relative position correction information of the closed path, for a closed path having three or more edges extracted from the graph generated by the generation unit; a second reliability calculation unit that calculates a second reliability of correction using relative position correction information corresponding to each of the sides connecting the nodes based on the first reliability calculated by the first reliability calculation unit; a selection unit that selects, from relative position correction information that corrects the relative position and attitude of the information collection device between the points based on the second reliability calculated by the second reliability calculation unit, relative position correction information for each side determined by a route connecting the nodes; A relative position and attitude correction device comprising:
2. the first reliability calculation unit sets, as the closed path, a route from a node indicating a start point among the multiple points, via other nodes, to the node indicating the start point as a node indicating an end point, as a closed path for coordinate transformation that converts coordinate systems between the points, and calculates a reliability of the closed path for coordinate transformation so that the reliability increases as an error in a relative position and a relative orientation between the coordinate system of the point indicated by the node of the start point and the coordinate system resulting from the coordinate transformation according to the closed path for coordinate transformation decreases; The second reliability calculation unit calculates the second reliability based on the first reliability calculated by the first reliability calculation unit so that the second reliability increases as the reliability of the closed path for coordinate transformation increases. The relative position and attitude correction device according to claim 1 .
3. The selection unit selects relative position correction information based on a route in which a sum of weights, which is set to be smaller as the second reliability is higher, for the relative position correction information corresponding to each of the sides is equal to or smaller than a predetermined threshold. The relative position and attitude correction device according to claim 1 .
4. The information collecting device includes an image capturing device that captures an image of the surroundings of the vehicle, The surrounding environment information is a photographed image taken by the photographing device. The relative position and attitude correction device according to claim 1 .
5. The information collecting device at each of the plurality of points is the same information collecting device before and after the time has elapsed. The relative position and attitude correction device according to claim 1 .
6. an invalidation unit that invalidates at least one of relative position correction information of a side corresponding to a second reliability having a value less than a predetermined threshold and a node connected to the side, based on the second reliability calculated by the second reliability calculation unit; The relative position and attitude correction device according to claim 1 , further comprising:
7. Computer, an acquisition unit that acquires a plurality of pieces of surrounding environment information including position information of targets present in the surrounding environment collected by an information collection device at each of the plurality of points; a generation unit that generates a graph in which each of a plurality of pieces of device information, each including a position and an attitude of the information collection device when collected by the information collection device, is a node based on the plurality of pieces of surrounding environment information acquired by the acquisition unit, and in which, for each set of surrounding environment information in which a target is commonly included among the plurality of pieces of surrounding environment information, the graph is obtained by associating the targets commonly included in each set of surrounding environment information, and the relative position correction information of each set that corrects the relative position and attitude of the information collection device between points where each set of surrounding environment information was collected is an edge connecting between the nodes; a first reliability calculation unit that calculates a first reliability of correction by the relative position correction information of a closed path by synthesizing relative position correction information corresponding to each of the edges included in the closed path, the first reliability calculation unit calculating a first reliability of correction by the relative position correction information of the closed path, for a closed path having three or more edges extracted from the graph generated by the generation unit; a second reliability calculation unit that calculates a second reliability of correction using relative position correction information corresponding to each of the sides connecting the nodes based on the first reliability calculated by the first reliability calculation unit; and a selection unit that selects, from relative position correction information that corrects the relative position and attitude of the information collection device between the points based on the second reliability calculated by the second reliability calculation unit, relative position correction information for each side determined by a route connecting the nodes; A program to function as a
Citation Information
Patent Citations
Multiple camera calibration device, method and program
JP2022154076A
