Reliability calculating device, three-dimensional information creating device, and reliability calculating method

The reliability calculation device addresses the inaccuracies in ToF distance measurement technologies by evaluating pixel reliability through ideal light amount calculations and polarization analysis, resulting in improved three-dimensional information generation by excluding noisy pixels and enhancing accuracy.

WO2024252781A1PCT designated stage expired Publication Date: 2024-12-12JVC KENWOOD CORP

Patent Information

Application Number
PCT/JP2024/014374
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-07
Filing Date
2024-04-09
Publication Date
2024-12-12

AI Technical Summary

Technical Problem

Conventional Time of Flight (ToF) distance measurement technologies face issues such as probability errors due to shot noise, inaccurate measurements with materials that absorb or transmit near-infrared rays, and optical path differences, leading to unreliable three-dimensional information generation.

Method used

A reliability calculation device and method that acquires distance and infrared images, calculates ideal light amounts based on correspondence data, and evaluates pixel reliability by comparing actual and ideal infrared light amounts, while also considering polarization information to remove noise and correct surface irregularities.

Benefits of technology

Enables accurate calculation of distance value reliability, allowing for the generation of reliable three-dimensional information by excluding unreliable pixels and improving accuracy in three-dimensional information creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024014374_12122024_PF_FP_ABST
    Figure JP2024014374_12122024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention addresses the problem of calculating the reliability of a ranging value for each pixel in order to generate accurate three-dimensional information. This reliability calculating device comprises: a distance image acquiring unit (313); an IR image acquiring unit (312) for acquiring an amount of infrared light received at each coordinate of a distance image; an ideal light amount calculating unit (3142) which refers to correspondence data obtained by measuring, in advance, a correspondence relationship between distance and an amount of received light using an evaluation chart having a specific reflection coefficient, to calculate an ideal light amount based on distance information at each coordinate of the acquired distance image; and a computing unit (3143) which calculates a reliability at each coordinate on the basis of the result of a comparison between the ideal light amount and the amount of infrared light received. The evaluation chart is a gray chart having a plurality of gray levels, and the reliability calculating device further includes a selecting unit (3141) for selecting a suitable gray level on the basis of the distance information at each coordinate of the distance image, and calculates the ideal light amount on the basis of data relating to the selected gray level.
Need to check novelty before this filing date? Find Prior Art

Description

Reliability calculation device, three-dimensional information creation device, and reliability calculation method

[0001] The present invention relates to a reliability calculation device, a three-dimensional information creation device, and a reliability calculation method.This application claims priority to Japanese Patent Application No. 2023-093856, filed in Japan on June 7, 2023, the contents of which are incorporated herein by reference.

[0002] Conventionally, there has been a method for calculating the distance to an object by irradiating a distance measurement light toward the object, receiving the light reflected from the object, and measuring the time from when the light is emitted until when the light is received. These distance measurement methods are widely known as the ToF (Time of Flight) method. There is a technology that uses such ToF distance measurement technology to observe the distance to the object from multiple viewpoints and generate three-dimensional information of the object by combining information on the distances to the object observed from the multiple viewpoints (see, for example, Patent Document 1).

[0003] Japanese Unexamined Patent Publication No. 7-174538

[0004] A limitation of the ToF distance measurement technology is the random error caused by shot noise. Furthermore, when the object is made of a material that easily absorbs near-infrared light or transmits infrared light, the ToF distance measurement technology has the problem that the distance measurement light irradiated on the object is not accurately reflected, resulting in an inaccurate distance measurement value. Furthermore, the ToF distance measurement technology has the problem of inaccurate distance measurement values ​​due to the difference in the optical path of multipath light.

[0005] When generating 3D information of a subject based on a range image containing inaccurate distance measurements, it is possible to manually correct the abnormal values. Because manual correction is time-consuming, if the reliability of the distance measurement value for each pixel can be known, it is possible to generate 3D information after excluding the pixel value. However, determining the reliability of the distance measurement value has not been easy. Therefore, there has been a demand for a method to calculate the reliability of the distance measurement value for each pixel in order to generate accurate 3D information.

[0006] The present invention has been made in view of the above circumstances, and aims to provide a reliability calculation device, a three-dimensional information creation device, and a reliability calculation method that are capable of calculating the reliability of distance measurements.

[0007] [1] One aspect of this embodiment is a reliability calculation device that includes a distance image acquisition unit that acquires a distance image having distance information at each coordinate in a two-dimensional coordinate system; an IR image acquisition unit that acquires an IR image having information corresponding to the distance image, the IR image having information about the amount of infrared light received at each coordinate in the distance image; an ideal light intensity calculation unit that calculates an ideal light intensity based on the distance information at each coordinate in the acquired distance image by referring to correspondence data that is data that uses an evaluation chart having a specific reflectance to measure in advance the correspondence relationship between the distance to the evaluation chart and the amount of received infrared light; and a calculation unit that calculates the reliability at each coordinate based on the result of comparing the ideal light intensity obtained by calculation with the amount of infrared light received included in the IR image at each coordinate.

[0008] [2] Furthermore, one aspect of this embodiment is a reliability calculation device according to the above [1], wherein the evaluation chart is a gray chart having a plurality of different gray levels, the correspondence data is data in which distance and received light amount are associated with each other for each gray level, and the device further includes a selection unit that selects an appropriate gray level from the plurality of gray levels based on distance information at each coordinate of the acquired distance image, and the ideal light amount calculation unit calculates the ideal light amount based on the gray level data selected by the selection unit.

[0009] [3] Also, one aspect of this embodiment is a three-dimensional information creation device that creates three-dimensional information using the reliability calculation device described in [1] or [2] above, wherein the distance image acquisition unit acquires a first distance image having distance information from a first point to a subject and a second distance image having distance information from a second point different from the first point to the subject, the IR image acquisition unit acquires a first IR image corresponding to the first distance image and a second IR image corresponding to the second distance image, compares the reliability based on the first distance image and the first IR image with the reliability based on the second distance image and the second IR image, and creates three-dimensional information based on the distance image with a higher reliability.

[0010] [4] Furthermore, one aspect of this embodiment is a three-dimensional information creation device as described in [3] above, further comprising a polarized image acquisition unit that acquires a polarized image having polarization information of the subject at each coordinate of the distance image, the information corresponding to the distance image; a mirror flag assignment unit that assigns a mirror flag to each coordinate based on the acquired polarized image; a noise removal unit that removes distance information at coordinates to which the mirror flag has been assigned from the distance information that the distance image has at each coordinate; and a surface identification unit that identifies a surface based on the acquired polarized image, and creates three-dimensional information by smoothing out unevenness of the surface by complementing the removed distance information within the range identified as a surface.

[0011] [5] Another aspect of this embodiment is a reliability calculation method including a distance image acquisition step of acquiring a distance image having distance information at each coordinate in a two-dimensional coordinate system; an IR image acquisition step of acquiring an IR image having information corresponding to the distance image, the IR image having information about the amount of infrared light received at each coordinate in the distance image; an ideal light intensity calculation step of calculating an ideal light intensity based on the distance information at each coordinate in the acquired distance image by referring to correspondence data, which is data obtained by previously measuring the correspondence between the distance to the subject and the amount of received light using a subject with a specific reflectance; and a calculation unit step of calculating the reliability at each coordinate based on the result of comparing the ideal light intensity obtained by calculation with the amount of infrared light received included in the IR image at each coordinate.

[0012] According to this embodiment, the reliability of the distance measurement value can be calculated.

