Positioning device, estimation method, and program
The positioning device and method enhance VSLAM accuracy by creating an environmental map and matching feature vectors to estimate the position and orientation of an imaging device, addressing errors in feature point matching and improving relative orientation calculation.
Patent Information
- Application Number
- JP2022532367
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-19
- Filing Date
- 2021-04-28
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2041-04-28
AI Technical Summary
Existing VSLAM systems suffer from errors in feature point matching and reduced accuracy in relative orientation calculation due to low similarity between target and frame images, leading to accumulated positional errors over time.
A positioning device and method that utilizes an environmental map created using image processing technology to estimate a three-dimensional shape, extracts similar images with matching feature vectors, and estimates the position and orientation of an imaging device by comparing feature points in input and captured images.
Improves the accuracy of feature point matching and relative orientation calculation by using similar images with high similarity scores, reducing errors and enhancing positional estimation accuracy.
Smart Images

Figure 0007556388000001 
Figure 0007556388000006 
Figure 0007556388000007
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a positioning device, an estimation method, and a program. [Background technology]
[0002] In recent years, services that assume autonomous robots are becoming more common. For a robot to move autonomously, it is necessary for the robot to recognize the surrounding environment and estimate its own position with high accuracy. Therefore, VSLAM (Visual Simultaneous Localization and Mapping) is being considered, which creates a map of the surrounding environment from images captured by the robot and simultaneously estimates its own position.
[0003] In a typical VSLAM, the same point is recognized as a feature point in multiple images captured by a camera mounted on a robot. Furthermore, the position of the camera is estimated from the difference in the feature point between the images, and the position of the camera is recognized as the robot's position from the estimation result. Since this type of VSLAM requires immediate processing, there is no time to perform detailed calculations, and an error occurs between the actual robot position and the position estimated by VSLAM, and this error accumulates as an accumulated error over time, becoming a larger error. Therefore, a mechanism that uses a pre-generated map is used as a mechanism to correct the camera position in a VSLAM that has accumulated error.
[0004] Patent Document 1 discloses a process for constructing a map using consecutive frame images. Specifically, Patent Document 1 discloses a process for matching feature points between two adjacent frame images and calculating the relative posture between the current frame image and the immediately preceding frame image. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-133658 A Summary of the Invention [Problem to be solved by the invention]
[0006] Patent Document 1 discloses matching between feature points included in the ROI (Region Of Interest) of a target image and feature points included in the ROI of a frame image used in constructing a map. Patent Document 1 also discloses calculating the relative orientation between the target image and the frame image used in constructing the map. However, when the similarity between the target image and the frame image is low, an error in matching feature points occurs, resulting in a problem of reduced accuracy in calculating the relative orientation.
[0007] An object of the present disclosure is to provide a positioning device, an estimation method, and a program that can reduce the rate of errors in matching feature points and improve the accuracy of calculating a relative attitude. [Means for solving the problem]
[0008] A positioning device according to a first aspect of the present disclosure includes an acquisition unit that acquires an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object included in a two-dimensional image and a plurality of captured images used to create the environmental map; an image search unit that extracts from the plurality of captured images similar images having a feature vector similar to a feature vector determined based on features included in an input image; and an estimation unit that estimates a position and orientation of an imaging device that captured the input image using a first feature point group of the input image and a third feature point group in the environmental map that corresponds to a second feature point group of the similar image matched with the first feature point group.
[0009] An estimation method according to a second aspect of the present disclosure acquires an environmental map of a target area created using an image processing technique that estimates the three-dimensional shape of an object contained in a two-dimensional image and a plurality of captured images used to create the environmental map, extracts from the plurality of captured images similar images having a feature vector similar to a feature vector determined based on features contained in an input image, and estimates a position and orientation of an imaging device that captured the input images using a first feature point group of the input image and a third feature point group in the environmental map that corresponds to a second feature point group of the similar image matched with the first feature point group.
[0010] A program according to a third aspect of the present disclosure causes a computer to acquire an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object contained in a two-dimensional image and a plurality of captured images used to create the environmental map, extract from the plurality of captured images similar images having a feature vector similar to a feature vector determined based on features contained in an input image, and estimate a position and orientation of an imaging device that captured the input images using a first feature point group of the input image and a third feature point group in the environmental map that corresponds to a second feature point group of the similar image matched with the first feature point group. Effect of the Invention
[0011] The present disclosure makes it possible to provide a positioning device, an estimation method, and a program that can reduce the rate of errors in matching feature points and improve the accuracy of calculating a relative attitude. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a configuration diagram of a positioning device according to a first embodiment. [Diagram 2] FIG. 11 is a configuration diagram of a map generating device according to a second embodiment. [Diagram 3] FIG. 11 is a diagram showing a flow of pre-processing executed in a map generating device according to a second embodiment. [Figure 4]FIG. 11 is a configuration diagram of a positioning device according to a second embodiment. [Diagram 5] FIG. 11 is a diagram showing a flow of online processing executed in the positioning device according to the second embodiment. [Figure 6] FIG. 11 is a diagram showing a flow of a correction process executed in the positioning device according to the second embodiment. [Figure 7] FIG. 11 is a configuration diagram of a positioning device according to a third embodiment. [Figure 8] 1A and 1B are configuration diagrams of positioning devices according to respective embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] (Embodiment 1) Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. A configuration example of a positioning device 10 according to the first embodiment will be described with reference to Fig. 1. The positioning device 10 may be a computer device that operates by a processor executing a program stored in a memory. The positioning device 10 may be a server device.
[0014] The positioning device 10 includes an acquisition unit 11, an image search unit 12, and an estimation unit 13. The acquisition unit 11, the image search unit 12, and the estimation unit 13 may be software or modules that are executed by a processor executing a program stored in a memory, or the acquisition unit 11, the image search unit 12, and the estimation unit 13 may be hardware such as a circuit or a chip.
[0015] The acquisition unit 11 acquires an environmental map of a target area created using an image processing technique for estimating a three-dimensional shape of an object included in a two-dimensional image, and a plurality of captured images used to create the environmental map. The image processing technique for estimating a three-dimensional shape of an object included in a two-dimensional image may be, for example, SfM (Structure from Motion). Acquiring an environmental map means acquiring data indicating the environmental map, and acquiring a captured image means acquiring data indicating the captured image. In the following description, a captured image is also referred to as a frame image or simply a frame. In SfM, all feature points appearing in a plurality of captured images already captured are calculated, and matching feature points are estimated from all the calculated feature points for a plurality of images preceding and succeeding in time. Furthermore, in SfM, a three-dimensional position of an imaging device that captured each captured image is estimated based on the difference in position on a two-dimensional plane in the captured images in which each feature point appears. The captured image is, for example, a two-dimensional image, and may be referred to as a frame. Information indicating the estimated three-dimensional position of the imaging device is referred to as an environmental map.
[0016] Furthermore, the environment map also shows the three-dimensional shapes of objects in the target area captured in the captured image. That is, by generating the environment map, feature points in three-dimensional space corresponding to feature points on a two-dimensional plane in the captured image are identified. The feature points in three-dimensional space may be rephrased as feature points in the environment map. The captured image includes a plurality of feature points. The plurality of feature points may be rephrased as a group of feature points.
[0017] The image search unit 12 extracts similar images having feature vectors similar to a feature vector determined based on feature amounts included in an input image from a plurality of captured images. The input image is an image captured by an imaging device that requires estimation of position and orientation. The feature amounts included in the input image and the captured image are information obtained by quantifying features in the image. For example, the feature amounts may be represented using ORB (Oriented FAST and Rotated BRIEF), HOG (Histogram of Oriented Gradient), SIFT (Scale-Invariant Feature Transform), or the like. The feature vector may be a histogram of feature amounts. The image search unit 12 may compare the feature vector of the input image with the feature vector of the captured image, and extract the captured image having the feature vector showing the highest similarity score as a similar image. A general method used for image search is used to calculate the similarity score, and therefore a detailed description thereof will be omitted. It is assumed that the higher the similarity score, the higher the similarity between the images.
[0018] The estimation unit 13 estimates the position and orientation of the imaging device that captured the input image. The estimation unit 13 estimates the position and orientation of the imaging device by using a feature point group of the input image and a feature point group in an environmental map that corresponds to the feature point group of a similar image matched with the feature point group of the input image.
[0019] As described above, the positioning device 10 extracts similar images similar to the input image from among multiple captured images used in SfM to create an environmental map. Furthermore, the positioning device 10 estimates the position and orientation of the imaging device that captured the input image using the input image and the similar images. Furthermore, the extraction of similar images is performed by comparing feature vectors determined based on feature amounts. This allows the positioning device 10 to use similar images that are highly similar to the input image when estimating the position and orientation of the imaging device that captured the input image. As a result, the matching accuracy of feature points between the input image and the similar images is improved, and the calculation accuracy of the relative orientation in the positioning device 10 can be improved.
[0020] (Embodiment 2) A configuration example of the map generating device 30 according to the second embodiment will be described with reference to FIG. 2. The map generating device 30 is a computer device operated by a processor executing a program stored in a memory. The map generating device 30 may be a server device. The map generating device 30 is a device that executes pre-processing. The pre-processing is a process of creating SfM-related information including an environmental map using SfM before performing real-time position estimation using VSLAM. The pre-processing may be referred to as offline processing because it is completed by processing of the map generating device 30 alone. In the following, an example in which the map generating device 30 executes the pre-processing will be described, but the pre-processing may be executed in the positioning device 20 described later. In other words, when the map generating device 30 is used integrally with the positioning device 20 described later, the offline processing may be executed in the positioning device 20.
[0021] The map generating device 30 includes an acquisition unit 31 and an SfM execution unit 32. The acquisition unit 31 and the SfM execution unit 32 may be software or a module that executes processing by a processor executing a program stored in a memory, or the acquisition unit 31 and the SfM execution unit 32 may be hardware such as a circuit or a chip.
[0022] The acquisition unit 31 acquires a plurality of captured images used in SfM. The captured images are images of objects existing within a target area. The target area may be, for example, an area in which a robot or an AGV (Automatic Guided Vehicle) or the like moves. The objects may be, for example, people, animals, plants, or structures such as buildings and walls.
[0023] The acquisition unit 31 may acquire captured images from a camera or the like that captures an image of the target area via a network (communication network) such as a wireless communication line or a wired communication line. Alternatively, the acquisition unit 31 may acquire captured images via a portable recording medium or the like. Alternatively, when a camera is mounted inside the map generation device 30, the acquisition unit 31 receives captured images captured by the camera inside the map generation device 30.
[0024] The SfM execution unit 32 executes SfM using a plurality of captured images. The SfM execution unit 32 executes SfM to create SfM-related information including an environmental map. The SfM execution unit 32 executes feature point matching and local and global bundle adjustment of a plurality of captured images in SfM to create a highly accurate environmental map.
[0025] The environmental map is a three-dimensional map that indicates the position and orientation of the imaging device that captured the target area and the three-dimensional shape of the target object in the target area. The environmental map may be called a depth map, a depth map, or the like. Furthermore, the SfM execution unit 32 executes SfM to create the environmental map, and thereby creates a BoW (Bag of Words) database, 2D-3D pair information, and feature point information (here, 2D represents two dimensions, and 3D represents three dimensions). The SfM-related information is information including the environmental map, the BoW database, the 2D-3D pair information, and the feature point information.
[0026] BoW may be rephrased as Bag of Features or Bag of Keypoints. The BoW database is a database that manages feature vectors used when calculating the similarity of images. For example, the map generating device 30 clusters a plurality of feature amounts included in an image and divides each of the feature amounts into clusters. Furthermore, the map generating device 30 may use a histogram of a representative feature amount among the feature amounts included in each cluster as a feature vector. The feature amount may be, for example, a HOG feature amount or a SIFT feature amount. The BoW database manages a plurality of captured images used when performing SfM in association with feature vectors related to each captured image.
[0027] The feature point information may be, for example, information on a feature amount indicated by a feature point in a two-dimensional image. For example, the feature point information may be information indicating an HOG feature amount or a SIFT feature amount.
[0028] The 2D-3D pair information is information that associates (links) a feature point in a two-dimensional image with a feature point in an environmental map that corresponds to the feature point in the two-dimensional image. The feature point in the two-dimensional image is referred to as, for example, a 2D point. Also, the feature point in the environmental map in three-dimensional space is referred to as, for example, a 3D point. The 2D-3D pair information is information that indicates a combination in which a 2D point is associated (linked) with a 3D point that corresponds to the 2D point.
[0029] The SfM-related information further includes a plurality of captured images used in creating the environmental map. That is, the SfM-related information includes the environmental map, the BoW database, the 2D-3D pair information, the feature point information, and a plurality of captured images used in creating the environmental map. The map generating device 30 transmits the SfM-related information to the positioning device 20.
[0030] Next, the flow of pre-processing executed in the map generating device 30 will be described with reference to Fig. 3. First, the acquisition unit 31 acquires a plurality of captured images to be used in SfM (S11). Next, the SfM execution unit 32 executes SfM using the captured images acquired in step S11 (S12). Here, the SfM execution unit 32 executes SfM to create SfM-related information including an environmental map (S13).
[0031] Next, a configuration example of the positioning device 20 according to the second embodiment will be described with reference to Fig. 4. The positioning device 20 measures the real-time position and posture of a moving robot, AGV, or the like. The positioning device 20 acquires images captured by the moving robot, AGV, or the like via a network, and performs analysis processing of the acquired images. Therefore, the processing executed by the positioning device 20 may be referred to as online processing. An image captured by a moving robot, AGV, or the like has the same meaning as an image captured by a camera mounted or built into the moving robot, AGV, or the like.
[0032] The positioning device 20 has an SfM-related information acquisition unit 21, an image search unit 22, a matching unit 23, an estimation unit 24, an image acquisition unit 25, a real-time positioning unit 26, and a correction unit 27. The components of the positioning device 20, such as the SfM-related information acquisition unit 21, the image search unit 22, the matching unit 23, the estimation unit 24, the image acquisition unit 25, the real-time positioning unit 26, and the correction unit 27, may be hardware such as a circuit or a chip. Alternatively, the components of the positioning device 20 may be software or a module in which processing is performed by a processor executing a program stored in a memory.
[0033] The SfM related information acquisition unit 21 corresponds to the acquisition unit 11 in Fig. 1. The image search unit 22 corresponds to the image search unit 12 in Fig. 2. The estimation unit 24 corresponds to the estimation unit 13 in Fig. 1.
[0034] The image acquisition unit 25 acquires a captured image captured by the AGV. In the following, an example in which a captured image captured by the AGV is used will be mainly described. However, in the following description, the captured image captured by the AGV may be replaced with a captured image captured by a robot or other autonomously moving object or a computer device. The captured image captured by the moving AGV is an image used to estimate the position and posture of the moving AGV. The captured image captured by the moving AGV may be referred to as, for example, a real-time image. The real-time image corresponds to the input image described in FIG. 1.
[0035] The image acquiring unit 25 may acquire real-time images from the AGV via a network. The image acquiring unit 25 may acquire real-time images periodically or irregularly. For example, the image acquiring unit 25 may shorten the interval for acquiring real-time images when the moving speed of the AGV is fast, and may lengthen the interval for acquiring real-time images when the moving speed of the AGV is slow. Whether the moving speed is fast or slow may be determined depending on whether it is faster or slower than a threshold speed. The moving speed of the AGV may be calculated based on, for example, GPS (Global Positioning System) information (GNSS (Global Navigation Satellite System) information) of the AGV. In addition, the AGV may determine an interval for transmitting real-time images to the positioning device 20 depending on the moving speed of the device itself. The image acquiring unit 25 outputs the real-time images to the image searching unit 22.
[0036] The SfM-related information acquisition unit 21 receives SfM-related information transmitted from the map generating device 30. The SfM-related information acquisition unit 21 may receive the SfM-related information from the map generating device 30 via a network, or may acquire the SfM-related information from a portable recording medium or the like. Alternatively, when the SfM-related information is created in the positioning device 20, the SfM-related information acquisition unit 21 may acquire the SfM-related information created in the positioning device 20. The SfM-related information acquisition unit 21 outputs the SfM-related information to the image search unit 22.
[0037] The image search unit 22 searches for an image similar to the real-time image received from the image acquisition unit 25 from among the multiple captured images included in the SfM-related information. For example, the image search unit 22 searches for an image similar to the real-time image by using a feature vector of each captured image managed in the BoW database. Specifically, the image search unit 22 calculates the feature vector of the real-time image. Furthermore, the image search unit 22 compares the feature vector of the real-time image with the feature vector of each captured image managed in the BoW database. The image search unit 22 compares the feature vector of the real-time image with the feature vectors of each captured image managed in the BoW database, and calculates a similarity score indicating the similarity between the images.
[0038] The image search unit 22 extracts N (N is an integer equal to or greater than 1) captured images from the SfM-related information as images similar to the real-time image in order of the similarity score obtained as a result of comparing the feature vector of the real-time image with the feature vector of each image. The number of images to be extracted may be determined in advance. Alternatively, the image search unit 22 may set a threshold value for the similarity score in advance, and may not extract captured images with similarity scores below the threshold value even if the captured images are in the Nth place in terms of similarity scores.
[0039] The matching unit 23 performs feature point matching using the real-time image and each of the N similar images. For example, the matching unit 23 may match 2D points in the real-time image with 2D points in the similar image based on feature point information. Here, the matching unit 23 identifies 3D points associated with the matched 2D points in the similar image using 2D-3D pair information included in the SfM related information. The matching unit 23 creates pairs (hereinafter referred to as 2D-3D pairs for position correction) of 2D points in the real-time image and 3D points associated with the 2D points in the similar image matched with the 2D points in the real-time image. The matching unit 23 performs feature point matching for each of the N similar images to create a plurality of 2D-3D pairs for position correction.
[0040] Here, when the total number of matches when the real-time image and the N similar images are matched is less than a threshold, the image search unit 22 may increase the value of N, which is the number of captured images to be extracted. Furthermore, the image search unit 22 may lower the threshold of the similarity score. Furthermore, when the total number of matches is equal to or greater than the threshold, the image search unit 22 may decrease the value of N, which is the number of captured images to be extracted. Furthermore, the image search unit 22 may increase the threshold of the similarity score. A small total number of matches indicates that the similarity of the extracted similar images is low, so the value of N is increased to increase the number of matches and the number of similar images to be extracted is increased. Furthermore, a large total number of matches indicates that the similarity of the extracted similar images is high, so the value of N is decreased to decrease the number of erroneous matches and the number of similar images to be extracted is reduced. An erroneous match is a match between feature points that indicate different objects or positions.
[0041] The changed value N and the threshold value of the similarity score are used in the process of extracting similar images in the image search unit 22, which is executed when a new real-time image is acquired.
[0042] The estimation unit 24 estimates the position and orientation of the AGV using multiple 2D-3D pairs for position correction. For example, the estimation unit 24 estimates the position and orientation of the AGV by solving a PnP (Perspective n Point) problem using multiple 2D-3D pairs for position correction. Furthermore, the estimation unit 24 may improve the estimation accuracy of the position and orientation of the AGV by performing RANSAC (Random Sample Consensus) processing as a robust estimation.
[0043] The real-time positioning unit 26 measures or estimates the position and attitude of the AGV using the real-time image acquired by the image acquisition unit 25. The real-time positioning unit 26 may measure or estimate the position and attitude of the AGV by, for example, executing VSLAM using the real-time image.
[0044] The correction unit 27 corrects the position and attitude of the AGV estimated by the real-time positioning unit 26, using the position and attitude of the AGV estimated by the estimation unit 24. Specifically, the correction unit 27 corrects the error occurring between the position of the AGV estimated using VSLAM and the actual position of the AGV, using the position of the AGV estimated by the estimation unit 24.
[0045] Next, the flow of online processing executed in the positioning device 20 according to the second embodiment will be described with reference to Fig. 5. First, the image acquisition unit 25 acquires a real-time image captured by a camera mounted on the AGV via a network (S21). Next, the real-time positioning unit 26 executes VSLAM using the real-time image acquired in step S21 (S22). By executing VSLAM, the real-time positioning unit 26 estimates the position and attitude of the AGV that captured the real-time image.
[0046] Next, the correction unit 27 corrects the position and attitude of the AGV estimated in step S22 based on the position and attitude of the AGV estimated using an environmental map created in advance (S23).
[0047] Next, the correction process executed in step S23 in Fig. 5 will be described in detail with reference to Fig. 6. First, the image search unit 22 acquires SfM-related information from the SfM-related information acquisition unit 21 (S31). The SfM-related information includes an environmental map, a BoW database, 2D-3D pair information, feature point information, and a plurality of captured images used in creating the environmental map.
[0048] Next, the image search unit 22 acquires a real-time image captured by the AGV (S32). Next, the image search unit 22 extracts similar images similar to the real-time image from among the captured images included in the SfM related information (S33). For example, the image search unit 22 compares a feature vector related to the real-time image with a feature vector of the captured image managed in the BoW database, and extracts N captured images as similar images in descending order of similarity score.
[0049] Next, the matching unit 23 performs feature point matching using the feature point information of the real-time image and the similar image (S34). That is, the matching unit 23 performs the following process in S34. First, the matching unit 23 identifies 2D points in the similar image that match the 2D points in the real-time image by referring to the feature point information. Next, the matching unit 23 creates a 2D-3D pair for position correction by associating (linking) the 2D points in the real-time image with 3D points corresponding to the identified 2D points in the similar image.
[0050] Next, the estimation unit 24 estimates the position and posture of the AGV that captured the real-time image by using the 2D-3D pair for position correction (S35). Next, the correction unit 27 corrects the error occurring between the position estimated using VSLAM and the actual position of the robot, etc., by using the position of the AGV estimated by the estimation unit 24 (S36).
[0051] As described above, the positioning device 20 according to the second embodiment extracts N similar images similar to the real-time image. This allows the matching unit 23 to create many 2D-3D pairs for position correction compared to the case where the real-time image is matched with one similar image. The estimation unit 24 can improve the estimation accuracy of the position and attitude of the AGV by using many 2D-3D pairs for position correction.
[0052] When matching a real-time image with a similar image, false matching may occur in which similar feature points are matched together when in fact they are different. As the number of false matches increases, the accuracy of estimating the position and orientation of the AGV also decreases. In response to this, by matching a real-time image with multiple similar images, the number of matches can be increased and the rate of false matches can be reduced. As a result, the impact of false matching on the estimation of the position and orientation can be reduced.
[0053] (Embodiment 3) Next, a configuration example of a positioning device 40 according to the third embodiment will be described with reference to Fig. 7. The positioning device 40 has a configuration in which a noise removal unit 41 is added to the positioning device 20 in Fig. 4. In the following description, detailed description of the configuration of the positioning device 40 that is similar to that of the positioning device 20 in Fig. 4 will be omitted.
[0054] The noise removal unit 41 removes 2D-3D pairs for position correction that include 3D points estimated to be noise from among the multiple 2D-3D pairs for position correction created by the matching unit 23. Specifically, the noise removal unit 41 estimates 3D points that are noise using the position of the AGV estimated based on the (i-1)th (i is an integer equal to or greater than 2) real-time image and the 2D-3D pairs for position correction created based on the i-th real-time image.
[0055] The noise removal unit 41 performs statistical processing using distance information from the position of the AGV estimated based on the (i-1)th real-time image to a 3D point included in the 2D-3D pair for position correction generated based on the i-th real-time image. The noise removal unit 41 identifies 3D points that are considered to be noise in the statistical processing. For example, the statistical processing may use a threshold judgment using the mean and variance, a Smirnoff test, or the like.
[0056] More specifically, if the distance between the position of the AGV and the position of the 3D point in the XYZ space (i.e., a three-dimensional coordinate space consisting of the X-axis, the Y-axis, and the Z-axis) exceeds a threshold, the 3D point may be determined to include noise. Alternatively, the noise removal unit 41 may obtain the distance for each of the X component, the Y component, and the Z component between the position of the AGV and the 3D point in the XYZ space, and if any of the X component, the Y component, and the Z component exceeds a threshold, the 3D point may be determined to include noise. The distance for each of the X component, the Y component, and the Z component may be the difference between the X component, the Y component, and the Z component indicating the position of the AGV and the X component, the Y component, and the Z component indicating the position of the 3D point.
[0057] Alternatively, the noise removal unit 41 may project the position of the AGV and the 3D point in the XYZ space onto the XY plane, the YZ plane, and the XZ plane, and obtain the distance between the position of the AGV projected onto each plane and the 3D point. In this case, the noise removal unit 41 may determine that the 3D point contains noise if the distance on any of the XY plane, the YZ plane, and the XZ plane exceeds a threshold value.
[0058] The threshold in the XYZ space may be, for example, μ+α√(V), where μ is the average of distances D between the AGV position and 3D points included in all 2D-3D pairs for position correction created by the matching unit 23, and V is the variance of the distances D. α is a coefficient. √(V) indicates the root V. The thresholds for each of the X, Y, and Z components, and the thresholds on each plane may be determined in the same manner as the threshold in the XYZ space.
[0059] The noise removal unit 41 may calculate at least one of the distance in the XYZ space, the distance for each of the X component, the Y component, and the Z component, and the distance on each plane, and a threshold value, and determine the presence or absence of noise.
[0060] In addition, the distance D between the AGV and the 3D point included in the 2D-3D pair for position correction generated based on the i-th real-time image is i Using D i+1 It may be determined whether a 3D point defined by D corresponds to noise. i+1 and D i If the difference between the i+1 It may be determined that the 3D point defined by corresponds to noise.
[0061] The estimation unit 24 estimates the position and posture of the moving AGV using the remaining 2D-3D pairs for position correction from the multiple 2D-3D pairs for position correction created by the matching unit 23, after removing 2D-3D pairs for position correction that include 3D points estimated to be noise.
[0062] As described above, the positioning device 40 deletes the 2D-3D pairs for position correction including 3D points estimated as noise from the multiple 2D-3D pairs for position correction created in the matching unit 23. If the position of the AGV estimated in the real-time positioning unit 26 is corrected using the position of the AGV estimated using the 2D-3D pairs for position correction including the 3D points estimated as noise, the correction accuracy for correcting to the correct position will be reduced. On the other hand, the positioning device 40 deletes the 2D-3D pairs for position correction including the 3D points estimated as noise, and corrects the position of the AGV estimated in the real-time positioning unit 26 using the position of the AGV estimated using the remaining 2D-3D pairs for position correction. This makes it possible to improve the correction accuracy for correcting the position of the AGV estimated in the real-time positioning unit 26 to the correct position.
[0063] In addition to estimating the noise of the 3D point described above, the noise removal unit 41 may also determine whether the 3D point is noise or not, for example, depending on whether the reprojection error when the 3D point is reprojected onto the captured image exceeds a threshold value.
[0064] FIG. 8 is a block diagram showing a configuration example of the positioning device 10, the positioning device 20, and the positioning device 40 (hereinafter referred to as the positioning device 10, etc.). Referring to FIG. 8, the positioning device 10, etc. includes a network interface 1201, a processor 1202, and a memory 1203. The network interface 1201 is used to communicate with a network node (eg, eNB, MME, P-GW, etc.). The network interface 1201 may include, for example, a network interface card (NIC) conforming to the IEEE 802.3 series. Here, eNB stands for evolved Node B, MME stands for Mobility Management Entity, and P-GW stands for Packet Data Network Gateway. IEEE stands for Institute of Electrical and Electronics Engineers.
[0065] The processor 1202 reads out and executes software (computer programs) from the memory 1203 to perform the processing of the positioning device 10 and the like described using the flowcharts in the above-mentioned embodiments. The processor 1202 may be, for example, a microprocessor, an MPU, or a CPU. The processor 1202 may include multiple processors.
[0066] The memory 1203 is configured by a combination of volatile memory and non-volatile memory. The memory 1203 may include storage located away from the processor 1202. In this case, the processor 1202 may access the memory 1203 via an I / O (Input / Output) interface (not shown).
[0067] 8, the memory 1203 is used to store software modules. The processor 1202 reads out and executes these software modules from the memory 1203 to perform the processing of the positioning device 10 and the like described in the above embodiment.
[0068] As described with reference to FIG. 8, each of the processors of the positioning device 10 in the above-described embodiment executes one or more programs including a set of instructions for causing a computer to execute the algorithm described with reference to the drawings.
[0069] In the above example, the program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electric signals, optical signals, and electromagnetic waves. The transitory computer readable medium can provide the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
[0070] The present disclosure is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present disclosure.
[0071] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) an acquisition unit that acquires an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object included in a two-dimensional image, and a plurality of captured images used to create the environmental map; an image search unit that extracts, from the plurality of captured images, a similar image having a feature vector similar to a feature vector determined based on a feature amount included in an input image; and an estimation unit that estimates a position and orientation of an imaging device that captured the input image by using a first feature point group of the input image and a third feature point group in the environmental map that corresponds to a second feature point group of the similar image that is matched with the first feature point group. (Appendix 2) The image search unit includes: The positioning device of claim 1, further comprising: a feature vector determined based on the feature amount contained in the input image; a feature vector determined based on the feature amount contained in each of the captured images; and an image showing the highest similarity score is extracted from the environmental map as the similar image. (Appendix 3) The image search unit includes: 3. The positioning device according to claim 1, further comprising: a feature vector determined based on a feature amount included in the input image; and a feature vector determined based on a feature amount included in each of the captured images, and a plurality of the captured images are extracted as the similar images in descending order of similarity score. (Appendix 4) The image search unit includes: The positioning device according to claim 3, wherein, when the number of matches when matching the first feature point group of the input image with the second feature point group of the multiple captured images extracted as the similar images is below a matching number threshold, the number of the similar images extracted from the multiple captured images is increased, and when the number of matches exceeds the matching number threshold, the number of the similar images extracted from the multiple captured images is decreased. (Appendix 5) The image search unit includes: 5. The positioning device according to claim 3, wherein a plurality of the captured images exhibiting a similarity score higher than a score threshold are extracted as the similar images. (Appendix 6) The image search unit includes: The positioning device of claim 5, wherein if the number of matches when matching the first feature point group of the input image with the second feature point groups of the multiple captured images extracted as the similar images falls below a matching number threshold, the score threshold is decreased, and if the number of matches exceeds the matching number threshold, the score threshold is increased. (Appendix 7) The positioning device according to any one of claims 1 to 6, further comprising a noise removal unit that removes noise points based on distance information from the position of the imaging device to each point included in the third feature point group. (Appendix 8) a real-time positioning unit that measures a position and an orientation of the imaging device using the input image; A positioning device according to any one of claims 1 to 7, further comprising: a correction unit that corrects the position and orientation of the imaging device measured by the real-time positioning unit, using the position and orientation of the imaging device estimated by the estimation unit. (Appendix 9) Acquiring an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object included in a two-dimensional image, and a plurality of captured images used to create the environmental map; extracting, from the plurality of captured images, similar images having a feature vector similar to a feature vector determined based on a feature amount included in the input image; an estimation method for estimating a position and orientation of an imaging device that captured the input image, using a first feature point group of the input image and a third feature point group in the environmental map that corresponds to a second feature point group of the similar image that is matched with the first feature point group. (Appendix 10) When extracting the similar images, The estimation method according to claim 9, further comprising: comparing a feature vector determined based on a feature amount included in the input image with a feature vector determined based on a feature amount included in each of the captured images; and extracting a plurality of the captured images as the similar images in descending order of similarity score. (Appendix 11) When estimating the position and orientation of the imaging device, The estimation method according to claim 9 or 10, further comprising removing noise points based on distance information from the position of the imaging device to each point included in the third feature point group. (Appendix 12) Acquiring an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object included in a two-dimensional image, and a plurality of captured images used to create the environmental map; extracting, from the plurality of captured images, similar images having a feature vector similar to a feature vector determined based on a feature amount included in the input image; A program that causes a computer to execute the following procedure: Estimating the position and orientation of an imaging device that captured the input image, using a first group of feature points of the input image and a third group of feature points in the environmental map that corresponds to a second group of feature points of the similar image that has been matched with the first group of feature points. (Appendix 13) When extracting the similar images, The program described in Appendix 12, which causes a computer to execute the following: comparing a feature vector determined based on features contained in the input image with a feature vector determined based on features contained in each of the captured images; and extracting the multiple captured images as the similar images in order of highest similarity score. (Appendix 14) When estimating the position and orientation of the imaging device, 14. The program according to claim 12, further comprising causing a computer to execute the steps of: removing noise points based on distance information from a position of the imaging device to each point included in the third feature point group.
[0072] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the invention.
[0073] This application claims priority based on Japanese Patent Application No. 2020-105747, filed on June 19, 2020, the disclosure of which is incorporated herein in its entirety. [Explanation of symbols]
[0074] 10 Positioning device 11 Acquisition Department 12 Image Search Section 13 Estimation part 20 Positioning device 21 SfM related information acquisition section 22 Image Search Section 23 Matching Section 24 Estimation part 25 Image acquisition unit 26 Real-time positioning unit 27 Correction section 30 Map Generator 31 Acquisition Department 32 SfM Executive Division 40 Positioning device 41 Noise removal section
Claims
1. an acquisition means for acquiring, from a device for generating the environmental map, an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object depicted in a plurality of captured images based on differences in positions of feature points included in each of the plurality of captured images, and information that associates feature points included in each of the plurality of captured images with feature points in the environmental map when creating the environmental map, and acquiring the plurality of captured images from an imaging device; an image search means for extracting similar images from the plurality of captured images based on a similarity score obtained by comparing a feature vector determined based on a feature amount included in an input image with a feature vector determined based on a feature amount included in the plurality of captured images; an estimation means for estimating a position and an orientation of an imaging device that captured the input image by solving a Perspective n Point (PnP) problem using a first feature point group of the input image and a third feature point group in the environmental map that is associated with a second feature point group of the similar image that is matched with the first feature point group; and a noise removal means for determining that a point included in the third feature point group is noise if the distance from the position of the imaging device to the point exceeds a threshold, and removing the noise point.
2. The image search means includes: The positioning device according to claim 1 , further comprising: a feature vector determined based on a feature amount contained in the input image and a feature vector determined based on a feature amount contained in each of the captured images; and an image showing the highest similarity score is extracted as the similar image.
3. The image search means includes: The positioning device according to claim 1 , further comprising: a feature vector determined based on features contained in the input image and a feature vector determined based on features contained in each of the captured images; and a plurality of the captured images are extracted as the similar images in order of highest similarity score.
4. The image search means includes:
4. The positioning device according to claim 3, wherein, when a number of matches when matching the first group of feature points of the input image with the second group of feature points of the multiple captured images extracted as the similar images falls below a matching number threshold, the number of similar images extracted from the multiple captured images is increased to be greater than the number of the multiple captured images extracted in order of highest similarity score, or, when the number of matches is equal to or greater than the matching number threshold, the number of similar images extracted from the multiple captured images is decreased to be less than the number of the multiple captured images extracted in order of highest similarity score.
5. an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object depicted in a plurality of captured images based on differences in positions of feature points contained in each of the plurality of captured images, and information that associates feature points contained in each of the plurality of captured images with feature points in the environmental map when creating the environmental map, are obtained from a device that generates the environmental map; and a plurality of the captured images are obtained from an imaging device; extracting similar images from the plurality of captured images based on a similarity score obtained by comparing a feature vector determined based on a feature amount included in an input image with a feature vector determined based on a feature amount included in the plurality of captured images; estimating a position and orientation of an imaging device that captured the input image by solving a Perspective n Point (PnP) problem using a first feature point group of the input image and a third feature point group in the environmental map that is associated with a second feature point group of the similar image that is matched with the first feature point group; an estimation method comprising: determining a point included in the third feature point group as noise if a distance from the position of the imaging device to the point exceeds a threshold; and removing the noise point.
6. an environmental map of a target area created using an image processing technique that estimates a three-dimensional shape of an object depicted in a plurality of captured images based on differences in positions of feature points contained in each of the plurality of captured images, and information that associates feature points contained in each of the plurality of captured images with feature points in the environmental map when creating the environmental map, are obtained from a device that generates the environmental map; and a plurality of the captured images are obtained from an imaging device; extracting similar images from the plurality of captured images based on a similarity score obtained by comparing a feature vector determined based on a feature amount included in an input image with a feature vector determined based on a feature amount included in the plurality of captured images; estimating a position and orientation of an imaging device that captured the input image by solving a Perspective n Point (PnP) problem using a first feature point group of the input image and a third feature point group in the environmental map that is associated with a second feature point group of the similar image that is matched with the first feature point group; A program that causes a computer to execute the following: if a distance from the position of the imaging device to a point included in the third feature point group exceeds a threshold, the point is determined to be noise, and the noise point is deleted.
Citation Information
Patent Citations
Object tracking based on dynamically constructed environment map data
JP2016536668A
Positioning method, positioning device and readable storage medium
JP2019133658A
Autonomous mobile device, autonomous mobile method, and program
JP2020021257A
