Information processing device, information processing method, and program
By mounting a shooting device and a ranging device on the mobile body, the correspondence information between images is used to establish point cloud data correspondence, which solves the problem of difficult point cloud data correspondence between different viewpoints and improves the accuracy of posture estimation and environmental maps.
Patent Information
- Application Number
- CN202380023654.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-24
- Filing Date
- 2023-02-10
- Publication Date
- 2024-10-15
AI Technical Summary
When the existing technology uses ranging devices such as lidar to construct an environment map and estimate one's own position, it is difficult to establish sufficient correspondence between point cloud data from different viewpoints, resulting in low accuracy in posture estimation and insufficient accuracy in the environment map.
By carrying a shooting device and a ranging device, two sets of point cloud data and images are acquired, and the correspondence between the point cloud data is established based on the correspondence information between the images, and homography transformation and feature point matching are used to improve the correspondence accuracy.
The accuracy of posture estimation and the construction accuracy of the environment map are improved, the number of corresponding points between point cloud data is increased, and the accumulation of posture estimation errors is reduced.
Smart Images

Figure CN118786361A_ABST
Abstract
Description
[0001] Cross-reference to related applications
[0002] This application claims the priority of Japanese Patent Application No. 2022-027269 filed on February 24, 2022, and all the disclosed contents of the prior application are incorporated into this application by reference. Technical Field
[0003] The present disclosure relates to an information processing device, an information processing method, and a program. Background Art
[0004] As a technology mounted on a mobile robot that moves around in an environment, a technology has been proposed that uses camera images to construct an environment map and estimates the robot's own position in the map (for example, see Patent Document 1).
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2020-117779 Summary of the invention
[0008] An information processing device according to one embodiment of the present disclosure includes an image acquisition unit, a point cloud data acquisition unit, and a control unit. The image acquisition unit acquires an image from a photographing device. The point cloud data acquisition unit acquires point cloud data representing a distance distribution from a distance measuring device. The control unit acquires information representing a correspondence relationship between each position of the first image and the second image based on a first image acquired from the image acquisition unit and a second image including the same subject as the first image. Based on the information representing the correspondence relationship, the control unit establishes a correspondence between two sets of point cloud data acquired from the point cloud data acquisition unit, namely, first point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the first image and second point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the second image.
[0009] An information processing method according to an embodiment of the present disclosure includes: acquiring a first image and a second image including the same subject as the first image; acquiring two sets of point cloud data representing distance distribution, namely, first point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the first image, and second point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the second image; acquiring information representing the correspondence between each position of the first image and the second image based on the first image and the second image; and establishing correspondence between the first point cloud data and the second point cloud data based on the information representing the correspondence.
[0010] A program of one embodiment of the present disclosure enables a computer to perform the following processing, including: acquiring a first image and a second image containing the same subject as the first image; acquiring two sets of point cloud data representing distance distribution, namely, first point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the first image, and second point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the second image; based on the first image and the second image, acquiring information representing the correspondence between each position of the first image and the second image; and establishing correspondence between the first point cloud data and the second point cloud data based on the information representing the correspondence. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 1 is a block diagram showing a basic structure of a posture estimation system including an information processing device according to one embodiment of the present disclosure.
[0012] Figure 2 Yes means Figure 1 A structural diagram of a more detailed example of a posture estimation system.
[0013] Figure 3 Yes means Figure 1 A block diagram of a schematic structure of an information processing device.
[0014] Figure 4 Yes means Figure 1 Flowchart of a process executed by an information processing device.
[0015] Figure 5 Yes means Figure 3 FIG. 1 is a diagram showing an example of an image acquired by an image acquisition unit.
[0016] Figure 6 Is based on Figure 3 A diagram showing an example of a range image of point cloud data acquired by a point cloud data acquisition unit.
[0017] Figure 7 This is a diagram showing an example of image synthesis by establishing a correspondence between a first image and a second image.
[0018] Figure 8 A diagram illustrating a method of establishing correspondence between a first image and a second image using homography transformation.
[0019] Fig. 9A FIG. 1 is a diagram showing an example of first point cloud data after expansion and distortion correction.
[0020] Fig. 9B FIG. 1 is a diagram showing an example of second point cloud data after expansion and distortion correction.
[0021] Fig. 10A is a diagram showing a first three-dimensional space point cloud created based on first point cloud data.
[0022] Fig. 10B is a diagram showing a second three-dimensional space point cloud created based on the second point cloud data.
[0023] Fig.11 This is a diagram showing an example of an environment map generated using the information processing device according to this embodiment.
[0024] Fig.12 It means that by using the existing method of feature points, Fig.11 An example of an environment map generated using the same image and point cloud data. DETAILED DESCRIPTION
[0025] The construction of the environment map and the estimation of the self-position are performed by performing posture estimation of the moving body while detecting the environment. Here, posture estimation refers to estimating the rotation amount and movement amount based on data from different viewpoints. In order to perform posture estimation, it is necessary to establish a correspondence between the data from each viewpoint. However, when using a distance measuring device such as a laser radar to construct an environment map and estimate the self-position, it is sometimes difficult to establish a correspondence between the point cloud data from different viewpoints that represents the distribution of distances from each measured position obtained from the distance measuring device. As a result, sometimes it is impossible to obtain sufficient posture estimation accuracy, and it is impossible to improve the accuracy of the environment map.
[0026] For example, the ICP (Interactive Closest Point) algorithm is known as a method for aligning the positions of two sets of three-dimensional point clouds. This method searches for the closest point in another set of point clouds for each point constituting one set of point clouds and uses it as the corresponding point. Furthermore, this method estimates a rigid body transformation that minimizes the distance between corresponding points for each point determined in this way and its corresponding point. The rigid body transformation is represented by rotation and translation. By estimating the rigid body transformation, posture estimation can be performed. However, in this method, the corresponding points cannot be determined correctly, so there are cases where posture estimation cannot be performed or the estimated error becomes large.
[0027] On the other hand, the following method is considered: two images corresponding to each point cloud from a camera are used to establish correspondence between each point of two sets of point cloud data from a distance measuring device, and the shooting range of the camera is the same as the measuring range of the distance measuring device. That is, it is possible to extract mutually corresponding feature points between the two images, and extract points in the two sets of point cloud data corresponding to each image that have the same position as the feature points on the image and set them as corresponding points. If the group of multiple corresponding points obtained in this way is transformed into a point cloud in a three-dimensional space, posture estimation can be performed. However, in this method, most of the points corresponding to the feature points on the image are not included in the point cloud data obtained from the distance measuring device. The feature points on the image are detected from the edges and corners of the image, but the distance measuring device does not measure distance toward the edges and corners. Therefore, the points that can be established to correspond using the point cloud data are limited. Therefore, sometimes it is impossible to obtain sufficient corresponding points, and the estimation accuracy of posture estimation becomes low.
[0028] The embodiments of the present disclosure make it easy to establish correspondence between point cloud data, thereby improving the posture estimation method as described above. The embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings used in the following description are schematic. The dimensions and ratios on the drawings may not necessarily be consistent with the actual ones.
[0029] (Basic structure of posture estimation system)
[0030] A posture estimation system 10 according to an embodiment of the present disclosure is mounted on a mobile object. Figure 1 As shown, the posture estimation system 10 includes a distance measuring device 11, a camera 12, and an information processing device 13. The relative position and orientation of the distance measuring device 11 and the camera 12 are fixed. In other embodiments, the information processing device 13 may not be mounted on the mobile body, but may be configured to communicate with the distance measuring device 11 and the camera 12 mounted on the mobile body.
[0031] The distance measuring device 11 is a scanning type distance measuring device such as a laser radar. The laser radar measures the distance to the subject by irradiating a laser to the measurement range and measuring the time until the reflected laser returns. The laser radar is also called LiDAR (Light Detection And Ranging). The distance measuring device 11 outputs point cloud data representing the distance distribution of the measurement range. The distance distribution is the distribution of the distance from the distance measuring device 11 to each measurement position. The point cloud data includes the distance information detected by the distance measuring device 11 scanning the entire measurement range. The point cloud data includes, for example, the distance data of one frame of the distance measuring device 11.
[0032] Each point of the point cloud data includes position information when the measurement object is viewed two-dimensionally and information on the distance from the distance measuring device 11 to the measurement position corresponding to the position information. The two-dimensional position information corresponds to the direction from the distance measuring device 11 to each measurement position in the real space.
[0033] The imaging device 12 has an imaging optical system and an imaging element, and acquires an image of an imaging range. The imaging range of the imaging device 12 and the measuring range of the distance measuring device 11 at least partially overlap.
[0034] The distance measuring device 11 and the photographing device 12 can be configured so that the coordinate systems for observing the object are substantially consistent or close. The distance measuring device 11 and the photographing device 12 can be configured so that the optical axis ax of the optical system 14 for detecting or photographing the object is consistent. In this case, the distance measuring device 11 and the photographing device 12 are fixed in a positional relationship in which the optical axes are consistent, so that within the same frame, the position of the pixel on the image and the position of each point of the point cloud data on the two-dimensional plane can be pre-established.
[0035] The distance measuring device 11 and the photographing device 12 can be configured so that the optical axes of the optical systems for measuring or photographing the subject are parallel and close to each other. In this case, there can be no optical system 14 for aligning the optical axes. In the distance measuring device 11 and the photographing device 12, there is no parallax or a small parallax between the point cloud data and the image detected. The point cloud data output by the distance measuring device 11 and the image output by the photographing device 12 can overlap in a manner that the positions correspond to each other in the same frame.
[0036] The distance measuring device 11 and the photographing device 12 can be fixed to the moving object in such a manner that the relative positions and orientations thereof are fixed. The moving object includes, for example, a car, a robot, a human, a cart, a wheelchair, household appliances such as a self-propelled vacuum cleaner, an unmanned aerial vehicle such as a drone, a toy having a moving function, and any moving object mounted on these objects.
[0037] The information processing device 13 is a computer. The information processing device 13 may be any of various computers including a general-purpose computer, a workstation, and a PC (Personal Computer). The information processing device 13 may be a dedicated computer that performs specific processing for environmental map construction and self-position estimation. The information processing device 13 can read dedicated programs and data to execute the various functions of the information processing device 13 described below.
[0038] (Specific example of posture estimation system)
[0039] Reference Figure 2A more specific example of the posture estimation system 10 is described. The posture estimation system 10 includes a detection device 21 having the functions of the distance measuring device 11 and the imaging device 12, and an information processing device 13. As structural components corresponding to the distance measuring device 11, the detection device 21 includes an irradiation unit 22, a reflection unit 23, a control unit 24, a first optical system 25, and a detection element 26. In addition, as structural components corresponding to the imaging device 12, the detection device 21 includes a control unit 24, a second optical system 27, and an imaging element 28. The detection device 21 also includes a switching unit 32.
[0040] (Structure of distance measuring device)
[0041] The irradiation unit 22 radiates electromagnetic waves of at least one of infrared rays, visible light, ultraviolet rays, and radio waves. In one embodiment, the irradiation unit 22 radiates infrared rays. The irradiation unit 22 irradiates the radiated electromagnetic waves toward the object ob as the subject directly or indirectly via the reflection unit 23. Figure 2 In the illustrated embodiment, the irradiation unit 22 irradiates the electromagnetic waves indirectly toward the object ob via the reflection unit 23. The object ob includes all objects located within the measurement range of the distance measuring device 11.
[0042] In one embodiment, the irradiation unit 22 radiates electromagnetic waves in a beam shape with a relatively narrow width, for example, 0.5°. In addition, in one embodiment, the irradiation unit 22 can radiate electromagnetic waves in a pulsed state. For example, the irradiation unit 22 includes an LED (Light Emitting Diode) and an LD (Laser Diode). The irradiation unit 22 switches the emission and stop of electromagnetic waves based on the control of the control unit 24 described later.
[0043] The reflecting unit 23 changes the irradiation position of the electromagnetic wave irradiated to the object ob by reflecting the electromagnetic wave irradiated from the irradiating unit 22 while changing the direction. The irradiation position is equal to the measurement position where the distance is measured by the distance measuring device 11. The reflecting unit 23 scans the measurement range including the object ob using the electromagnetic wave irradiated from the irradiating unit 22.
[0044] The reflecting unit 23 can scan the irradiation position of the electromagnetic wave in two-dimensional directions. The reflecting unit 23 can perform regular scanning of the irradiation position detected by the distance measuring device 11, and the irradiation position is scanned in the horizontal direction and moved in the vertical direction in sequence. The reflecting unit 23 can also scan the measurement range using any other method.
[0045] The reflecting unit 23 is configured so that at least a portion of the irradiation area of the electromagnetic wave radiated from the irradiating unit 22 and reflected is included in the detection range of the detecting element 26. Therefore, at least a portion of the electromagnetic wave irradiated to the object ob via the reflecting unit 23 can be detected by the detecting element 26.
[0046] The reflection unit 23 includes, for example, a MEMS (Micro Electro Mechanical Systems) reflection mirror, a polygon reflection mirror, a galvanometer mirror, or the like.
[0047] The reflecting unit 23 changes the direction of the reflected electromagnetic wave based on the control of the control unit 24 described later. In addition, the reflecting unit 23 may also have an angle sensor such as an encoder, and the angle detected by the angle sensor may be notified to the control unit 24 as the direction information of the reflected electromagnetic wave. In such a structure, the control unit 24 can calculate the irradiation position based on the direction information obtained from the reflecting unit 23. In addition, the control unit 24 calculates the irradiation position based on the drive signal input to make the reflecting unit 23 change the direction of the reflected electromagnetic wave.
[0048] When the control unit 24 calculates the irradiation position based on the direction information obtained from the reflection unit 23 or the driving signal input to the reflection unit 23, the reflection unit 23 can be configured so that the central axis of the direction of scanning electromagnetic waves is substantially parallel to and close to the optical axis of the imaging device 12.
[0049] The control unit 24 includes one or more processors and a memory. The processor may include at least one of a general-purpose processor that reads a specific program to perform a specific function and a dedicated processor dedicated to a specific process. The dedicated processor may include an IC (ASIC; Application Specific Integrated Circuit) for a specific purpose. The processor may include a programmable logic device (PLD; Programmable Logic Device). The PLD may include an FPGA (Field-Programmable Gate Array). The control unit 24 may also include at least one of an SoC (System-on-a-Chip) and a SiP (System In a Package) in which one or more processors collaborate.
[0050] The control unit 24 is configured to be able to control the reflecting unit 23 and the switching unit 32. The control unit 24 can control the switching unit 32 according to the irradiation position and irradiation time of the electromagnetic wave of the reflecting unit 23, so that the detection element 26 obtains the reflected electromagnetic wave. As described later, the control unit 24 can obtain detection information from the detection element 26 to calculate the distance. The control unit 24 can generate point cloud data based on each measurement position and the distance at the measurement position. In addition, the control unit 24 can obtain an image signal from the imaging element 28. The control unit 24 can output the point cloud data and the image signal to the information processing device 13.
[0051] The first optical system 25 allows the reflected wave from the object ob of the electromagnetic wave irradiated from the irradiation unit 22 and reflected by the reflection unit 23 toward the measurement range to travel, and detects it by the detection element 26. As described later, the optical axis of the first optical system 25 can be configured to coincide with the optical axis of the second optical system 27 on the object ob side.
[0052] The detection element 26 includes an element capable of detecting electromagnetic waves emitted from the irradiation unit 22. For example, the detection element 26 includes a single element such as an APD (Avalanche Photo Diode) and a PD (Photo Diode). The detection element 26 may also include an element array such as an APD array, a PD array, a ranging imaging array, and a ranging image sensor. In one embodiment, the detection element 26 sends detection information indicating that a reflected wave from the subject is detected as a signal to the control unit 24. The detection element 26 detects electromagnetic waves in the frequency band of infrared rays, for example.
[0053] In addition, in a structure in which the detection element 26 is a single element constituting the above-mentioned distance measuring sensor, as long as it can detect electromagnetic waves, the object ob does not need to be imaged on the detection surface. Therefore, the detection element 26 may not be set at an imaging position based on the first rear optical system 30 described later, that is, a secondary imaging position. That is, in this structure, as long as it is a position that can make electromagnetic waves from all viewing angles incident on the detection surface, the detection element 26 may also be arranged at any position on the path where the switching unit 32 causes the electromagnetic wave to travel along the first direction d1 and then travel through the first rear optical system 30.
[0054] The control unit 24 acquires the distance based on the electromagnetic waves detected by the detection element 26. The control unit 24 acquires the distance of the irradiation position irradiated by the irradiation unit 22 using the ToF (Time-of-Flight) method as described below based on the detection information detected by the detection element 26.
[0055] The control unit 24 inputs an electromagnetic wave radiation signal to the irradiation unit 22, so that the irradiation unit 22 radiates a pulsed electromagnetic wave. The irradiation unit 22 irradiates the electromagnetic wave based on the input electromagnetic wave radiation signal. The electromagnetic wave irradiated by the irradiation unit 22 and reflected by the reflection unit 23 and irradiated to an arbitrary irradiation area is reflected in the irradiation area. Then, when the detection element 26 detects the reflected electromagnetic wave in the irradiation area, it notifies the control unit 24 of the detection information.
[0056] The control unit 24 measures the time from the moment when the irradiation unit 22 radiates electromagnetic waves to the moment when the detection information is obtained. The control unit 24 calculates the distance to the irradiation position by multiplying the speed of light and dividing it by two during the time. In the case where the detection element 26 is a single element, as described above, the control unit 24 calculates the irradiation position based on the direction information obtained from the reflection unit 23 or the drive signal output by itself to the reflection unit 23. In the case where the detection element 26 includes an element array, the control unit 24 can calculate the irradiation position based on the position where the electromagnetic wave reflected by the object ob is detected on the element array. As described above, the irradiation position is the measurement position of the distance measuring device 11. The control unit 24 creates point cloud data containing information on a plurality of measurement positions and distances by calculating the distance to each irradiation position while changing the irradiation position.
[0057] (Structure of the imaging device)
[0058] The second optical system 27 forms an image of the object ob in a range overlapping the measurement range of the distance measuring device 11 on an imaging surface of the imaging element 28 .
[0059] The imaging element 28 converts the image formed on the imaging surface into an electrical signal and generates an image including the imaging range of the object ob. The imaging element 28 may include any one of a CCD image sensor (Charge-Coupled Device Image Sensor) and a CMOS image sensor (Complementary MOS Image Sensor).
[0060] The imaging element 28 outputs the generated image to the control unit 24. The control unit 24 can perform any processing such as distortion correction, brightness adjustment, contrast adjustment, and gamma correction on the image.
[0061] When at least one of the point cloud data and the image contains distortion, the control unit 24 may correct the distortion. When there is a deviation between the optical system for detecting the point cloud data and the optical system for capturing the image, the control unit 24 may correct at least one of the point cloud data and the image to reduce the influence of the deviation. The correction of the point cloud data and the image may be performed by the information processing device 13 instead of the control unit 24.
[0062] (Structure of optical system and switching unit)
[0063] The first optical system 25 includes a front-stage optical system 29 common to the second optical system 27 and a first rear-stage optical system 30 located at a rear stage of the switching unit 32. The second optical system 27 includes a front-stage optical system 29 common to the first optical system 25 and a second rear-stage optical system 31 located at a rear stage of the switching unit 32. The front-stage optical system 29 includes, for example, at least one of a lens and a reflecting mirror, and forms an image of the object ob as a subject.
[0064] The switching unit 32 only needs to be set at the imaging position of the image of the object ob at a predetermined distance from the preceding optical system 29, that is, the primary imaging position or near the primary imaging position. The switching unit 32 has an action surface as, and the electromagnetic wave passing through the preceding optical system 29 is incident on the action surface as. The action surface as is composed of a plurality of pixels px arranged in a two-dimensional shape. The action surface as becomes a surface that causes the electromagnetic wave to produce an action such as reflection and transmission in at least one of the first state and the second state described later.
[0065] The switching unit 32 can switch each pixel px between a first state in which the electromagnetic wave incident on the action surface as travels in the first direction d1 and a second state in which the electromagnetic wave incident on the action surface as travels in the second direction d2. The first state is a first reflection state in which the electromagnetic wave incident on the action surface as is reflected in the first direction d1. In addition, the second state is a second reflection state in which the electromagnetic wave incident on the action surface as is reflected in the second direction d2.
[0066] More specifically, the switching unit 32 enables each pixel px to include a reflection surface that reflects electromagnetic waves. The switching unit 32 switches each pixel px between a first reflection state and a second reflection state by changing the orientation of the reflection surface of each pixel px. In one embodiment, the switching unit 32 includes, for example, a DMD (Digital Micro mirror Device). The DMD drives the tiny reflection surface constituting the action surface as, thereby being able to switch the reflection surface for each pixel px to any tilted state of a predetermined angle, such as +12° and -12°, relative to the action surface as. In addition, the action surface as is parallel to the plate surface of the substrate on which the tiny reflection surface is mounted in the DMD.
[0067] The switching unit 32 switches the first state and the second state for each pixel px based on the control of the control unit 24. For example, the switching unit 32 can simultaneously switch a part of the pixels px1 to the first state, thereby enabling the electromagnetic wave incident on the pixel px1 to travel in the first direction d1, and switch another part of the pixels px2 to the second state, thereby enabling the electromagnetic wave incident on the pixel px2 to travel in the second direction d2. In addition, the switching unit 32 switches the same pixel px from the first state to the second state, thereby enabling the electromagnetic wave incident on the pixel px to travel in the first direction d1 and then in the second direction d2.
[0068] like Figure 2 As shown, the first rear optical system 30 is provided in the first direction d1 from the switch 32 . The first rear optical system 30 includes, for example, at least one of a lens and a reflector. The first rear optical system 30 allows the electromagnetic wave whose traveling direction is switched in the switch 32 to enter the detection element 26 .
[0069] The second rear optical system 31 is provided in the second direction d2 from the switching unit 32. The second rear optical system 31 includes, for example, at least one of a lens and a reflective mirror. The second rear optical system 31 forms an image of the object ob, which is an electromagnetic wave whose traveling direction is switched in the switching unit 32, on the imaging surface of the imaging element 28.
[0070] With the above-described structure, the detection device 21 can make the optical axis ax of the front optical system 29 coincide with the optical axis of the first rear optical system 30 in the first state, and coincide with the optical axis of the second rear optical system 31 in the second state. Therefore, the detection device 21 can reduce the deviation of the parallax between the measurement position of the detection element 26 detecting the distance and the image captured by the imaging element 28 in the case of the element array by switching the pixel px of the switching unit 32 to any one of the first state and the second state.
[0071] The control unit 24 can switch a part of the pixels px in the switching unit 32 to the first state and switch another part of the pixels px to the second state as the reflecting unit 23 moves the irradiation position. Therefore, the detection device 21 can simultaneously make the detection element 26 detect electromagnetic waves in a part of the pixels px and make the imaging element 28 detect images in another part of the pixels px. Thus, the detection device 21 can substantially simultaneously obtain the distance of the irradiation position in the same field of view and the image of the part other than the vicinity of the irradiation position of the electromagnetic wave.
[0072] In addition, Figure 2In the structural example, in order to make the optical axis of the distance measuring device 11 coincide with or approach the optical axis of the imaging device 12, an optical system including a switching unit 32 is used. However, the method of making the optical axes of the distance measuring device 11 and the imaging device 12 coincide with or approach each other is not limited to this. For example, Figure 1 The optical system 14 can be configured to utilize the difference in wavelength between the light detected by the distance measuring device 11 and the image captured by the imaging device 12. For example, the optical system 14 can be configured to use a dichroic mirror or a dichroic prism to make the optical axis of the optical system of the distance measuring device 11 and the optical axis of the imaging device 12 coincide with each other on the object ob side.
[0073] (Information Processing Device)
[0074] like Figure 3 As shown, the information processing device 13 of one embodiment includes a point cloud data acquisition unit 41 , an image acquisition unit 42 , a control unit 43 , a storage unit 44 , and an output unit 45 .
[0075] The point cloud data acquisition unit 41 acquires point cloud data representing distance distribution from the distance measuring device 11. The point cloud data acquisition unit 41 may include a communication module for communicating with the distance measuring device 11. Figure 2 In the case of the detection device 21, the point cloud data acquisition unit 41 acquires point cloud data from the control unit 24 constituting a part of the distance measuring device 11. The point cloud data includes at least two-dimensional position information indicating a measurement position when the measurement range is observed from a two-dimensional plane and a measurement value of the distance to the object ob located at the position.
[0076] The image acquisition unit 42 acquires an image from the photographing device 12. The image acquisition unit 42 may include a communication module for communicating with the photographing device 12. Figure 2 In the case of the detection device 21, the image acquisition unit 42 acquires the image from the control unit 24 which constitutes a part of the imaging device 12. The time when the distance measuring device 11 acquires the point cloud data and the time when the imaging device 12 acquires the image may be synchronized.
[0077] Control unit 43 includes one or more processors and memory, similarly to control unit 24 of detection device 21. Control unit 43 may include at least one of a general-purpose processor that reads a specific program to execute a specific function and a dedicated processor dedicated to a specific process, similarly to control unit 24 of detection device 21.
[0078] The control unit 43 can obtain point cloud data and images in which the measurement range and the shooting range when observed as a two-dimensional plane at least partially overlap. The control unit 43 can obtain point cloud data and images measured and shot at substantially the same time as a set of data. Substantially the same time includes the time when the distance measuring device 11 measures a frame of point cloud data and the time when the shooting device 12 shoots an image overlap. In addition, substantially the same time includes the distance measuring device 11 and the shooting device 12 performing distance measurement and shooting based on the same timing signal.
[0079] The control unit 43 can sequentially acquire two sets of point cloud data and images. The control unit 43 can use the first set of point cloud data and images as the first point cloud data and the first image, and use the second set of point cloud data and images as the second point cloud data and the second image. The control unit 43 calculates information indicating the correspondence relationship between each position of the first image and the second image, and can establish correspondence between the first point cloud data and the second point cloud data based on the information indicating the correspondence relationship. Establishing the correspondence between the first point cloud data and the second point cloud data means establishing correspondence between each point included in the first point cloud data and each point included in the second point cloud data. Each point of the first point cloud data and the second point cloud data that is established in correspondence by using the information indicating the correspondence relationship between each position of the first image and the second image is not limited to the points located at the feature points of the first image and the second image. In addition, the posture estimation system 10 of the present embodiment is configured such that the control unit 43 calculates the information indicating the correspondence relationship between each position of the first image and the second image, but the posture estimation system 10 can also be configured such that an information processing device on a network such as a server or a cloud calculates the information, and the control unit 43 acquires the information calculated by the information processing device.
[0080] The control unit 43 can estimate the rotation amount and movement amount of the distance measuring device 11 and the camera 12 based on the correspondence between the first point cloud data and the second point cloud data. That is, the control unit 43 can estimate the posture of the moving object. The control unit 43 can construct a map of the surrounding environment and estimate the own position in the environment map based on the sequentially acquired point cloud data and the information of the estimated rotation amount and movement amount.
[0081] The storage unit 44 includes a semiconductor memory and / or a magnetic memory. The storage unit 44 can function as a main storage device, an auxiliary storage device, or a cache memory, for example. The storage unit 44 stores any information used in the operation of the information processing device 13. For example, the storage unit 44 can also store system programs, application programs, management databases, etc. The storage unit 44 can temporarily store the point cloud data acquired by the point cloud data acquisition unit 41, the image acquired by the image acquisition unit 42, and the information processed from these data.
[0082] The storage unit 44 may sequentially accumulate and store the coordinates of the point cloud data located in the surrounding environment, and information on the amount of rotation and the amount of movement. The storage unit 44 may store the environment map sequentially constructed by the control unit 43.
[0083] The output unit 45 is configured to output information from the information processing device 13 to the outside. The output unit 45 includes any one or more of a display, a communication module that sends information to an external computer, a device that outputs information to a storage medium, etc. The output unit 45 can output the constructed environment map and the estimated self-position information to a system other than the mobile body equipped with the information processing device 13 through a wire.
[0084] In addition, Figure 2 In the embodiment, the detection device 21 and the information processing device 13 are separate. However, the information processing device 13 can be installed in Figure 2 The control unit 43 of the information processing device 13 may be common with the control unit 24 of the detection device 21.
[0085] (Posture Estimation Process)
[0086] Below, use Figure 4 The flowchart of FIG. 1 illustrates the posture estimation process performed by the control unit 43. The information processing device 13 may be configured to install the process performed by the control unit 43 described below by reading a program stored in a non-transitory computer-readable medium. The non-transitory computer-readable medium includes, but is not limited to, a magnetic storage medium, an optical storage medium, a magneto-optical storage medium, and a semiconductor storage medium.
[0087] The control unit 43 acquires the first image and the first point cloud data via the image acquisition unit 42 and the point cloud data acquisition unit 41 (step S101). The viewpoints of shooting and measuring the first image and the first point cloud data are consistent or close. In addition, when the measurement range of the distance measuring device 11 and the shooting range of the shooting device 12 overlap only partially, the first image and the first point cloud data for the following processing are acquired from the overlapping portion. The same is true for the second image and the second point cloud data.
[0088] Figure 5 2 is an example of an image acquired by the image acquisition unit 42 . Figure 6 An example of displaying the point cloud data acquired by the point cloud data acquisition unit 41 as a two-dimensional distance image is shown. In the distance image, the distance to each measurement position within the field of view of the distance measuring device 11 represented in two-dimensional space is expressed by the color or brightness of each point representing each measurement position.
[0089] After step S101, the control unit 43 acquires the second image and the second point cloud data via the image acquisition unit 42 and the point cloud data acquisition unit 41 (step S102). Through the rotation and movement of the mobile body equipped with the distance measuring device 11 and the shooting device 12, the viewpoints of the second image and the second point cloud data captured and measured are different from the viewpoints of the first image and the first point cloud model captured and measured. As a result, there is a deviation between the shooting range of the second image and the shooting range of the first image, but a part of the shooting range of each other overlaps. In addition, there is a deviation between the measurement range of the second point cloud data and the measurement range of the first point cloud data, but a part of the measurement range of each other overlaps.
[0090] The first image and the first point cloud data can be captured and measured at a first moment, and the second image and the second point cloud data can be captured and measured at a second moment after the first moment. The control unit 43 can sequentially acquire the images and point cloud data captured and measured at the same moment after the second moment. Hereinafter, a group of the first image and the first point cloud data and a group of the second image and the second point cloud data are acquired to estimate the amount of rotation and the amount of movement between the first moment and the second moment. The amount of rotation and the amount of movement after the second moment can also be estimated sequentially in the same manner. In addition, the first image and the first point cloud data may not necessarily be captured and measured at the same moment. If the shooting range for capturing the first image and the measuring range for acquiring the first point cloud data do not change, the shooting of the first image and the measurement of the first point cloud data can be performed sequentially at different times. The same is true for the second image and the second point cloud data.
[0091] The following steps S103 to S105 and steps S106 to S108 are a series of processing. Steps S103 to S105 are processing of the first image and the second image. Steps S106 to S108 are processing of the first point cloud data and the second point cloud data. Steps S103 to S105 and steps S106 to S108 can be performed alternately or in parallel.
[0092] After step S102, the control unit 43 performs correction to reduce distortion when distortion exists in the acquired first image and second image (step S103). Figure 5 The barrel-shaped distortion shown in FIG. 1 is caused by the lens of the camera 12. The control unit 43 can correct the distortion to make the image rectangular. By correcting the distortion, for example, Figure 7 The first image and the second image shown in the above paragraph.
[0093] Next, the control unit 43 extracts feature points of the first image and the second image (step S104). As a method for extracting feature points, various methods including SHIFT (Scale-Invariant Feature Transform), SURF (Speeded Up Robust Features), and ORB (Oriented FAST and Rotated BRIEF) can be used. In addition, when extracting feature points, as a method for eliminating the influence of deviation values caused by noise, RANSAC (Random Sample Consensus) is known.
[0094] The control unit 43 uses the feature points to calculate information representing the correspondence between the first image and the second image (step S105). The control unit 43 uses the panoramic image creation technology to match the feature points and overlap the images to obtain the correspondence between each pixel of the first image and the second image. For example, the control unit 43 can make the feature points of the second image coincide with the feature points of the first image by performing a homography transformation on the second image. The control unit 43 calculates the transformation matrix of the homography transformation based on the feature points of the first image and the feature points of the second image. In this case, the transformation matrix of the homography transformation is information representing the correspondence between the first image and the second image.
[0095] By using information indicating the correspondence between the first image and the second image, such as Figure 7 As shown, the first image and the second image can be synthesized. Figure 7 This is an image of an office interior where desks, chairs, and the like are arranged. Figure 8 A simple diagram shows a synthesized image using homography transformation of the first image and the second image. Figure 8 In the example of , the feature points are aligned by deforming the rectangular second image into a trapezoid and projecting it into the coordinate system of the first image. The transformation matrix of the homography transformation can be estimated using the least squares method to minimize the error between the feature points when the feature points of the first image and the feature points of the second image are matched using the homography transformation.
[0096] Next, step S106 to step S108 will be described.
[0097] The number of measurement points (corresponding to each point of the point cloud data) that the distance measuring device 11 can obtain in one scan is less than the number of pixels of the image captured by the imaging device 12. Therefore, the control unit 43 performs a process of converting the first point cloud data and the second point cloud data into data having the same number of pixels as the number of pixels of the image (step S106). The control unit 43 converts the number of vertical and horizontal points of the first point cloud data and the second point cloud data to be consistent with the number of vertical and horizontal pixels of the first image and the second image. As a result, each pixel of the first image and the second image is respectively corresponding to an arbitrary point in the first point cloud data and the second point cloud data.
[0098] Next, the control unit 43 corrects the distortion if the expanded first point cloud data and the second point cloud data have distortion (step S107). The distortion correction may be performed before step S106 or after step S108 described later, rather than after step S106.
[0099] Fig. 9A and Fig. 9B FIG. 1 shows an example of displaying the first point cloud data and the second point cloud data after expansion and distortion correction as a distance image. Fig. 9A and Fig. 9B It is known that it is difficult to detect the edge of the subject in point cloud data as in images. On the other hand, it is easy to obtain the distance data of the measurement points on flat parts such as walls in point cloud data. Fig. 9A and Fig. 9B The point cloud data of is shown as an example. Fig. 9A and Fig. 9B and Figure 7 Similarly, the measurement was conducted in an office with a desk and chairs, but the Figure 7 The first image and the second image shown are different scenes.
[0100] Next, the control unit 43 calculates the point cloud of the three-dimensional space based on the first point cloud data and the second point cloud data after expansion and distortion correction (step S108). That is, the control unit 43 transforms the point cloud data (u, v, d) of the two-dimensional space composed of the two-dimensional coordinates (u, v) representing the position of each point of the point cloud data and the distance d of each point into the coordinates (x, y, z) of the point in the three-dimensional space. The coordinates (x, y, z) of the three-dimensional space are the measured positions of the ranging device 11 in the three-dimensional space. Here, the three-dimensional coordinates (x, y, z) can be, for example, the following coordinate system: taking the position of the ranging device 11 as the origin, setting the direction of the optical system of the ranging device 11 detecting the object ob as the z-axis, and setting the two axes orthogonal to the z-axis and mutually orthogonal to the x-axis and the y-axis. The coordinate axes of the three-dimensional space are fixed relative to the ranging device 11, and rotate and move simultaneously with the rotation and movement of the ranging device 11.
[0101] Fig. 10Aand Fig. 10B are displayed as viewed from a specific direction based on Fig. 9A The corresponding first point cloud data and Fig. 9B A diagram of a point cloud in a three-dimensional space calculated corresponding to the second point cloud data. Fig. 10A and Fig. 10B The overlapping measurement range is observed from different viewpoints.
[0102] Next, the control unit 43 uses the information indicating the correspondence between the first image and the second image calculated in step S105 to establish correspondence between the first point cloud data and the second point cloud data, and obtains the coordinates of the corresponding points in the three-dimensional space (step S109). Step S109 is described in the following two stages.
[0103] First, the control unit 43 Fig. 9A and 9B The two-dimensional first point cloud data and the second point cloud data having the same point arrangement as the pixel arrangement of the first image and the second image are shown to establish correspondence between each point. The control unit 43 extracts the points of the first point cloud data and the points of the second point cloud data located at the corresponding positions (u, v) based on the information indicating the correspondence calculated in step S105. For example, in step S105, when the control unit 43 calculates the transformation matrix for transforming the second image homography into the first image, the control unit 43 applies the transformation matrix to each point of the two-dimensional second point cloud data. The control unit 43 extracts the points of the transformed second point cloud data that are consistent with the points of the first point cloud data at the positions (u, v). When the distance d between the extracted points of the first point cloud data and the points of the second point cloud data is approximately equal to each other after considering the error and the range of the distance that can be moved, it can be determined that the two points correspond. In this method, based on the information indicating the correspondence, the correspondence between the points on the first point cloud data and the points on the second point cloud data as a whole is checked. Therefore, compared with the case where the correspondence of the point cloud data is established using only the feature points of the image, more points can be established for correspondence.
[0104] Next, the control unit 43 obtains the coordinates (x, y, z) of the three-dimensional space of the points (u, v, d) of the first point cloud data and the points (u, v, d) of the second point cloud data respectively corresponding to each other after the correspondence is established in the two-dimensional space. The coordinates (x, y, z) of the three-dimensional space corresponding to the points of the two-dimensional point cloud data are calculated in step S108. These coordinates (x, y, z) are the coordinates of the points of the first point cloud data and the points of the second point cloud data corresponding to each other expressed by the coordinates of the three-dimensional space.
[0105] The control unit 43 excludes unnecessary points from the group of corresponding points represented by the coordinates (x, y, z) in the three-dimensional space (step S110). For example, points whose distance is calculated to be 0 are deleted. In addition, points determined to be abnormal values may be deleted.
[0106] The control unit 43 estimates the posture of the posture estimation system 10 and the mobile object equipped with the posture estimation system 10 using the coordinates of the three-dimensional space of the corresponding points (step S111). The posture estimation can be performed by finding a rotation matrix and a translation vector so as to minimize the distance between the corresponding points included in the first point cloud data and the second point cloud data. For example, the coordinates of the corresponding points of the first point cloud data are set to p i (i=1, 2, ..., n), set the coordinates of the corresponding points of the second point cloud data to q i (i=1, 2, ..., n). Here, n is the number of corresponding points of each point cloud data. In addition, R is the target rotation matrix, and t is the target translation vector. The rotation matrix R and the translation vector t can be obtained by the following mathematical formula (1).
[0107] Mathematical formula (1)
[0108]
[0109] As described above, the control unit 43 can calculate the rotation amount and the movement amount of the moving object between the first time and the second time, and perform posture estimation.
[0110] In addition, the control unit 43 can sequentially acquire the point cloud data measured by the distance measuring device 11 and the image captured by the imaging device 12 when the mobile body sequentially changes its position and posture. The control unit 43 can reconstruct the information of the measured point cloud data in the global coordinate system based on the estimated rotation amount and movement amount of the mobile body to construct an environment map. The control unit 43 can estimate the position and posture of the mobile body itself in the constructed environment map of the global coordinate system.
[0111] According to the posture estimation system 10 using the information processing device 13 of the present disclosure, the corresponding points of the first point cloud data and the second point cloud data are extracted using information indicating the corresponding relationship between the first image and the second image, so that a large number of corresponding points can be extracted. As a result, the accuracy of posture estimation is improved. Furthermore, when the posture estimation system 10 is used to construct an environmental map, the accuracy of posture estimation is improved, so that the accumulation of posture estimation errors can be reduced, and thus a more accurate environmental map can be constructed.
[0112] (Comparative Experiment)
[0113] The inventor prepared point cloud data and images measured and photographed by rotating a mobile body equipped with a posture estimation system 10 in a horizontal plane by 10 degrees each time for a total of 360 degrees, and created an environment map using the method disclosed in the present invention. In addition, as a comparative example, the inventor extracted feature points based on ORB from the same point cloud data and image, and created an environment map by using the feature points to establish correspondence between the point cloud data. Fig.11 It is an environment map constructed using the method disclosed in the present invention. Fig.12 This is an environment map constructed using the method of the comparative example. In any of the methods, the angle θ is the error of the accumulated rotation amount after rotating 360 degrees.
[0114] from Fig.11 and Fig.12 It can be seen that the method of the present disclosure has less accumulated errors than the method of the comparative example and has improved accuracy.
[0115] The present inventors estimated the posture of the data obtained by excluding the outliers based on RANSAC for feature points based on ORB. The method disclosed in the present invention showed a significant improvement in accuracy over this method.
[0116] As described above, the information processing device 13 of the present disclosure can easily establish correspondence between the first point cloud data and the second point cloud data obtained by the ranging device 11 at different viewpoints for more points. As a result, the accuracy of the posture estimation of the moving body is improved. Furthermore, by improving the accuracy of the posture estimation, the accuracy of the construction of the environment map and the estimation of the own position is improved.
[0117] The embodiments of the present disclosure are described based on the drawings and examples, but it should be noted that it is easy for those skilled in the art to make various deformations or modifications based on the present disclosure. Therefore, it should be understood that these deformations or modifications are also included in the scope of the present disclosure. For example, the functions contained in each structural part or each step can be reconfigured within the scope of logical non-contradiction, and multiple structural parts or steps can be combined into one or divided. The embodiments of the present disclosure can also be implemented as a method, program or storage medium storing a program executed by a processor possessed by the device. It should be understood that these are also included in the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0119] 10Posture estimation system
[0120] 11 Distance measuring device
[0121] 12 Filming Device
[0122] 13Information processing device
[0123] 14Optical system
[0124] 21 Detection device
[0125] 22Irradiation Department
[0126] 23 Reflection part
[0127] 24 Control Department
[0128] 25First optical system
[0129] 26 Detection elements
[0130] 27 Second optical system
[0131] 28 camera elements
[0132] 29 Pre-stage optical system
[0133] 30First post-stage optical system
[0134] 31 Secondary optical system
[0135] 32 Switching unit
[0136] 41 Point cloud data acquisition department
[0137] 42 Image acquisition unit
[0138] 43 Control Department
[0139] 44 Storage
[0140] ax optical axis
[0141] d1 first direction
[0142] d2 second direction
[0143] ob object (subject)
Claims
1. An information processing device, wherein: have: An image acquisition unit, which acquires an image from a photographing device; a point cloud data acquisition unit that acquires point cloud data representing distance distribution from a distance measuring device; and The control unit obtains information indicating a correspondence between positions of the first image and the second image based on a first image obtained from the image acquisition unit and a second image including the same subject as the first image, and establishes correspondence between two sets of point cloud data obtained from the point cloud data acquisition unit, namely, first point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the first image and second point cloud data whose measurement range of the distance distribution at least partially overlaps with the shooting range of the second image, based on the information indicating the correspondence.
2. The information processing device according to claim 1, wherein: The control unit estimates the rotation amount and the movement amount of the imaging device or the distance measuring device based on the correspondence between the first point cloud data and the second point cloud data.
3. The information processing device according to claim 1 or 2, wherein: The optical axes of the optical system of the photographing device for photographing an image and the optical system of the distance measuring device for measuring a distance distribution coincide with each other.
4. The information processing device according to any one of claims 1 to 3, wherein: The photographing device and the distance measuring device are configured to photograph the first image and measure the distance distribution for obtaining the first point cloud data at the same time, and to photograph the second image and measure the distance distribution for obtaining the second point cloud data at the same time.
5. The information processing device according to any one of claims 1 to 4, wherein: The control unit calculates information indicating the correspondence relationship by matching feature points included in the first image and the second image.
6. The information processing device according to claim 5, wherein: The control unit matches the feature points using homography transformation.
7. An information processing method, in, include: Acquire a first image and a second image containing the same subject as the first image; Acquire two sets of point cloud data representing distance distribution, namely, first point cloud data in which a measurement range of the distance distribution at least partially overlaps with a shooting range of the first image, and second point cloud data in which a measurement range of the distance distribution at least partially overlaps with a shooting range of the second image; Based on the first image and the second image, acquiring information indicating a correspondence relationship between positions of the first image and the second image; and Based on the information indicating the corresponding relationship, the first point cloud data and the second point cloud data are established to correspond to each other.
8. A program, wherein: Causes a computer to execute a process comprising the following steps: Acquire a first image and a second image containing the same subject as the first image; Acquire two sets of point cloud data representing distance distribution, namely, first point cloud data in which a measurement range of the distance distribution at least partially overlaps with a shooting range of the first image, and second point cloud data in which a measurement range of the distance distribution at least partially overlaps with a shooting range of the second image; Based on the first image and the second image, acquiring information indicating a correspondence relationship between respective positions of the first image and the second image; as well as Based on the information indicating the corresponding relationship, the first point cloud data and the second point cloud data are established to correspond to each other.