[0013] FIG. 1 is a first diagram for explaining an overview of a three-dimensional information generation system according to an embodiment. FIG. 2 is a second diagram for explaining an overview of a three-dimensional information generation system according to an embodiment. FIG. 3 is a diagram for explaining a method of generating three-dimensional information by the three-dimensional information generation system according to an embodiment. FIG. 1 is a first flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. FIG. 2 is a second flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. FIG. 3 is a third flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. FIG. 1 is a first diagram for explaining a method of calculating an ideal IR value according to an embodiment. FIG. 2 is a second diagram for explaining a method of calculating an ideal IR value according to an embodiment. FIG. 4 is a fourth flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. FIG. 5 is a fifth flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. FIG. 6 is a diagram for explaining feature points according to an embodiment. FIG. 7 is a sixth flowchart for explaining the operation of the three-dimensional information generation system according to an embodiment. A functional configuration diagram showing an example of the functional configuration of a three-dimensional information generation system according to an embodiment. A functional configuration diagram showing an example of the functional configuration of a reliability calculation device according to an embodiment. A functional configuration diagram showing an example of the functional configuration of a reliability calculation unit according to an embodiment. A functional configuration diagram showing an example of the functional configuration of a three-dimensional information creation device according to an embodiment. 1 is a block diagram showing an example of the internal configuration of a reliability calculation device and a three-dimensional information creation device according to an embodiment.

[0014] [Embodiments] Preferred embodiments of a reliability calculation device, a three-dimensional information creation device, and a reliability calculation method according to aspects of the present invention will be described in detail below with reference to the accompanying drawings. Note that the embodiments described below are merely examples, and the embodiments to which the present invention is applied are not limited to the following embodiments. Furthermore, "based on XX" in this application means "based on at least XX" and includes cases where the method is based on other elements in addition to XX. Furthermore, "based on XX" is not limited to cases where XX is directly used, but also includes cases where the method is based on XX after calculation or processing. "XX" is an arbitrary element (e.g., arbitrary information). Furthermore, in the following drawings, the scale and number of elements in each structure may differ from the scale and number of elements in the actual structure to make each configuration easier to understand.

[0015] [Outline of Three-Dimensional Information Generation System] First, an outline of a three-dimensional information generation system 1 according to an embodiment will be described with reference to FIGS. 1 to 3. FIG.

[0016] FIG. 1 is a first diagram illustrating an overview of a three-dimensional information generation system according to an embodiment. The three-dimensional information generation system 1 generates three-dimensional information of a subject S. The three-dimensional information generation system 1 includes one or more image capture devices 10. The image capture device 10 is capable of acquiring a distance image, an IR image, a polarization image, and an RGB image. The distance image, the IR image, the polarization image, and the RGB image may have the same optical axis. That is, the image capture device 10 may include a ToF (Time of Flight) sensor for acquiring the distance image and the IR image, a polarization sensor for acquiring the polarization image, and an image sensor for acquiring the RGB image. Each sensor may be positioned so that the optical path of light incident on the lens is split so that the light enters each sensor. Note that this embodiment is not limited to an example in which the light has the same optical axis. The distance image, the IR image, the polarization image, and the RGB image may have corresponding two-dimensional coordinate systems.

[0017] The imaging device 10 acquires distance information from the imaging device 10 to the subject S, for example, using a ToF method. The imaging device 10 acquires distance information to the subject S from multiple points (i.e., from multiple viewpoints) and generates three-dimensional information of the subject S by combining the acquired distance information. Note that, according to the ToF method, infrared light is irradiated onto the subject S, and the distance to the subject S is measured based on the time it takes for the reflected light to be received. In the following description, information regarding the amount of light received within a predetermined time after infrared light is irradiated by a ToF sensor may be referred to as an IR image.

[0018] The imaging device 10 may continuously capture frame images while moving from one imaging point to another, for example, as indicated by the arrow in the figure, thereby continuously acquiring distance information from a plurality of points to the subject S. The movement of the imaging device 10 may be determined based on acceleration, angular velocity, etc. measured by an inertial measurement unit (IMU) (not shown) included in the imaging device 10, for example.

[0019] Alternatively, different imaging devices 10 may be placed in advance at the two locations shown in the figure, and images of the subject S may be captured from each location to obtain distance information from the multiple locations to the subject S. In this case, it is preferable for the three-dimensional information generation system 1 to obtain the positional relationships between the multiple imaging devices 10 in advance. When the three-dimensional information generation system 1 includes multiple imaging devices 10, the number of imaging devices 10 is not limited, and using more imaging devices 10 makes it possible to obtain more information and generate more accurate three-dimensional information.

[0020] FIG. 2 is a second diagram illustrating an overview of a three-dimensional information generation system according to an embodiment. This diagram illustrates an example in which the three-dimensional information generation system 1 generates three-dimensional information using a single imaging device 10. As illustrated, a marker MK is placed in front of a subject S. The marker MK is used to identify a world coordinate system. Therefore, it is preferable that the position and orientation of the marker MK be identifiable by being imaged by the imaging device 10. The marker MK may be, for example, an identification code such as a QR code (registered trademark). The marker MK may be, for example, an image indicating the identification code printed on a medium such as paper or plastic.

[0021] The imaging device 10 captures an image of a marker MK in addition to the subject S. The imaging device 10 may capture the subject S and the marker MK separately (i.e., an image showing the subject S and an image showing the marker MK as separate frame images), or may capture an image showing both the subject S and the marker MK. For example, the imaging device 10 captures images of the subject S from multiple viewpoints after capturing the marker MK. A world coordinate system may be calculated using the position where the marker MK is captured as the origin. That is, the three-dimensional information generation system 1 determines the amount of movement of the imaging device 10 from the point where the marker MK is captured based on acceleration, angular velocity, etc. measured by an inertial measurement unit (not shown), and identifies the point (coordinates and orientation) where the imaging device 10 captured the image. Note that in this embodiment, the marker MK does not necessarily need to be used; the world coordinate system may be created by other methods.

[0022] 3 is a diagram illustrating a method for generating three-dimensional information by the three-dimensional information generation system according to the embodiment. The three-dimensional information generation system 1 calculates the reliability of each pixel and each surface of the acquired distance information of the subject S. The method for calculating the reliability will be described in detail later.

[0023] 3A shows an example in which the subject S is a cylindrical subject S1. The three-dimensional information of the subject S1 includes a surface labeled with reference numeral 1 and a surface labeled with reference numeral 2. The three-dimensional information for each surface is acquired from an image with a high reliability for that surface among images captured from multiple viewpoints by the imaging device 10. The three-dimensional information for each surface may be acquired from different images. The three-dimensional information generation system 1 generates the three-dimensional information of the subject S1 by combining the three-dimensional information for each surface acquired from different images.

[0024] 3B shows an example in which the subject S is a cubic subject S2. The three-dimensional information of the subject S2 includes a surface marked with reference numeral 1, a surface marked with reference numeral 2, and a surface marked with reference numeral 3. Similarly, for the subject S2, the three-dimensional information for each surface is acquired from different images, and the three-dimensional information for each surface is combined to generate the three-dimensional information for the subject S2.

[0025] [Operation of Three-Dimensional Information Generation System] Next, an example of the operation of the three-dimensional information generation system 1 according to the embodiment will be described with reference to FIGS.

[0026] 4 is a first flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. The diagram illustrates an example of a series of operations performed by the three-dimensional information generation system 1. In the following description, a person who generates three-dimensional information of a subject S by operating the three-dimensional information generation system 1 may be referred to as an operator.

[0027] (Step S10) First, if the subject S is made of a transparent material, a polarized light (not shown) is turned on. The polarized light is included in the three-dimensional information generation system 1 and is installed in a position where it can illuminate the subject S. The polarized light may be provided in the image capture device 10. When the subject S is determined to be made of a transparent material, the on / off control of the polarized light may be performed manually by an operator, for example. Alternatively, the on / off control of the polarized light may be performed mechanically in accordance with the results of analysis based on the IR image and the polarized image acquired by the image capture device 10.

[0028] (Step S11) The three-dimensional information generation system 1 initializes the camera viewpoint and the number of frames. Specifically, the values ​​of the camera viewpoint N and the number of frames FrameCnt are reset to 0.

[0029] (Step S12) The imaging device 10 captures an image of the subject S. This imaging includes acquiring a distance image, an IR image, a polarization image, and an RGB image. Hereinafter, when there is no need to distinguish between the distance image, the IR image, the polarization image, and the RGB image captured by the imaging device 10, they may be simply referred to as images.

[0030] (Step S13) The three-dimensional information generation system 1 generates a reliability map of the captured image. A reliability map is information in which a reliability is assigned to each coordinate of the image. A reliability map is generated for each of multiple images captured consecutively in time. A method for generating a reliability map will be described later with reference to FIG. 5, etc. The three-dimensional information generation system 1 generates three-dimensional information of the subject S by selectively combining suitable distance information based on the generated reliability map.

[0031] (Step S14) The three-dimensional information generation system 1 displays the generated three-dimensional information (3D model) of the subject S. The three-dimensional information of the subject S is displayed, for example, on a display (not shown). As another specific example, the three-dimensional information of the subject S may be projected by a predetermined method in a visually recognizable manner. The operator checks the displayed three-dimensional information of the subject S.

[0032] (Step S15) The operator checks the displayed three-dimensional information of the subject S and determines whether or not to terminate the three-dimensional information generation process. For example, if the operator determines that noise is superimposed on the displayed three-dimensional information and that the three-dimensional shape of the subject S is not adequately represented (i.e., different from the real thing), the operator can continue the three-dimensional information generation process. If it is determined that the three-dimensional information generation process should be terminated (i.e., step S15; YES), the process proceeds to step S16. If it is determined that the three-dimensional information generation process should not be terminated (i.e., the three-dimensional information generation process should be continued) (i.e., step S15; NO), the process proceeds to step S17.

[0033] (Step S16) The three-dimensional information generation system 1 exports the three-dimensional information into the target file format. The exported file is stored in a predetermined storage unit.

[0034] (Step S17) If the three-dimensional information generation process is to be continued, the imaging device 10 performs the imaging process again. The imaging process may be performed by moving the position of the imaging device 10, or may be performed without moving the position of the imaging device 10. If the distance information cannot be acquired correctly due to the imaging position, it is preferable to move the position of the imaging device 10. However, if the distance information cannot be acquired correctly due to reasons other than the imaging position, it is not necessary to move the position of the imaging device 10. Whether the position of the imaging device 10 has moved may be determined based on, for example, acceleration, angular velocity, etc. measured by an inertial measurement unit (not shown) provided in the imaging device 10. If it is determined that the position of the imaging device 10 has moved (i.e., step S17; YES), the process proceeds to step S18. If it is determined that the position of the imaging device 10 has not moved (i.e., step S17; NO), the process proceeds to step S19.

[0035] (Step S18) The three-dimensional information generation system 1 performs a process of incrementing the value of the camera viewpoint. Specifically, a process of setting camera viewpoint N+=1 is performed.

[0036] (Step S19) The three-dimensional information generation system 1 performs a process of incrementing the value of the frame number. Specifically, the process of setting the frame number FrameCnt+=1 is performed.

[0037] 5 is a second flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. An example of the reliability map generation process will be described with reference to the same figure. The reliability map generation process is the process described above as step S13.

[0038] (Step S20) The three-dimensional information generation system 1 acquires information about a reference point that has been set in advance as world coordinates. The reference point may be the position of the marker MK described with reference to FIG. 2. If the position of the marker MK has not yet been acquired, the three-dimensional information generation system 1 may instruct the operator to capture an image of the marker MK.

[0039] (Step S21) The three-dimensional information generation system 1 acquires information about acceleration and rotation from an inertial measurement unit (not shown) provided in the imaging device 10.

[0040] (Step S22) Here, if the acquired acceleration is equal to or greater than the threshold, camera shake may have occurred, and the image information may be incorrect (information about the subject S may not have been acquired properly). Therefore, if the acquired acceleration is equal to or greater than the threshold (i.e., step S22; YES), the three-dimensional information generation system 1 decides not to use the image in the three-dimensional information generation process and terminates the reliability map generation process. If the acquired acceleration is not equal to or greater than the threshold (i.e., step S22; NO), the three-dimensional information generation system 1 continues the reliability map generation process and proceeds to step S23.

[0041] (Step S23) The three-dimensional information generation system 1 determines the current camera position based on the displacement from the previous camera position and the information related to the reference point acquired in step S20. The previous camera position may be the camera position at which the frame image obtained immediately before the frame image currently being processed was captured among consecutive frame images. The current camera position may be the camera position at which the frame image currently being processed was captured.

[0042] (Step S24) The three-dimensional information generation system 1 generates a reliability when the subject S is imaged from the determined camera position. Specifically, the three-dimensional information generation system 1 generates a reliability map based on the distance image, the IR image, and the polarization image. Details of a specific method for generating the reliability map will be described later with reference to FIG. 6, etc.

[0043] (Step S25) The three-dimensional information generation system 1 divides the subject S into parts for each camera position based on the created reliability map. Details of the part division process for the subject S will be described later with reference to FIG. 11 etc.

[0044] 6 is a third flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. An example of the detailed process of the reliability map generation process will be described with reference to the same figure. The detailed process of the reliability map generation process is the process described above as step S24.

[0045] (Step S30) First, the three-dimensional information generation system 1 determines whether the distance value and IR value of each coordinate are valid based on the distance image and the IR image. The determination of valid values ​​may be made based on whether the values ​​are within a predetermined threshold. When the distance value and IR value of each coordinate are invalid, that is, when they are abnormal, examples of which include when the target pixel is a so-called dead pixel or when the abnormal value is due to superimposed noise. When the three-dimensional information generation system 1 determines that the distance value and IR value of each coordinate are valid (i.e., step S30; YES), the three-dimensional information generation system 1 proceeds to step S31. When the distance value and IR value of each coordinate are invalid (i.e., step S30; NO), the three-dimensional information generation system 1 proceeds to step S31.

[0046] (Step S31) Next, the three-dimensional information generation system 1 calculates an ideal IR value (amount of received light) based on the distance value for each pixel. Here, if the infrared reflectance of the subject S is constant, the IR value will also vary as the distance to the subject S changes. Specifically, the amount of received light decreases as the distance to the subject S increases, and increases as the distance to the subject S decreases. Furthermore, if the distance to the subject S is constant, the amount of received light (IR value) will also vary depending on the infrared reflectance of the subject S. Specifically, the amount of received light decreases as the infrared reflectance of the subject S decreases, and increases as the infrared reflectance of the subject S increases.

[0047] According to this embodiment, an ideal IR value is calculated based on the distance to the subject S by utilizing the characteristic that the IR value varies depending on the distance and the infrared reflectance of the subject S, and reliability is calculated based on the ideal IR value and the actual IR value. Specifically, the reliability may be the ratio of the actual IR value to the ideal IR value. A specific example of a method for calculating the ideal IR value (amount of received light) will be described below with reference to FIGS. 7 and 8.

[0048] 7 is a first diagram for explaining a method for determining an ideal IR value according to an embodiment. In this diagram, the horizontal axis represents distance, and the vertical axis represents IR value (amount of received light). Also, in this diagram, measurement results for three subjects with different infrared reflectances are shown as lines W1, W2, and W3. Line W1 has a lower infrared reflectance, and line W3 has a higher infrared reflectance. In the diagram, points represented in black represent points where the IR value is sufficient. On the other hand, points represented in white represent points where the IR value is insufficient.

[0049] The information shown in the figure is information obtained by actual measurement using an evaluation chart. The evaluation chart may be a gray chart having multiple different gray levels. When the evaluation chart is a gray chart, line W1 is a chart having a gray level closer to black, and line W3 is a chart having a gray level closer to white. While the figure shows an example of an evaluation chart having three infrared reflectances, if a gray chart with 16 levels is used, for example, 16 lines will be drawn. Furthermore, although the information shown in the figure is actually measured, this embodiment is not limited to an example of obtaining information by actual measurement, and it is sufficient if the correspondence between distance and IR value can be determined by some method.

[0050] In the illustrated example, the distance values ​​1 to 11 indicate relative distances (i.e., without units) for the sake of simplicity. Actual distance values ​​may be used as the results of actual measurements. Furthermore, the distance values ​​do not need to be spaced evenly; it is sufficient that information is available for multiple points. For example, in a range where the change in the amount of received light is small, the distances do not need to be spaced apart at the same intervals as in a range where the change in the amount of received light is large.

[0051] As a preliminary preparation, the three-dimensional information generation system 1 acquires correspondence information between distance and amount of received light as shown in the drawing in advance by conducting an experiment or the like, and stores the acquired information in a storage unit. Note that this embodiment is not limited to an example of acquiring correspondence information between distance and amount of received light by an experiment or the like, and the correspondence information may also be acquired by a simulation or the like.

[0052] In the reliability calculation stage, the 3D information generation system 1 calculates an ideal IR value for each pixel based on the acquired distance image. First, the 3D information generation system 1 selects, from pre-stored data, two pieces of data closest to the distance value at the coordinates for which reliability is to be determined. In this data selection, data with a high IR value is selected. Data with a low infrared reflectance is also selected. In the illustrated example, suitable data is searched for on line W1, which has the lowest infrared reflectance. If no suitable data is found, suitable data is searched for on line W2, which has the next lowest infrared reflectance after line W1. For example, if the distance value of the pixel to be processed is 3.5, there is no suitable data on line W1 (represented by a white dot), but two suitable data are present on line W2 (represented by a black dot). More specifically, if the distance value of the pixel to be processed is 3.5, the data with a distance value of 3 and the data with a distance value of 4 on line W2 are selected.

[0053] Furthermore, when selecting data, if the reflectance of the subject S for which three-dimensional information is to be generated is known in advance, data close to that reflectance may be selected. The reflectance of the subject S may be selected by an operator, or may be determined based on an IR image, an RGB image, or the like captured by the imaging device 10.

[0054] FIG. 8 is a second diagram for explaining how to calculate the ideal IR value according to the embodiment. In the diagram, the horizontal axis represents distance, and the vertical axis represents IR value (amount of received light). Also, in the diagram, two pieces of data selected based on the distance values ​​are shown as points P1 and P2. In association with the explanation given above in FIG. 7 , point P1 is, for example, a point on line W2 whose distance value is 3, and point P2 is, for example, a point on line W2 whose distance value is 4. Furthermore, line L1 is a line segment connecting points P1 and P2. The ideal IR value (the point labeled CurrentRecommendIR in the diagram) is calculated based on the distance value at the coordinates to be calculated for the ideal IR value (the point labeled CurrentDepth in the diagram) and line segment L1.

[0055] Returning to FIG. 6, the processing after the ideal IR value is determined will be described.

[0056] (Step S33) The three-dimensional information generation system 1 calculates reliability based on the calculated ideal IR value. The reliability may be, for example, the ratio between the ideal IR value at the coordinates for which the reliability is to be calculated and the distance value at the coordinates for which the reliability is to be calculated. If the actual IR value is greater than the ideal IR value, the upper limit of the reliability may be set to 100%, and any value exceeding 100% may be truncated.

[0057] (Step S32) If it is determined in step S30 that the pixel value is not a valid value, the reliability is set to 0.

[0058] (Step S34) The three-dimensional information generation system 1 stores the reliability calculated in steps S31 and S32 for each pixel. In the following description, information having reliability for each pixel on two-dimensional coordinates is also referred to as a reliability map.

[0059] (Step S35) The three-dimensional information generation system 1 removes from the distance image and the IR image pixels in the created reliability map whose reliability is lower than a predetermined threshold value.

[0060] (Step S36) The three-dimensional information generation system 1 assigns information based on the polarization image to the reliability map. The assignment of information based on the polarization image will be described later with reference to FIG. 9 . Here, depending on the reflectance of the subject S and the amount of light irradiated onto the subject S, specular reflection may occur, and in such cases, the distance information may be inaccurate. By performing the processing in this step, a specular reflection flag is assigned to pixels that are estimated to be specularly reflecting. Furthermore, depending on the subject S, a transparent member may be used, and in such cases, the distance information may also be inaccurate. By performing the processing in this step, a transparent flag is assigned to pixels that are estimated to be using a transparent member.

[0061] (Step S37) The three-dimensional information generation system 1 removes pixels to which at least one of the specular reflection flag and the transparent flag has been assigned from the distance image and the IR image, regardless of the reliability.

[0062] (Step S38) The three-dimensional information generation system 1 performs a process to correct unevenness for each surface of the subject S. Specifically, the three-dimensional information generation system 1 identifies the surface of the subject S and corrects the unevenness by uniformly rewriting the distance values ​​along the surface to smooth values. Rewriting the distance values ​​may involve interpolating pixel values ​​removed from the distance image and IR image based on pixel values ​​in the vicinity of the pixel. Rewriting the distance values ​​may also involve correcting pixel values ​​on the same surface based on pixel values ​​in the vicinity.

[0063] 9 is a fourth flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. An example of the process of adding information based on a polarized image will be described with reference to the flowchart. Adding information based on a polarized image is the process described above as step S36.

[0064] (Step S40) First, a polarization image is captured by the imaging device 10. This polarization image corresponds to the distance image used to create the reliability map in the above description.

[0065] (Step S41) The three-dimensional information generation system 1 separates specular and diffuse reflection components based on the acquired polarized image. Coordinates with a high degree of linear polarization (DoLP) are likely to be specularly reflected. Therefore, the three-dimensional information generation system 1 assigns a specular flag to coordinates with a high DoLP.

[0066] (Step S42) Next, the three-dimensional information generation system 1 determines the polarization direction from the angle of linear polarization (AoLP; Angle of Linear Polarization). Based on the determined polarization direction and DoLP, the three-dimensional information generation system 1 identifies the surfaces of the subject S and their normals. The identified surfaces are then labeled (clustered). In multiple consecutive images, surfaces that are estimated to be the same are assigned the same label (class).

[0067] Due to the relationship between DoLP and reflection angle (incidence angle), two reflection angles are estimated except for Brewster's angle (polarization angle). To resolve this ambiguity, the closest one may be selected by estimating the normal based on tangential depth, based on information from past frame images and information from the current frame image.

[0068] (Step S43) The three-dimensional information generation system 1 performs noise removal on the identified surface.

[0069] (Step S44) Next, the three-dimensional information generation system 1 uses polarized light to determine whether or not the subject S is made of a transparent material. However, some image capture devices 10 have polarized light and others do not. Therefore, the three-dimensional information generation system 1 first determines whether or not the image capture device 10 has polarized light. If the image capture device 10 has polarized light (i.e., step S44; YES), the process proceeds to step S45, where a process for determining whether or not the material is transparent is performed. If the image capture device 10 does not have polarized light (i.e., step S44; NO), the process ends.

[0070] (Step S45) The three-dimensional information generation system 1 determines whether the subject S is made of a transparent material. Because many transparent materials have variable optical properties, irradiating the material with polarized light can determine whether the material is transparent. The determination of whether the material is transparent may be performed for each pixel or for each surface. Specifically, a passive IR image is used to determine whether the material is transparent. Specifically, the passive IR image may be an image acquired using ambient light without irradiating infrared light using a ToF sensor. In the case of an imaging device 10 equipped with polarized light, the influence of reflected light from the polarized light appears in the passive IR image. Therefore, the three-dimensional information generation system 1 determines whether the material is transparent by calculating the reflection intensity from the light source based on the passive IR image.

[0071] (Step S46) If the three-dimensional information generation system 1 determines that the material is transparent (i.e., step S46; YES), the process proceeds to step S47. If the three-dimensional information generation system 1 does not determine that the material is transparent (i.e., step S46; NO), the process ends.

[0072] (Step S47) The three-dimensional information generation system 1 assigns a transparent flag to each pixel or surface determined to be a transparent material. Note that, depending on the shape of the transparent material, changes in optical properties may only appear at the outline. In other words, even if the entire surface is made of a transparent material, the periphery of the edge of the surface may be determined to be a transparent material, while the center of the surface may not be determined to be a transparent material. Therefore, a transparent flag may be assigned to all pixels on the same surface as a surface containing a pixel determined to be a transparent material.

[0073] 10 is a fifth flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. An example of the parts generation process for each camera viewpoint will be described with reference to the same figure. The parts generation process for each camera viewpoint is the process described above as step S25.

[0074] (Step S50) First, the three-dimensional information generation system 1 acquires a reliability map of the current frame and a reliability map of a past frame.

[0075] (Step S51) Next, the three-dimensional information generation system 1 obtains surface elements for each of the current frame and the past frame. Whether or not an element is a surface is determined based on a distance image corresponding to the acquired reliability map.

[0076] (Step S52) The three-dimensional information generation system 1 identifies feature points based on the distance image. Feature points are characteristic points among the points that make up a surface. For example, four feature points are identified for each surface. The three-dimensional information generation system 1 identifies the feature points of the current frame and the feature points of the previous frame. The three-dimensional information generation system 1 finds similarities by matching the identified feature points of the current frame with the feature points of the previous frame. Details of the feature points will be described with reference to FIG. 11.

[0077] FIG. 11 is a diagram illustrating feature points according to an embodiment. First, a specific example of feature points identified for each surface will be described with reference to FIG. 11(A). In the illustrated example, the subject S has at least surfaces SF1, SF2, and SF3. The figure shows four feature points for surface SF1. Specifically, surface SF1 is rectangular, and vertices P11 to P14 of the rectangle are identified as feature points. Note that the number of feature points may be as many as necessary to identify the surface, and is not limited to the example of four points shown in the figure. The number of feature points may differ for each surface. For example, a surface having a complex shape may have a large number of feature points.

[0078] 11(B) is a diagram for explaining matching between feature points of the current frame and feature points of past frames. As shown in the figure, the imaging device 10 captures images of the subject S from multiple positions. In the example shown, the imaging device 10 captures images of the subject S from a point indicated by reference numeral 10-1 and a point indicated by reference numeral 10-2. Regardless of the point from which the image is captured, the feature points of the subject S are identified. The three-dimensional information generation system 1 finds similarities by matching the identified feature points of the current frame with the feature points of past frames.

[0079] 10, the three-dimensional information generation system 1 calculates the displacement of the imaging device 10 based on the information acquired from the inertial measurement unit provided in the imaging device 10 and the similarity determined in step S52. The displacement of the imaging device 10 is the displacement from the point at which the target past frame was captured to the point at which the current frame was captured.

[0080] (Step S54) The three-dimensional information generation system 1 converts the three-dimensional information of the subject S in the current frame into coordinates in a world coordinate system with the reference point as the origin. The coordinates in the world coordinate system are those acquired in step S20.

[0081] (Step S55) The three-dimensional information generation system 1 searches for highly reliable frame images in label units (i.e., face units) among the target frame images, and uses the three-dimensional information of those faces to synthesize three-dimensional information of the subject S. In other words, the three-dimensional information generation system 1 extracts highly reliable three-dimensional information for each face from different frame images, and generates three-dimensional information of the subject S by synthesizing the extracted three-dimensional information in the world coordinate system.

[0082] 12 is a sixth flowchart illustrating the operation of the three-dimensional information generation system according to the embodiment. A detailed example of the three-dimensional information synthesis process will be described with reference to the same figure. The three-dimensional information synthesis process is the process described above as step S55.

[0083] (Step S60) The three-dimensional information generation system 1 determines whether the label included in the target frame image is a new label. A new label is a label that has not appeared so far while the three-dimensional information generation system 1 has processed multiple frame images. If the label is new (i.e., step S60; YES), the three-dimensional information generation system 1 proceeds to step S61. If the label is not new (i.e., step S60; NO), the three-dimensional information generation system 1 proceeds to step S62.

[0084] (Step S61) If the label is new, the three-dimensional information generation system 1 places the three-dimensional information of the surface to which the label is assigned in the world coordinate system.

[0085] (Step S62) If the label is not new, the three-dimensional information generation system 1 compares the reliability of faces having the same label in the current frame with that of faces having the same label in the previous frame. The comparison of reliability may be a comparison of reliability of faces calculated based on the average reliability of each coordinate included in the face, or the like.

[0086] (Step S63) If the reliability of faces with the same label in the current frame and the previous frame is the same (i.e., step S63; YES), the three-dimensional information generation system 1 proceeds to step S64. If the reliability of faces with the same label in the current frame and the previous frame is not the same (i.e., step S63; NO), the three-dimensional information generation system 1 proceeds to step S65.

[0087] (Step S64) If the reliability of faces with the same label is the same in the current frame and the previous frame, the label with the larger face area is placed. This is because when comparing the areas of the same face, the face with the larger area is estimated to be an image of the face taken from the front, and is estimated to be more reliable information.

[0088] (Step S65) If the reliability of faces with the same label is not the same in the current frame and the previous frame, the label with the higher reliability is used. This is because it is estimated that the higher the reliability, the less noise is superimposed and the more accurately three-dimensional information is acquired.

[0089] [Functional Configuration of Three-Dimensional Information Generation System] Next, an example of the functional configuration of the three-dimensional information generation system 1 according to the embodiment will be described with reference to Fig. 13 to Fig. 16. The three-dimensional information generation system 1 described below is an example of a specific configuration for realizing the three-dimensional information generation process described above.

[0090] 13 is a functional configuration diagram showing an example of the functional configuration of a three-dimensional information generation system according to an embodiment. An example of the functional configuration of the three-dimensional information generation system 1 will be described with reference to the same figure. The three-dimensional information generation system 1 includes an imaging device 10, an inertial measurement unit 20, a reliability calculation device 30, a reliability storage unit 40, and a three-dimensional information creation device 50.

[0091] The imaging device 10 captures an image of a subject S. The images captured by the imaging device 10 include a distance image, an IR image, a polarization image, and an RGB image. It is preferable that the two-dimensional coordinates of these images correspond to each other. The imaging device 10 captures images continuously. The continuous images captured by the imaging device 10 can also be called frame images. The imaging device 10 captures images at a predetermined frame rate. The predetermined frame rate may be, for example, 1 FPS (frames per second) or 24 FPS.

[0092] The inertial measurement unit 20 measures the motion of the imaging device 10. The inertial measurement unit 20 may be configured as one of the components provided in the imaging device 10. Specifically, the inertial measurement unit 20 includes an acceleration sensor and a gyro sensor (not shown), and detects acceleration and angular velocity in three axes.

[0093] The reliability calculation device 30 calculates the reliability of each coordinate for each frame image based on the image captured by the imaging device 10 and the acceleration and angular velocity acquired by the inertial measurement unit 20. Information regarding the reliability of each coordinate in each image is also referred to as a reliability map. A specific configuration of the reliability calculation device 30 will be described later with reference to FIG. 14 .

[0094] The reliability storage unit 40 stores the reliability for each image calculated by the reliability calculation device 30. It can also be said that the reliability storage unit 40 stores a reliability map for a plurality of temporally consecutive images (frame images).

[0095] The three-dimensional information creation device 50 creates three-dimensional information of the subject S using a plurality of reliability maps calculated by the reliability calculation device 30 and stored in the reliability storage unit 40. The three-dimensional information creation device 50 cross-references a plurality of temporally consecutive reliability maps to identify a highly reliable portion for each of the components (e.g., surfaces) of the subject S. The three-dimensional information creation device 50 creates three-dimensional information of the subject S by combining the identified highly reliable portions into a world coordinate system.

[0096] FIG. 14 is a functional configuration diagram illustrating an example of the functional configuration of a reliability calculation device according to an embodiment. An example of the functional configuration of the reliability calculation device 30 will be described with reference to the same figure. The reliability calculation device 30 includes a polarization image acquisition unit 311, an IR image acquisition unit 312, a distance image acquisition unit 313, a reliability calculation unit 314, a calibration information storage unit 315, a mirror flag assignment unit 316, a surface identification unit 317, a transparent material determination unit 318, a noise removal unit 319, a transparent flag assignment unit 320, an inertia information acquisition unit 331, an acceleration threshold information storage unit 332, a comparison unit 333, a displacement calculation unit 334, and a reliability output unit 340. Each of these functional units is implemented using, for example, an electronic circuit. Furthermore, each functional unit may include internal storage means such as a semiconductor memory or a magnetic hard disk drive, as necessary. Furthermore, each function may be realized by a computer having a CPU (Central Processing Unit) and software.

[0097] Note that some of the functional components described as being included in the reliability calculation device 30 may also be included in other devices (for example, the three-dimensional information creation device 50) included in the three-dimensional information generation system 1.

[0098] The polarization image acquisition section 311 acquires a polarization image captured by the imaging device 10. The polarization image has polarization information of the subject S at each coordinate in a two-dimensional coordinate system.

[0099] The IR image acquisition unit 312 acquires an IR image captured by the imaging device 10. The IR image has information about the amount of infrared light received at each coordinate in a two-dimensional coordinate system. The IR image may be acquired by using a ToF sensor to capture the amount of infrared light (i.e., ambient light) in a state where no irradiation light is applied.

[0100] The distance image acquisition unit 313 acquires a distance image (depth image) captured by the imaging device 10. The distance image has distance information from the imaging device 10 to the subject S at each coordinate in a two-dimensional coordinate system. The distance information at each coordinate may be referred to as a distance value or a depth value.

[0101] The coordinates of the polarization image, IR image, and distance image correspond to each other. It is preferable that the number of pixels (resolution) of the polarization image, IR image, and distance image be the same, but this is not a limiting example. In other words, the coordinates of the polarization image, IR image, and distance image do not need to correspond one-to-one, but may correspond to each other.

[0102] The imaging device 10 captures images of the subject S from multiple different locations. The imaging device 10 may continuously capture images of the subject S from different locations. In the following description, for simplicity, a case will be described in which the imaging device 10 captures images of the subject S from each of a first location and a second location. A polarized image captured from the first location may be referred to as a first polarized image, an IR image captured from the first location may be referred to as a first IR image, and a distance image captured from the first location may be referred to as a first distance image. A polarized image captured from a second location different from the first location may be referred to as a second polarized image, an IR image captured from the second location may be referred to as a second IR image, and a distance image captured from the second location may be referred to as a second distance image.

[0103] The reliability calculation unit 314 acquires an IR image from the IR image acquisition unit 312 and acquires a distance image from the distance image acquisition unit 313. The reliability calculation unit 314 calculates the reliability for each pixel based on the acquired IR image and distance image. The reliability calculation is performed by referring to correspondence data. The correspondence data is data obtained by measuring in advance the correspondence relationship between the distance to the evaluation chart and the amount of received light using an evaluation chart having a specific reflectance.

[0104] The calibration information storage unit 315 stores pre-measured correspondence data. The correspondence data can also be said to be a correspondence relationship between distance and IR value measured using an evaluation chart. The evaluation chart used for measurement is preferably a gray chart having a plurality of different gray levels. When a gray chart is used for measurement, the correspondence data is data in which distance and received light amount are associated with each other for each gray level.

[0105] 15 is a functional configuration diagram showing an example of the functional configuration of the reliability calculation unit according to the embodiment. An example of the functional configuration of the reliability calculation unit 314 will be described with reference to the same figure. The reliability calculation unit 314 includes a selection unit 3141, an ideal light intensity calculation unit 3142, and a calculation unit 3143.

[0106] The selection unit 3141 acquires a distance image from the distance image acquisition unit 313. The selection unit 3141 selects an appropriate gray level from among multiple gray levels based on distance information at each coordinate in the acquired distance image. Selecting a gray level also means selecting data according to the infrared reflectance of the subject S. The selection of the gray level is performed by referring to the corresponding information stored in the calibration information storage unit 315. Note that if the infrared reflectance of the subject S is known, the selection unit 3141 may select a gray level according to the infrared reflectance of the subject S.

[0107] The ideal light intensity calculation unit 3142 calculates the ideal light intensity at each coordinate based on the data selected by the selection unit 3141 and the distance values ​​of the distance image acquired by the distance image acquisition unit 313. The calculation of the ideal light intensity is performed by referring to the corresponding data stored in the calibration information storage unit 315.

[0108] The calculation unit 3143 calculates the reliability (i.e., a reliability map) at each coordinate based on the result of comparing the ideal light intensity obtained by calculation by the ideal light intensity calculation unit 3142 at each coordinate with the amount of received infrared light included in the IR image acquired by the IR image acquisition unit 312. Returning to FIG. 14 , the reliability map calculated by the reliability calculation unit 314 is output to the mirror surface flag assignment unit 316.

[0109] The mirror surface flag assigning unit 316 acquires the polarized image from the polarization image acquiring unit 311 and acquires the reliability map from the reliability calculating unit 314. The mirror surface flag assigning unit 316 assigns a mirror surface flag to each coordinate in the reliability map based on the acquired polarization image. Specifically, the mirror surface flag assigning unit 316 may assign a mirror surface flag to coordinates with a large DoLP.

[0110] The surface identification unit 317 acquires a polarized image from the polarization image acquisition unit 311 and identifies a surface of the subject S based on the acquired polarized image. The surface identification unit 317 may determine the polarization direction based on the AoLP and identify the surface of the subject S based on the determined polarization direction and the DoLP. The surface identification unit 317 also performs labeling (clustering) for each identified surface.

[0111] The transparent material determination unit 318 acquires a polarized image from the polarization image acquisition unit 311 and determines whether or not the material is transparent based on the acquired polarization image. The determination of whether or not the material is transparent is preferably performed for each pixel. The result of the determination of whether or not the material is transparent performed for each pixel may be reflected on the surface identified by the surface identification unit 317.

[0112] The noise removal unit 319 obtains information on labeling performed for each surface from the surface identification unit 317, and obtains information on the reliability map after the mirror surface flag has been assigned from the mirror surface flag assignment unit 316. The noise removal unit 319 removes distance information at coordinates to which a polarization flag has been assigned, from the distance information that the distance image has at each coordinate. Furthermore, the noise removal unit 319 complements the removed distance information within the range identified as a surface by the surface identification unit 317, thereby smoothing out the irregularities of the surface.

[0113] The transparent flag assigning unit 320 obtains the reliability map after noise has been removed from the noise removal unit 319, and obtains information on the results of the determination of whether or not the material is transparent from the transparent material determination unit 318. The transparent flag assigning unit 320 assigns a transparent flag to coordinates determined to be transparent materials among the coordinates in the reliability map after noise has been removed. The transparent flag assigning unit 320 outputs the reliability map after the transparent flag has been assigned to the reliability output unit 340.

[0114] The inertial information acquisition unit 331 acquires information about the motion of the imaging device 10 from the inertial measurement device 20. Specifically, the distance image acquisition unit 313 acquires information about the acceleration and angular velocity in three axes. The inertial information acquisition unit 331 may also acquire information about the timing at which an image was captured by the imaging device 10. By acquiring information about the timing at which an image was captured by the imaging device 10, the inertial information acquisition unit 331 acquires information about the motion of the imaging device 10 from when a first image was captured by the imaging device 10 to when a second image was captured.

[0115] The acceleration threshold information storage unit 332 stores information related to the acceleration threshold. The acceleration threshold is the limit of acceleration at which an image is recognized as normal. In other words, if the acceleration acquired by the inertial information acquisition unit 331 is equal to or greater than the acceleration threshold, the image is estimated to be abnormal (for example, an image that is blurred by hand movement).

[0116] The comparison unit 333 compares the acceleration acquired by the inertia information acquisition unit 331 with the acceleration threshold stored in the acceleration threshold information storage unit 332. The comparison unit 333 outputs the comparison result to the displacement calculation unit 334. The comparison result indicates whether or not the image is normal.

[0117] The displacement calculation unit 334 acquires information related to the movement of the imaging device 10 between frame images from the inertial information acquisition unit 331, and acquires information related to the determination result as to whether the images are normal from the comparison unit 333. If the images are normal, the displacement calculation unit 334 calculates the displacement of the imaging device 10 between the frame images. The displacement calculation unit 334 outputs information related to the displacement of the imaging device 10 between the frame images obtained as a result of the calculation to the reliability output unit 340. Note that if the images are not normal, the comparison unit 333 or the displacement calculation unit 334 may notify the reliability calculation unit 314 or the like to stop the calculation process of the reliability map.

[0118] The reliability output unit 340 acquires a reliability map from the transparency flag assignment unit 320 and acquires information related to the displacement of the image capture device 10 from the displacement calculation unit 334. The reliability output unit 340 associates the acquired information and stores it in the reliability storage unit 40. The reliability storage unit 40 stores the reliability map and information related to the displacement of the image capture device 10 for each frame image in association with each other. Note that the reliability storage unit 40 may also store an RGB image, a distance image, or the like corresponding to the reliability map in association with the reliability map, in addition to the reliability map and the information related to the displacement of the image capture device 10.

[0119] FIG. 16 is a functional configuration diagram showing an example of the functional configuration of a three-dimensional information creation device according to an embodiment. An example of the functional configuration of a three-dimensional information creation device 50 will be described with reference to the same figure. The three-dimensional information creation device 50 includes a reliability information acquisition unit 51, a surface element identification unit 52, a similarity calculation unit 53, and a synthesis unit 55. Each of these functional units is implemented using, for example, electronic circuits. Furthermore, each functional unit may include internal storage means such as a semiconductor memory or a magnetic hard disk drive, as necessary. Furthermore, each function may be implemented by a computer having a CPU and software.

[0120] The three-dimensional information creation device 50 generates three-dimensional information of the subject S based on the reliability of each of the plurality of frame images stored in the reliability storage unit 40 and information related to the displacement of the imaging device 10. Specifically, the three-dimensional information creation device 50 compares the reliability at a first time point with the reliability at a second time point, and creates three-dimensional information based on the distance image with the highest reliability. The three-dimensional information creation device 50 can generate highly reliable three-dimensional information by selectively using highly reliable distance information from the plurality of frame images.

[0121] The reliability information acquisition unit 51 acquires the reliability map stored in the reliability storage unit 40. The reliability information acquisition unit 51 also acquires information related to the displacement of the imaging device 10, information related to the RGB image, and the like, which are associated with the reliability map.

[0122] The surface element identification unit 52 identifies surface elements based on a distance image corresponding to the acquired reliability map. The surface elements may be surfaces whose distance information is continuous (surfaces whose distance information is not discrete). The surface element identification unit 52 also identifies feature points for identifying the surfaces.

[0123] The similarity calculation unit 53 calculates similarities based on feature points in the current frame image and feature points in the past frame images. By calculating the similarities, it becomes possible to match the current frame image with the past frame images.

[0124] The synthesis unit 55 selectively extracts distance information about surfaces from the frame image with the highest reliability among the plurality of frame images in accordance with the matching results, and synthesizes the distance information about the extracted surfaces to generate three-dimensional information of the subject S. The generated three-dimensional information is presented to the operator.

[0125] FIG. 17 is a block diagram showing an example of the internal configuration of the reliability calculation device 30 and the three-dimensional information creation device 50 according to this embodiment. The figure shows the internal configuration of either the reliability calculation device 30 or the three-dimensional information creation device 50. Both the reliability calculation device 30 and the three-dimensional information creation device 50 may have the internal configuration shown in the figure as a hardware configuration. At least some of the functions of the reliability calculation device 30 and the three-dimensional information creation device 50 can be implemented using a computer. As shown in the figure, the computer includes a central processing unit 901, a RAM 902, an input / output port 903, input / output devices 904 and 905, etc., and a bus 906. The computer itself can be implemented using existing technology. The central processing unit 901 executes instructions included in a program read from the RAM 902, etc. The central processing unit 901 writes data to the RAM 902, reads data from the RAM 902, and performs arithmetic and logical operations according to each instruction. The RAM 902 stores data and programs. Each element included in RAM 902 has an address and can be accessed using the address. RAM is an abbreviation for "random access memory." Input / output port 903 is a port through which central processing unit 901 exchanges data with external input / output devices. Input / output devices 904 and 905 are input / output devices. Input / output devices 904 and 905 exchange data with central processing unit 901 via input / output port 903. Bus 906 is a common communication path used within the computer. For example, central processing unit 901 reads and writes data from RAM 902 via bus 906. Also, for example, central processing unit 901 accesses the input / output port via bus 906.

[0126] Summary of the Embodiment According to the embodiment described above, the reliability calculation device 30 includes a distance image acquisition unit 313 for acquiring a distance image having distance information at each coordinate in a two-dimensional coordinate system; an IR image acquisition unit 312 for acquiring an IR image corresponding to the distance image and having information on the amount of infrared light received at each coordinate in the distance image; an ideal light intensity calculation unit 3142 for calculating an ideal light intensity based on the distance information at each coordinate in the acquired distance image by referring to correspondence data, which is data that previously measured the correspondence relationship between distance and amount of received light using an evaluation chart with a specific reflectance; and a calculation unit 3143 for calculating the reliability at each coordinate based on the result of comparing the calculated ideal light intensity with the amount of infrared light received in the IR image. By adopting this configuration, the reliability calculation device 30 can calculate the reliability of the distance value for each pixel. Generating three-dimensional information based on the reliability calculated by the reliability calculation device 30 allows the generation of three-dimensional information of the subject without inaccurate distance values, thereby generating highly accurate three-dimensional information that eliminates abnormal values ​​due to noise, etc.

[0127] According to the above-described embodiment, the evaluation chart is a gray chart having a plurality of different gray levels, and the correspondence data is data in which distance and received light amount are associated with each other for each gray level. Furthermore, the reliability calculation device 30 further includes a selection unit 3141, which selects an appropriate gray level from among the plurality of gray levels based on distance information at each coordinate in the acquired distance image. The ideal light amount calculation unit 3142 calculates the ideal light amount based on the data of the gray level selected by the selection unit 3141. The received light amount varies depending on the infrared reflectance of the subject S. The reliability calculation device 30 calculates the reliability by comparing the ideal light amount for each infrared reflectance measured in advance with the light amount obtained by imaging. Therefore, according to this embodiment, the reliability can be calculated with high accuracy.

[0128] According to the above-described embodiment, the three-dimensional information creation device 50 creates three-dimensional information using the reliability calculation device 30 described above. The distance image acquisition unit 313 acquires a first distance image having distance information from a first location to the subject and a second distance image having distance information from a second location different from the first location to the subject. The IR image acquisition unit 312 acquires a first IR image corresponding to the first distance image and a second IR image corresponding to the second distance image. The three-dimensional information creation device 50 also compares the reliability based on the first distance image and the first IR image with the reliability based on the second distance image and the second IR image, and creates three-dimensional information based on the distance image with the highest reliability. Therefore, the three-dimensional information creation device 50 can generate three-dimensional information of the subject based on highly reliable distance information, thereby generating highly accurate three-dimensional information that eliminates abnormal values ​​due to noise and other factors.

[0129] According to the above-described embodiment, the 3D information creation device 50 further includes a polarization image acquisition unit 311 to acquire a polarization image corresponding to the distance image and having polarization information of the subject at each coordinate in the distance image; a mirror flag assignment unit 316 to assign a mirror flag to each coordinate based on the acquired polarization image; a noise removal unit 319 to remove distance information at coordinates to which a mirror flag is assigned from the distance information held at each coordinate in the distance image; and a surface identification unit 317 to identify a surface based on the acquired polarization image. The 3D information creation device 50 also creates 3D information by complementing the removed distance information within the range identified as a surface, thereby smoothing out the irregularities of the surface. Therefore, according to this embodiment, accurate 3D information of the subject S can be generated even if the subject S has a material that is difficult for a ToF sensor to detect, such as a mirror surface.

[0130] Note that all or part of the functions of each device included in the three-dimensional information generation system 1 in the above-described embodiment may be realized by recording a program for realizing these functions on a computer-readable recording medium, and then loading and executing the program recorded on the recording medium into a computer system. Note that the term "computer system" here includes hardware such as an OS and peripheral devices.

[0131] Furthermore, "computer-readable recording media" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, as well as storage units such as hard disks built into computer systems. Furthermore, "computer-readable recording media" may also include devices that dynamically store programs for a short period of time, such as communication lines used when transmitting programs over networks like the Internet or communication lines like telephone lines, or devices that store programs for a fixed period of time, such as volatile memory within computer systems that serve as servers or clients in such cases. Furthermore, the above-mentioned programs may be programs that realize some of the aforementioned functions, or may be programs that can realize the aforementioned functions in combination with programs already stored in the computer system.

[0132] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention. In addition, the above-described embodiments may be combined as appropriate.

[0133] According to the present invention, the reliability of the distance measurement value can be calculated.

[0134] 1... Three-dimensional information generation system, 10... Imaging device, 20... Inertial measurement unit, 30... Reliability calculation device, 40... Reliability storage unit, 50... Three-dimensional information creation device, 311... Polarized image acquisition unit, 312... IR image acquisition unit, 313... Distance image acquisition unit, 314... Reliability calculation unit, 315... Calibration information storage unit, 316... Mirror surface flag assignment unit, 317... Surface identification unit, 318... Transparent material determination unit, 319... noise removal unit, 320... transparency flag assignment unit, 331... inertia information acquisition unit, 332... acceleration threshold information storage unit, 333... comparison unit, 334... displacement calculation unit, 340... reliability output unit, 3141... selection unit, 3142... ideal light intensity calculation unit, 3143... calculation unit, 51... reliability information acquisition unit, 52... surface element identification unit, 53... similarity calculation unit, 55... synthesis unit, S... subject, MK... marker

Claims

1. A reliability calculation device comprising: a distance image acquisition unit that acquires a distance image having distance information at each coordinate of a two-dimensional coordinate system; an IR image acquisition unit that acquires an IR image having information corresponding to the distance image, the IR image having information regarding the amount of infrared light received at each coordinate of the distance image; an ideal light intensity calculation unit that calculates an ideal light intensity based on the distance information at each coordinate of the acquired distance image by referring to corresponding data which is data obtained by previously measuring the correspondence relationship between the distance to the evaluation chart and the amount of received light using an evaluation chart having a specific reflectance; and a calculation unit that calculates the reliability at each coordinate based on a result of comparing the ideal light intensity obtained by calculation at each coordinate with the amount of infrared light received included in the IR image.

2. The reliability calculation device according to claim 1, further comprising a selection unit that selects an appropriate gray level from among the multiple gray levels based on distance information at each coordinate of the acquired distance image, and the ideal light intensity calculation unit calculates the ideal light intensity based on the gray level data selected by the selection unit.

3. A three-dimensional information creation device that creates three-dimensional information using the reliability calculation device according to claim 1 or 2, wherein the distance image acquisition unit acquires a first distance image having distance information from a first point to a subject, and a second distance image having distance information from a second point different from the first point to the subject, the IR image acquisition unit acquires a first IR image corresponding to the first distance image and a second IR image corresponding to the second distance image, and the three-dimensional information creation device compares reliability based on the first distance image and the first IR image with reliability based on the second distance image and the second IR image, and creates three-dimensional information based on the distance image with the highest reliability.

4. A three-dimensional information creation device as described in claim 3, further comprising: a polarized image acquisition unit that acquires a polarized image having polarization information of the subject at each coordinate of the distance image, the polarized image being information corresponding to the distance image; a mirror flag assignment unit that assigns a mirror flag to each coordinate based on the acquired polarized image; a noise removal unit that removes distance information at coordinates to which the mirror flag is assigned from the distance information that the distance image has at each coordinate; and a surface identification unit that identifies a surface based on the acquired polarized image, and creates three-dimensional information by smoothing out unevenness of the surface by complementing the removed distance information within the range identified as a surface.

5. A reliability calculation method comprising: a distance image acquisition step of acquiring a distance image having distance information at each coordinate of a two-dimensional coordinate system; an IR image acquisition step of acquiring an IR image having information corresponding to the distance image, the IR image having information regarding the amount of infrared light received at each coordinate of the distance image; an ideal light intensity calculation step of calculating an ideal light intensity based on the distance information at each coordinate of the acquired distance image by referring to corresponding data which is data obtained by previously measuring the correspondence relationship between the distance to a subject and the amount of received light using a subject having a specific reflectance; and a calculation step of calculating the reliability at each coordinate based on a result of comparing the ideal light intensity obtained by calculation at each coordinate with the amount of infrared light received included in the IR image.

Citation Information

Patent Citations

  • Distance image sensor

    JP2006105694A

  • Intrusion detection apparatus

    JP2007122507A

  • Image processing device and method, and program

    JP2013044597A

  • Image processing apparatus, ambient environment estimation method, and ambient environment estimation program

    JP2014066602A

  • Information processing device, measurement system, information processing method and program

    JP2018004310A

Cited By

  • Imaging system, learning device, and inference device

    WO2026023251A1