Method for processing information, information processor, and program
The depth acquisition device improves depth measurement accuracy by using infrared and visible light imaging to detect and correct low reflection areas, addressing the inaccuracies in conventional devices for low-reflectance subjects.
Patent Information
- Application Number
- JP2024091156
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2018-09-27
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 2024119891000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a depth acquisition device that acquires the distance to a subject as a depth. [Background technology]
[0002] Conventionally, a distance measuring device that measures the distance to a subject has been proposed (see, for example, Patent Document 1). This distance measuring device includes a light source and an imaging unit. The light source irradiates light onto the subject. The imaging unit captures the light reflected by the subject. The distance measuring device then measures the distance to the subject by converting each pixel value of the image obtained by the imaging into the distance to the subject. In other words, the distance measuring device obtains the depth of the image obtained by the imaging unit. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2011-64498 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the distance measuring device of Patent Document 1 has a problem in that it is not possible to obtain the depth accurately.
[0005] Therefore, the present disclosure provides a depth acquisition device that can accurately acquire the depth, which is the distance to a subject. [Means for solving the problem]
[0006] An information processing method according to one embodiment of the present disclosure obtains a first image by capturing light irradiated from a light source and reflected by a subject, obtains a second image by capturing an image of the subject using visible light, and detects low-reflection areas based on the first image and the second image.
[0007] An imaging device according to one embodiment of the present disclosure includes a light source that irradiates a subject with irradiation light, a solid-state imaging element that performs a first image of the subject and a second image using light reflected by the subject from the irradiation light, and acquires a visible light image by the first image capture, a low-reflection area detection unit that detects low-reflection areas using subject information regarding the subject output by the solid-state imaging element, and a depth correction unit that corrects the low-reflection areas based on the visible light image, and generates and outputs output information based on the correction.
[0008] These comprehensive or specific aspects may be realized by a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized by any combination of the system, the method, the integrated circuit, the computer program, and the recording medium. The recording medium may be a non-transitory recording medium. Effect of the Invention
[0009] The depth acquisition device of the present disclosure can accurately acquire the depth, which is the distance to the subject. Further advantages and effects of one aspect of the present disclosure will be apparent from the specification and drawings. Such advantages and / or effects are provided by some embodiments and features described in the specification and drawings, respectively, but all of them are not necessarily provided to obtain one or more identical features. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing a hardware configuration of a depth acquisition device according to an embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing a pixel array of the solid-state imaging device according to the embodiment. [Diagram 3] FIG. 3 is a timing chart showing the relationship between the light emission timing of the light emitting element of the light source and the exposure timing of the first pixel of the solid-state imaging element in the embodiment. [Figure 4]FIG. 4 is a block diagram illustrating an example of a functional configuration of the depth acquisition device according to the embodiment. [Diagram 5] FIG. 5 is a diagram showing an example of a BW image, an IR image, and a depth image. [Figure 6] FIG. 6 is a diagram showing other examples of a BW image, an IR image, and a depth image. [Figure 7] FIG. 7 is a diagram showing a simulation result of the depth acquisition device according to the embodiment. [Figure 8] FIG. 8 is a flowchart showing the overall processing operation of the depth acquisition device according to the embodiment. [Figure 9] FIG. 9 is a flowchart showing an example of a processing operation of the low-reflection region detection unit in the embodiment. [Figure 10] FIG. 10 is a flowchart showing another example of the processing operation of the low-reflection region detection unit in the embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of correction of a depth image by the depth correction unit according to the embodiment. [Figure 12] FIG. 12 is a flowchart showing a correction processing operation by the depth corrector in the embodiment. [Figure 13] FIG. 13 is a diagram showing another example of correction of the depth image by the depth correcting unit in the embodiment. [Figure 14] FIG. 14 is a block diagram illustrating an example of a functional configuration of a depth acquisition device according to a modification of the embodiment. In FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Findings on which this disclosure is based) The present inventors have found that the distance measuring device of Patent Document 1 described in the "Background Art" section has the following problems.
[0012] As described above, the distance measuring device of Patent Document 1 irradiates a subject with light from a light source, captures an image of the subject irradiated with the light, and measures the depth of the image. ToF (Time of Flight) is used for measuring the depth. In such a distance measuring device, imaging is performed under different imaging conditions to improve the accuracy of distance measurement. That is, the distance measuring device captures an image according to a predetermined imaging condition, and sets an imaging condition different from the predetermined imaging condition depending on the imaging result. Then, the distance measuring device captures an image again according to the set imaging condition.
[0013] However, with the distance measuring device of Patent Document 1, even if the imaging conditions are changed, it is difficult to correctly measure the depth, which is the distance to a subject that has low reflectance with respect to irradiated light.
[0014] In order to solve such problems, a depth acquisition device according to one aspect of the present disclosure includes a memory and a processor, in which the processor measures the intensity of infrared light irradiated from a light source and reflected by a subject by imaging each of a plurality of pixels included in an imaging element, acquires the intensity of the infrared light stored in the memory, and generates a depth image by calculating, for each of a plurality of pixels included in the imaging element, a distance to the subject as a depth based on the intensity of the infrared light received by the pixel; acquires a visible light image, which is an image based on visible light of substantially the same scene as an infrared light image formed based on the intensity of the infrared light received by each of a plurality of pixels included in the imaging element, the visible light image being generated by imaging from substantially the same viewpoint and time as the infrared light image and stored in the memory; detects low-reflection regions, which are regions of the subject where objects having low reflectivity to infrared light are reflected in the infrared light image, based on the infrared light image and the visible light image; corrects the low-reflection regions of the depth image based on the visible light image; and outputs the corrected depth image. The low-reflection area of the depth image is an area in the depth image that is located at the same position as the low-reflection area in the infrared light image and has the same shape and size as the low-reflection area. Hereinafter, such a low-reflection area of the depth image is also referred to as a correction target area.
[0015] For example, if an object with low reflectance to infrared light (hereinafter also referred to as a low-reflection object) is included in the subject, the distance to the low-reflection object, i.e., the depth, calculated based on the intensity of the infrared light reflected by the low-reflection object, will be calculated to be longer than the actual depth. In other words, the area of the depth image corresponding to the low-reflection object will not show the correct depth.
[0016] However, in the depth acquisition device according to the above aspect, a low-reflection area in which the low-reflection object is projected is detected in the infrared light image, and the area in the depth image corresponding to the low-reflection area is set as the correction target area. In other words, an area in which an inappropriate depth is shown in the depth image because the subject includes a low-reflection object is specified as the correction target area. Then, by correcting the depth of this correction target area, the depth, which is the distance to the low-reflection object, can be accurately acquired.
[0017] Here, an example of an image of a substantially identical scene captured at substantially the same viewpoint and time is an image captured by different pixels of the same image sensor. Such an image is similar to the red, green and blue channel images of a color image captured by a Bayer array color filter, and the angle of view, viewpoint and capture time of each image are almost the same. That is, in the images of a substantially identical scene captured at substantially the same viewpoint and time, the position of the subject on the image does not differ by more than two pixels in each captured image. For example, when a point light source having visible light and infrared components exists in the scene and only one pixel is captured with high luminance in the visible light image, the point light source is also captured in the infrared light image closer than two pixels to the pixel position captured in the visible light image. Moreover, capturing at substantially the same time indicates that the difference in the capture time is equal to or less than one frame.
[0018] In addition, in the detection of the low reflection region, a region in which an object is reflected in the visible light image is detected as an object region, and it is determined whether or not the luminance of a determination target region in the infrared light image corresponding to the object region is equal to or less than a first threshold, and the determination target region having the luminance determined to be equal to or less than the first threshold may be detected as the low reflection region. For example, the object region is detected by a process such as pattern matching or image recognition. Note that the region in the infrared light image corresponding to the object region is a region in the infrared light image that is located at the same position as the object region in the visible light image and has the same shape and size as the object region.
[0019] As a result, the area in which the object is projected is detected as the object area from the visible light image. The object projected in the detected object area is likely to be close, not in the distant background, and to be irradiated with infrared light from a light source. If the luminance of the area in the infrared light image corresponding to the object area is low, the object is likely to be a low-reflection object. Therefore, in the depth acquisition device according to the above aspect, the area in the infrared light image corresponding to the object area and having a luminance equal to or lower than the first threshold is detected as the low-reflection area, so that the low-reflection area can be appropriately detected.
[0020] In addition, when detecting the low-reflection area, it may further be determined whether the noise intensity contained in the infrared light intensity in the determination target area among the infrared light intensity obtained from the memory is equal to or less than a second threshold, and the determination target area whose noise intensity is determined to be equal to or less than the second threshold may be detected as the low-reflection area.
[0021] For example, the subject may be irradiated not only with infrared light from a light source, but also with infrared light contained in external light such as sunlight. The intensity of the infrared light contained in the external light may be treated as noise intensity, and an infrared image may be formed based on the intensity of the infrared light excluding the noise intensity. However, if the noise intensity is large, such as during bright daytime, the luminance of the infrared image is reduced in order to remove the noise intensity. Therefore, if the noise intensity is large, even if the luminance of a region in the infrared image corresponding to the object region of the visible light image is low as described above, the region may not be a low reflection region. Therefore, in the depth acquisition device according to the above embodiment, a region with a small noise intensity determined to be equal to or less than the second threshold is detected as a low reflection region, and therefore the low reflection region can be more appropriately detected.
[0022] In addition, the intensity of the infrared light obtained from the memory consists of at least three intensities measured by exposing the image sensor at at least three different timings when the infrared light irradiated from the light source and reflected by the subject is received by the image sensor, and in generating the depth image, the depth may be calculated for each of a plurality of pixels included in the image sensor based on the at least three intensities measured for that pixel, thereby generating the depth image.
[0023] This allows depth images to be generated with high accuracy using ToF.
[0024] The noise intensity may also be a minimum intensity of the at least three intensities.
[0025] This makes it possible to obtain the noise intensity appropriately.
[0026] In addition, in the correction of the low reflection area of the depth image, the type of object reflected in the area may be identified based on an image of the area in the visible light image corresponding to the low reflection area, and the depth of the area may be estimated based on the type of the identified object and the size of the object reflected in the area, thereby correcting the depth of the low reflection area of the depth image. For example, the type of object is identified by a process such as pattern matching or image recognition. Note that the area in the visible light image corresponding to the low reflection area is an area in the visible light image that is located at the same position as the low reflection area in the infrared light image and has the same shape and size as the low reflection area.
[0027] In this way, if the correspondence between the type and size of an object and the depth is known, it is possible to estimate an appropriate depth based on the type and size of the object identified based on the image of the area in the visible light image corresponding to the low-reflection area, and as a result, it is possible to correct the depth of the low-reflection area of the depth image, i.e., the correction target area, to an accurate depth.
[0028] Furthermore, the depth of the correction target area may be corrected to the depth of the area below the correction target area without using a visible light image.
[0029] For example, when the low-reflection object is a vehicle, the vehicle is located on a road surface and the depth of the road surface is close to the depth of the vehicle. Therefore, in the depth acquisition device according to the above aspect, the depth of the correction target area is corrected to the depth of the area below the correction target area, so that the depth of the correction target area can be corrected to an accurate depth.
[0030] In addition, a depth acquisition device according to another aspect of the present disclosure includes a memory and a processor, wherein the processor measures the intensity of infrared light irradiated from a light source and reflected by a subject by imaging each of a plurality of pixels included in an imaging element, acquires the intensity of the infrared light stored in the memory, and generates a depth image by calculating, for each of a plurality of pixels included in the imaging element, a distance to the subject as a depth based on the intensity of the infrared light received by the pixel, and acquires a visible light image, which is an imaging based on visible light of substantially the same scene as an infrared light image formed based on the intensity of the infrared light received by each of a plurality of pixels included in the imaging element, the visible light image being generated by imaging from substantially the same viewpoint and time as the infrared light image and stored in the memory, and may correct the depth of the depth image by inputting the depth image, the infrared light image, and the visible light image into a learning model.
[0031] This means that if the learning model is trained in advance to output a corrected depth image for the input of a depth image, an infrared light image, and a visible light image, an appropriate depth image can be easily obtained without detecting low-reflection areas.
[0032] These comprehensive or specific aspects may be realized by a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized by any combination of the system, the method, the integrated circuit, the computer program, or the recording medium. The recording medium may be a non-transitory recording medium.
[0033] Hereinafter, the embodiment will be specifically described with reference to the drawings.
[0034] The embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component arrangement and connection forms, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in an independent claim showing a top concept are described as optional components.
[0035] In addition, each drawing is a schematic diagram and is not necessarily a precise illustration. In addition, in each drawing, the same components are denoted by the same reference numerals.
[0036] (Embodiment) [Hardware configuration] 1 is a block diagram showing a hardware configuration of a depth acquisition device 1 according to an embodiment. The depth acquisition device 1 in this embodiment has a hardware configuration capable of acquiring an image based on infrared light (or near-infrared light) and an image based on visible light by capturing images of substantially the same scene and from substantially the same viewpoint and time. Note that "substantially the same" means that the images are the same to the extent that the effects of the present disclosure can be achieved.
[0037] As shown in FIG. 1, the depth acquisition device 1 includes a light source 10, a solid-state imaging element 20, a processing circuit 30, a diffuser 50, a lens 60, and a band-pass filter .
[0038] The light source 10 emits illumination light. More specifically, the light source 10 emits illumination light to irradiate a subject at a timing indicated by a light emission signal generated by the processing circuit 30.
[0039] The light source 10 includes, for example, a capacitor, a driving circuit, and a light emitting element, and emits light by driving the light emitting element with electrical energy stored in the capacitor. The light emitting element is realized by, for example, a laser diode, a light emitting diode, etc. The light source 10 may include one type of light emitting element, or may include multiple types of light emitting elements according to the purpose.
[0040] In the following, the light emitting element is, for example, a laser diode that emits near-infrared light, or a light emitting diode that emits near-infrared light. However, the irradiation light irradiated by the light source 10 does not need to be limited to near-infrared light. The irradiation light irradiated by the light source 10 may be, for example, infrared light (also called infrared light) in a frequency band other than near-infrared light. Hereinafter, in this embodiment, the irradiation light irradiated by the light source 10 is described as infrared light, but the infrared light may be near-infrared light or infrared light in a frequency band other than near-infrared light.
[0041] The solid-state imaging element 20 captures an image of a subject and outputs an imaging signal indicating the amount of exposure. More specifically, the solid-state imaging element 20 performs exposure at a timing indicated by an exposure signal generated by the processing circuit 30, and outputs an imaging signal indicating the amount of exposure.
[0042] The solid-state imaging element 20 has a pixel array in which first pixels that capture an image using light reflected by a subject from irradiation light and second pixels that capture an image of the subject are arranged in an array. The solid-state imaging element 20 may have a logic function such as a cover glass, an AD converter, etc., as necessary.
[0043] In the following description, the reflected light is assumed to be infrared light, like the irradiated light; however, the reflected light does not have to be limited to infrared light, so long as it is light that is the irradiated light reflected by the subject.
[0044] FIG. 2 is a schematic diagram showing a pixel array 2 of the solid-state imaging device 20. As shown in FIG.
[0045] As shown in FIG. 2, the pixel array 2 is configured such that first pixels 21 (IR pixels) that capture images using light reflected by a subject from irradiated light and second pixels 22 (BW pixels) that capture images of the subject are arranged in an array in alternating columns.
[0046] 2, in the pixel array 2, the second pixels 22 and the first pixels 21 are arranged adjacent to each other in the row direction and arranged in a stripe pattern in the row direction, but the present invention is not limited to this and the pixels may be arranged every several rows (as an example, every two rows). That is, the first row in which the second pixels 22 are arranged adjacent to each other in the row direction and the second row in which the first pixels 21 are arranged adjacent to each other in the row direction may be arranged alternately every M rows (M is a natural number). Furthermore, the first row in which the second pixels 22 are arranged adjacent to each other in the row direction and the second row in which the first pixels 21 are arranged adjacent to each other in the row direction may be arranged at different intervals (the first row is alternately N rows and the second row is alternately L rows (N and L are different natural numbers)).
[0047] The first pixel 21 is realized by, for example, an infrared pixel having sensitivity to infrared light, which is reflected light, and the second pixel 22 is realized by, for example, a visible pixel having sensitivity to visible light.
[0048] The infrared light pixel includes, for example, an optical filter (also called an IR filter) that transmits only infrared light, a microlens, a light receiving element as a photoelectric conversion unit, and an accumulation unit that accumulates electric charges generated by the light receiving element. Therefore, an image indicating the luminance of infrared light is expressed by imaging signals output from a plurality of infrared light pixels (i.e., the first pixels 21) included in the pixel array 2. Hereinafter, this infrared light image is also called an IR image or an infrared light image.
[0049] Also, the visible light pixel includes, for example, an optical filter (also called a BW filter) that transmits only visible light, a microlens, a light receiving element as a photoelectric conversion unit, and an accumulation unit that accumulates the electric charge converted by the light receiving element. Therefore, the visible light pixel, i.e., the second pixel 22, outputs an image signal indicating the luminance and color difference. That is, a color image indicating the luminance and color difference of visible light is expressed by the image signal output from the second pixels 22 included in the pixel array 2. Note that the optical filter of the visible light pixel may transmit both visible light and infrared light, or may transmit only light of a specific wavelength band such as red (R), green (G), or blue (B) of visible light.
[0050] Also, the visible light pixels may detect only the luminance of visible light. In this case, the visible light pixels, i.e., the second pixels 22, output imaging signals indicating the luminance. Therefore, a black and white image indicating the luminance of visible light, in other words, a monochrome image, is expressed by the imaging signals output from the second pixels 22 included in the pixel array 2. Hereinafter, this monochrome image is also referred to as a BW image. The above-mentioned color image and BW image are also collectively referred to as a visible light image.
[0051] Returning to FIG. 1 again, the description of the depth acquisition device 1 will continue.
[0052] The processing circuit 30 uses the imaging signal output by the solid-state imaging device 20 to calculate subject information relating to the subject.
[0053] The processing circuit 30 is configured, for example, by an arithmetic processing device such as a microcomputer. The microcomputer includes a processor (microprocessor), memory, etc., and generates a light emission signal and an exposure signal by executing a driving program stored in the memory by the processor. The processing circuit 30 may use an FPGA or an ISP, etc., and may be configured by one piece of hardware or multiple pieces of hardware.
[0054] The processing circuit 30 calculates the distance to the subject, for example, by a ToF distance measuring method using an imaging signal from the first pixel 21 of the solid-state imaging device 20.
[0055] Hereinafter, calculation of the distance to the subject by the ToF distance measurement method performed by the processing circuit 30 will be described with reference to the drawings.
[0056] FIG. 3 is a timing diagram showing the relationship between the light emission timing of the light-emitting element of the light source 10 and the exposure timing of the first pixel 21 of the solid-state imaging element 20 when the processing circuit 30 calculates the distance to a subject using the ToF distance measurement method.
[0057] 3, Tp is the light emission period during which the light emitting element of the light source 10 emits the irradiation light, and Td is the delay time from when the light emitting element of the light source 10 emits the irradiation light to when the reflected light of the irradiation light reflected by the subject returns to the solid-state imaging element 20. The first exposure period has the same timing as the light emission period during which the light source 10 emits the irradiation light, and the second exposure period has the timing from the end of the first exposure period until the light emission period Tp has elapsed.
[0058] In Figure 3, q1 indicates the total amount of exposure to reflected light at the first pixel 21 of the solid-state imaging element 20 during the first exposure period, and q2 indicates the total amount of exposure to reflected light at the first pixel 21 of the solid-state imaging element 20 during the second exposure period.
[0059] By emitting light by the light-emitting element of the light source 10 and exposing the first pixel 21 of the solid-state imaging element 20 at the timing shown in Figure 3, the distance d to the subject can be expressed by the following (Equation 1), where c is the speed of light.
[0060] d=c×Tp / 2×q2 / (q1+q2) (Formula 1)
[0061] Therefore, by utilizing (Equation 1), the processing circuit 30 can calculate the distance to the subject using the imaging signal from the first pixel 21 of the solid-state imaging device 20.
[0062] Furthermore, the first pixels 21 of the solid-state imaging device 20 may be exposed for only a third exposure period Tp after the first and second exposure periods are completed. The first pixels 21 can detect noise other than reflected light based on the amount of exposure obtained in the third exposure period Tp. In other words, the processing circuit 30 can more accurately calculate the distance d to the subject by removing noise from the amount of exposure q1 in the first exposure period and the amount of exposure q2 in the second exposure period in the above formula 1.
[0063] Returning to FIG. 1 again, the description of the depth acquisition device 1 will continue.
[0064] The processing circuit 30 may use, for example, an imaging signal from the second pixel 22 of the solid-state imaging device 20 to detect the subject and calculate the distance to the subject.
[0065] That is, the processing circuit 30 may detect the subject and calculate the distance to the subject based on the visible light image captured by the multiple second pixels 22 of the solid-state imaging device 20. Here, the subject may be detected by, for example, determining the shape by pattern recognition using edge detection of the singular points of the subject, or by processing such as deep learning using a learning model learned in advance. The distance to the subject may be calculated using world coordinate transformation. Of course, the subject may be detected by multimodal learning processing using not only the visible light image but also the luminance and distance information of the infrared light captured by the first pixels 21.
[0066] The processing circuit 30 generates a light emission signal indicating the timing of light emission and an exposure signal indicating the timing of exposure. Then, the processing circuit 30 outputs the generated light emission signal to the light source 10 and outputs the generated exposure signal to the solid-state imaging element 20.
[0067] The processing circuit 30 may, for example, generate and output a light emission signal to cause the light source 10 to emit light at a predetermined cycle, and generate and output an exposure signal to cause the solid-state imaging element 20 to be exposed at a predetermined cycle, thereby causing the depth acquisition device 1 to realize continuous imaging at a predetermined frame rate. The processing circuit 30 may also include, for example, a processor (microprocessor), memory, etc., and generate the light emission signal and the exposure signal by the processor executing a driving program stored in the memory.
[0068] The diffusion plate 50 adjusts the intensity distribution and angle of the irradiated light. In adjusting the intensity distribution, the diffusion plate 50 makes the intensity distribution of the irradiated light from the light source 10 uniform. Note that, although the depth acquisition device 1 includes the diffusion plate 50 in the example shown in FIG. 1, the diffusion plate 50 may not be included.
[0069] The lens 60 is an optical lens that focuses light entering the depth acquisition device 1 from outside onto the surface of the pixel array 2 of the solid-state imaging element 20 .
[0070] The bandpass filter 70 is an optical filter that transmits infrared light, which is reflected light, and visible light. In the example shown in FIG. 1, the depth acquisition device 1 includes the bandpass filter 70, but the bandpass filter 70 may not be included.
[0071] The depth acquisition device 1 having the above configuration is mounted on a transport device and used. For example, the depth acquisition device 1 is mounted on a vehicle that travels on a road surface and used. Note that the transport device on which the depth acquisition device 1 is mounted is not necessarily limited to a vehicle. The depth acquisition device 1 may be mounted on a transport device other than a vehicle, such as a motorcycle, a boat, an airplane, etc.
[0072] [Functional configuration of the depth acquisition device] The depth acquisition device 1 in this embodiment acquires an IR image and a BW image by imaging substantially the same scene and at substantially the same viewpoint and time, using the hardware configuration shown in FIG. 1. Here, the IR image is formed based on the intensity of infrared light received by each of the multiple first pixels 21 included in the solid-state imaging element 20. Therefore, the depth acquisition device 1 acquires the intensity of infrared light at each of the multiple first pixels 21 by imaging the IR image. The depth acquisition device 1 acquires a depth image showing the distance to the subject shown in the IR image as a depth based on the infrared light intensity of the first pixels 21. Then, the depth acquisition device 1 detects a low reflection area in the IR image based on the IR image and the BW image, and corrects the depth of the area in the depth image corresponding to the low reflection area. In this disclosure, the second area in the second image corresponding to the first area in the first image is an area in the second image that is located at the same position as the first area in the first image and has the same shape and size as the first area. The first image and the second image are each an arbitrary image, and the first region and the second region are also each an arbitrary region.
[0073] FIG. 4 is a block diagram showing an example of a functional configuration of the depth acquisition device 1. As shown in FIG.
[0074] The depth acquisition device 1 includes a light source 101, an IR camera 102, a BW camera 103, a processor 110a, and a memory 200. Although the depth acquisition device 1 in this embodiment includes the light source 101, the IR camera 102, and the BW camera 103, it may not include these components and may include only the processor 110a and the memory 200.
[0075] Light source 101 may be composed of light source 10 and diffusion plate 50 shown in FIG. 1, and emits light to irradiate the subject with infrared light.
[0076] The IR camera 102 is also called an infrared camera, and may be composed of a plurality of first pixels 21, a lens 60, and a bandpass filter 70 of the solid-state imaging element 20 shown in FIG. 1. Such an IR camera 102 captures an IR image based on infrared light of a scene including a subject according to the timing when the light source 101 irradiates the subject with infrared light. The IR camera 102 also measures the intensity of infrared light by capturing the IR image. That is, the IR camera 102 has a solid-state imaging element 20, and captures the infrared light irradiated from the light source 101 and reflected by the subject, received by each of the plurality of first pixels 21 included in the solid-state imaging element 20, thereby measuring the intensity of the infrared light.
[0077] The BW camera 103 is also called a visible light camera, and may be composed of a plurality of second pixels 22, a lens 60, and a bandpass filter 70 of the solid-state imaging element 20 shown in Fig. 1. Such a BW camera 103 captures a visible light image (specifically, a BW image) by capturing an image based on visible light of a scene substantially identical to that of an IR image, from substantially the same viewpoint and at substantially the same time as the IR image. In other words, the BW camera 103 captures a BW image by capturing an image based on visible light of a scene substantially identical to that of an IR image formed based on the intensity of infrared light received by each of the plurality of first pixels 21 included in the solid-state imaging element 20, from substantially the same viewpoint and at substantially the same time as the IR image.
[0078] The memory 200 is a recording medium for storing an IR image obtained by imaging using the IR camera 102 and a BW image obtained by imaging using the BW camera 103. As described above, the IR image is formed based on the intensity of infrared light received by each of the multiple first pixels 21 included in the solid-state imaging element 20. Therefore, the IR image indicates the intensity of infrared light for each pixel. That is, it can be said that the memory 200 stores the intensity of infrared light. Specifically, the memory 200 may be a ROM (Read Only Memory), a RAM (Random access memory), or an SSD (Solid State Drive), and may be non-volatile or volatile. The memory 200 may also be a hard disk.
[0079] The processor 110a obtains an IR image and a BW image from the memory 200, calculates a depth image from the IR image, and detects a low reflection area in the IR image based on the IR image and the BW image. The processor 110a then corrects the depth of the area in the depth image corresponding to the low reflection area. The low reflection area is an area in the IR image where an object with low reflectance to infrared light is reflected. The low reflection area is an area detected using a first threshold value or a first threshold value and a second threshold value described later, and the reflectance of the object is defined by the above-mentioned threshold values.
[0080] The processor 110a includes a light emission control unit 113, an IR acquisition unit 114, a BW acquisition unit 115, a depth calculation unit 111a, a low-reflection region detection unit 112, and a depth correction unit 111b.
[0081] The light emission control unit 113 controls the light source 101. That is, the light emission control unit 113 outputs the above-mentioned light emission signal to the light source 101, thereby causing the light source 101 to emit light. As a result, the light source 101 irradiates the subject with infrared light, and the reflected light that is the light reflected by the subject enters the IR camera 102.
[0082] The IR acquisition unit 114 acquires an IR image from the IR camera 102 via the memory 200. Here, each pixel of the IR image indicates the intensity of infrared light received at the position of that pixel as a pixel value (specifically, luminance). Therefore, the IR acquisition unit 114 acquires the intensity of infrared light by acquiring an IR image. In other words, the IR acquisition unit 114 acquires the intensity of infrared light that is measured by imaging in which infrared light irradiated from the light source 101 and reflected by the subject is received by each of the multiple first pixels 21 included in the solid-state imaging element 20, and is stored in the memory 200.
[0083] The BW acquisition unit 115 acquires a BW image from the BW camera 103 via the memory 200. In other words, the BW acquisition unit 115 acquires a BW image, which is an image based on visible light of substantially the same scene as an IR image formed based on the intensity of infrared light received by each of the multiple first pixels 21 included in the solid-state imaging element 20, and which is generated by imaging from substantially the same viewpoint and at substantially the same time as the IR image and is stored in the memory 200.
[0084] The depth calculation unit 111a generates a depth image by calculating the distance to the subject as the depth for each of the multiple first pixels 21 included in the solid-state imaging element 20 based on the intensity of infrared light received by that first pixel 21.
[0085] Based on the IR image and the BW image, the low-reflection region detection section 112 detects low-reflection regions, which are regions in the IR image where objects of the subject that have low reflectance to infrared light are depicted.
[0086] The depth correction section 111b corrects the depth of a correction target region, which is a region in the depth image corresponding to the low-reflection region.
[0087] The depth acquisition device 1 of this embodiment can accurately acquire the depth, which is the distance to a subject, even if the subject includes an object with low reflectance to infrared light (i.e., a low-reflection object).
[0088] For example, if a low-reflection object is included in the subject, the distance to the low-reflection object, i.e., the depth, calculated based on the intensity of the infrared light reflected by the low-reflection object, will be calculated to be longer than the actual depth, meaning that the area of the depth image corresponding to the low-reflection object will not show the correct depth.
[0089] However, in the depth acquisition device 1 of the present embodiment, a low-reflection area in which the low-reflection object is projected is detected in the IR image, and the area in the depth image corresponding to the low-reflection area is set as the area to be corrected. In other words, an area in which an inappropriate depth is shown in the depth image because the subject includes a low-reflection object is specified as the area to be corrected. Then, by correcting the depth of this area to be corrected, the depth, which is the distance to the low-reflection object, can be accurately acquired.
[0090] [Examples of each image] FIG. 5 shows an example of a BW image, an IR image and a depth image.
[0091] In the BW image generated by imaging using the BW camera 103 and acquired by the BW acquisition unit 115, a plurality of vehicles parked in a parking lot are shown, for example, as shown in FIG. 5(a).
[0092] In addition, as shown in FIG. 5(b), the IR image generated by the IR camera 102 and acquired by the IR acquisition unit 114 also shows substantially the same scene as the BW image shown in FIG. 5(a). The IR image shown in FIG. 5(b) is an image obtained by imaging from substantially the same viewpoint and at the same time as the BW image shown in FIG. 5(a). Therefore, the same object is shown in the corresponding areas in the BW image shown in FIG. 5(a) and the IR image shown in FIG. 5(b). Note that the corresponding areas are areas that have the same position, size, and shape in each image.
[0093] The depth calculation unit 111a calculates the depth for each of the first pixels 21 included in the solid-state imaging device 20 based on the intensity of the infrared light received by the first pixels 21, thereby generating a depth image, for example, as shown in FIG. 5(c). The luminance of each pixel in the depth image is higher as the depth is longer, and conversely, lower as the depth is shorter. The depth image shown in FIG. 5(c) corresponds to the IR image shown in FIG. 5(b). That is, as described above, the IR image shown in FIG. 5(b) is formed based on the intensity of the infrared light received by each of the first pixels 21 included in the solid-state imaging device 20, and the depth image shown in FIG. 5(c) is also generated based on the intensity of the infrared light received by each of the first pixels 21. Therefore, the same object is reflected in the corresponding areas of the IR image shown in FIG. 5(b) and the depth image shown in FIG. 5(c).
[0094] Here, as shown in FIG. 5B, the IR image has a low reflection area (i.e., the area within the dashed circle in FIG. 5B). This low reflection area is an area in which an object with low reflectance to infrared light is reflected. That is, in the BW image shown in FIG. 5A, an area corresponding to the low reflection area shows a nearby vehicle. However, the low reflection area of the IR image shown in FIG. 5B has low brightness. As a result, as shown in FIG. 5C, in the area in the depth image corresponding to the low reflection area (i.e., the area within the dashed circle in FIG. 5C), the depth, which is the distance to the object, is expressed as being long (i.e., high brightness) even though the depth is actually short.
[0095] Therefore, the low reflection area detection unit 112 of the depth acquisition device 1 in this embodiment detects the low reflection area based on the BW image shown in (a) of FIG. 5 and the IR image shown in (b) of FIG. 5. Then, the depth correction unit 111b specifies an area in the depth image corresponding to the low reflection area as a correction target area, and corrects the depth of the correction target area. Specifically, the depth correction unit 111b corrects the low reflection area of the depth image based on the BW image, and outputs the corrected depth image. Note that the low reflection area of the depth image is an area in the depth image corresponding to the low reflection area of the IR image described above, and is also called the correction target area. For example, the depth correction unit 111b outputs the corrected depth image to a display, thereby causing the display to display the depth image. Alternatively, the depth correction unit 111b may output the corrected depth image to a control unit such as an ECU (Electronic Control Unit) mounted on the vehicle, thereby causing the control unit to execute driving control of the vehicle based on the corrected depth image.
[0096] FIG. 6 shows another example of a BW image, an IR image and a depth image.
[0097] In the BW image generated by imaging using the BW camera 103 and acquired by the BW acquisition unit 115, a plurality of vehicles parked in a parking lot are shown, for example, as shown in FIG. 6(a).
[0098] In addition, as shown in Fig. 6(b), the IR image generated by imaging using the IR camera 102 and acquired by the IR acquisition unit 114 also shows substantially the same scene as the BW image shown in Fig. 6(a). The IR image shown in Fig. 6(b) is an image obtained by imaging from substantially the same viewpoint and at the same time as the BW image shown in Fig. 6(a). Therefore, the same subject is shown in the corresponding areas of the BW image shown in Fig. 6(a) and the IR image shown in Fig. 6(b).
[0099] The depth calculation unit 111a generates a depth image, for example, as shown in Fig. 6(c) by calculating the depth for each of the multiple first pixels 21 included in the solid-state imaging element 20 based on the intensity of infrared light received by the first pixel 21. The depth image shown in Fig. 6(c) corresponds to the IR image shown in Fig. 6(b).
[0100] Here, as shown in FIG. 6B, a low-reflection area (i.e., the area within the dashed circle in FIG. 6B) exists in the IR image. This low-reflection area is an area in which an object with low reflectance to infrared light is reflected. That is, in the BW image shown in FIG. 6A, an area corresponding to the low-reflection area shows a nearby vehicle. However, the low-reflection area in the IR image shown in FIG. 6B has low brightness. As a result, as shown in FIG. 6C, in the area in the depth image corresponding to the low-reflection area (i.e., the area within the dashed circle in FIG. 5C), the depth, which is the distance to the object, is expressed as being long (i.e., high brightness) even though the depth is actually short.
[0101] Therefore, the low-reflection area detection unit 112 of the depth acquisition device 1 in this embodiment detects the low-reflection area based on the BW image shown in Fig. 6(a) and the IR image shown in Fig. 6(b). Then, the depth correction unit 111b specifies an area in the depth image corresponding to the low-reflection area as a correction target area, and corrects the depth of the correction target area.
[0102] FIG. 7 shows a simulation result of the depth acquisition device 1.
[0103] The depth acquisition device 1 acquires a BW image shown in Fig. 7(a) by imaging with the BW camera 103, and further acquires an IR image shown in Fig. 7(b) by imaging with the IR camera 102. The BW image and the IR image are images obtained by imaging the same scene from the same viewpoint and at the same time. In the example shown in Fig. 7(b), a large low-reflection area (i.e., the area within the dashed circle in Fig. 7(b)) exists on the left side of the IR image.
[0104] The depth calculation unit 111a generates a depth image shown in Fig. 7(c) based on the intensity of the infrared light forming the IR image. Although a nearby object is shown in the area corresponding to the low-reflection area in the BW image shown in Fig. 7(a), the depth of the low-reflection area is inappropriately represented as long in the depth image shown in Fig. 7(c). In other words, although an object is shown close in the BW image, the object is represented as far away in the depth image.
[0105] The depth correction unit 111b treats the area in the depth image shown in Fig. 7(c) corresponding to the low-reflection area as a correction target area, and generates a corrected depth image shown in Fig. 7(d) by correcting the depth of the correction target area. For example, the depth correction unit 111b corrects the depth of the correction target area using an image of the area in the BW image shown in Fig. 7(a) corresponding to the low-reflection area. The depth correction unit 111b may also perform adjustments such as adding an offset to the overall luminance of the depth image.
[0106] As a result, the depth acquisition device 1 according to the present embodiment can make the corrected depth image closer to the correct depth image shown in FIG.
[0107] [Processing flow] FIG. 8 is a flowchart showing the overall processing operation of the depth acquisition device 1 in this embodiment.
[0108] (Step S110) First, the BW camera 103 generates a BW image by capturing an image based on visible light. Then, the BW acquisition unit 115 acquires the BW image via the memory 200.
[0109] (Step S120) Next, the IR camera 102 measures the intensity of the infrared light by capturing an image based on the infrared light. Then, the IR acquisition unit 114 acquires the intensity of the infrared light via the memory 200. Here, the acquired intensity of the infrared light is the intensity of the infrared light received by each of the multiple first pixels 21 of the solid-state imaging element 20. Therefore, the IR acquisition unit 114 acquires the intensities of the infrared light, thereby acquiring an IR image formed based on the intensities of the infrared light.
[0110] Specifically, the intensity of infrared light acquired from the memory 200 is composed of at least three intensities measured by exposing the solid-state imaging element 20 at least three different timings when infrared light irradiated from the light source 101 and reflected by the subject is received by the solid-state imaging element 20. For example, the intensity of infrared light is composed of three intensities measured by a first exposure period, a second exposure period, and a third exposure period, as shown in Fig. 3. For example, each pixel value included in one frame of an IR image is represented as a cumulative value of the intensity of infrared light measured by exposure at the at least three timings.
[0111] (Step S130) Next, the low-reflection region detection unit 112 detects low-reflection regions in the IR image based on the BW image acquired in step S110 and the IR image acquired in step S120.
[0112] (Step S140) Next, the depth calculation unit 111a calculates the depth based on the intensity of the infrared light acquired in step S120. That is, the depth calculation unit 111a calculates the distance to the subject as the depth for each of the multiple first pixels 21 included in the solid-state imaging device 20 based on the intensity of the infrared light received by the first pixel 21, thereby generating a depth image. Specifically, the depth calculation unit 111a calculates the depth for each of the multiple first pixels 21 included in the solid-state imaging device 20 based on the above-mentioned at least three intensities measured at the first pixel 21, thereby generating a depth image. For example, the depth calculation unit 111a calculates the depth using the above-mentioned (Equation 1) according to the ToF distance measurement method.
[0113] (Step S150) Next, the depth correction unit 111b corrects the depth of the region in the depth image corresponding to the low-reflection region, that is, the depth of the correction target region.
[0114] Fig. 9 is a flowchart showing an example of the processing operation of the low-reflection region detection section 112. Note that Fig. 9 shows details of the processing of step S130 in Fig. 8.
[0115] (Step S131) First, the low-reflection area detection unit 112 detects an area in the BW image where an object is reflected as an object area. If multiple objects are reflected in the BW image, the low-reflection area detection unit 112 detects the area in which each of the multiple objects is reflected as an object area. For example, the low-reflection area detection unit 112 detects the object area by processing such as pattern matching or image recognition. The low-reflection area detection unit 112 may also detect an area that is equal to or larger than a predetermined size as an object area.
[0116] (Step S132) Next, the low-reflection region detection unit 112 determines whether the luminance of the determination target region, which is the region in the IR image corresponding to the object region, is equal to or less than a first threshold value. The luminance of the determination target region may be, for example, the average luminance of each pixel included in the determination target region.
[0117] (Step S133) When the low-reflection region detection section 112 determines that the luminance of the determination target region is equal to or lower than the first threshold value (Yes in step S132), it determines that the determination target region as a low-reflection region.
[0118] (Step S134) On the other hand, when the low-reflection region detection section 112 determines that the luminance of the determination target region is greater than the first threshold value (No in step S132), it determines that the determination target region is a non-low-reflection region.
[0119] In this manner, the low-reflection region detection unit 112 in this embodiment detects an area in the BW image where an object is reflected as an object area. Then, the low-reflection region detection unit 112 determines whether the luminance of a determination target area, which is an area in the IR image corresponding to the object area, is equal to or less than a first threshold, and detects the determination target area having the luminance determined to be equal to or less than the first threshold as a low-reflection region.
[0120] As a result, in this embodiment, the region in which the object is projected is detected as the object region from the BW image. The object projected in the detected object region in this way is likely to be close, not in the distant background, and irradiated with infrared light from the light source 101. If the luminance in the region in the IR image corresponding to the object region is low, the object is likely to be a low-reflection object. Therefore, in this embodiment, the region in the infrared light image corresponding to the object region and having a luminance equal to or lower than the first threshold is detected as the low-reflection region, so that the low-reflection region can be appropriately detected.
[0121] Fig. 10 is a flowchart showing another example of the processing operation of the low-reflection region detection section 112. Note that Fig. 10 shows the details of the processing of step S130 in Fig. 8.
[0122] The flowchart shown in FIG. 10 includes each step of the flowchart shown in FIG. 9, and further includes step S135.
[0123] (Step S135) When the low-reflection area detection unit 112 determines that the luminance of the determination target area is equal to or less than the first threshold (Yes in step S132), it further determines whether or not the intensity of the background noise of infrared light in the determination target area is equal to or less than a second threshold. Hereinafter, the intensity of the background noise is also referred to as the noise intensity.
[0124] Specifically, the intensity of infrared light acquired by the IR acquisition unit 114 is composed of at least three intensities measured by exposing the solid-state imaging element 20 at at least three different timings as described above. That is, the intensity of infrared light is composed of three intensities measured by the first exposure period, the second exposure period, and the third exposure period as shown in FIG. 3. For example, the noise intensity is the minimum intensity of the at least three intensities. For example, in the example shown in FIG. 3, the low reflection area detection unit 112 treats the intensity of infrared light measured by exposure in the third exposure period as the noise intensity. That is, the low reflection area detection unit 112 determines whether the intensity of infrared light measured by exposure in this third exposure period is equal to or less than the second threshold value.
[0125] When the low-reflection region detection unit 112 determines that the noise intensity is equal to or less than the second threshold (Yes in step S135), it determines the region subject to judgment of the noise intensity as a low-reflection region (step S133). On the other hand, when the low-reflection region detection unit 112 determines that the noise intensity is greater than the second threshold (No in step S135), it determines the region subject to judgment of the noise intensity as a non-low-reflection region (step S134).
[0126] In this manner, the low-reflection region detection unit 112 in this embodiment further determines whether or not the noise intensity included in the infrared light intensity in the determination target region, among the infrared light intensities acquired by the IR acquisition unit 114, is equal to or less than the second threshold. Then, the low-reflection region detection unit 112 detects the determination target region, the noise intensity of which is determined to be equal to or less than the second threshold, as a low-reflection region.
[0127] For example, the subject may be irradiated not only with infrared light from the light source 101, but also with infrared light contained in external light such as sunlight. Therefore, the intensity of the infrared light contained in the external light is treated as noise intensity, and an infrared image is formed based on the intensity of the infrared light excluding the noise intensity. However, if the noise intensity is large, such as during bright daytime, the luminance of the infrared image is reduced in order to remove the noise intensity. Therefore, if the noise intensity is large, even if the luminance of a region in the infrared image corresponding to the object region of the BW image is low as described above, the region may not be a low reflection region. Therefore, in this embodiment, a region with a small noise intensity determined to be equal to or less than the second threshold is detected as a low reflection region, and therefore the low reflection region can be detected more appropriately.
[0128] FIG. 11 shows an example of correction of the depth image by the depth corrector 111b.
[0129] The depth correction unit 111b corrects the depth of the correction target region in the depth image shown in FIG. 11(c) to generate a corrected depth image shown in FIG. 11(e).
[0130] Specifically, the depth image shown in FIG. 11(c) is calculated based on the intensity of infrared light forming the IR image shown in FIG. 11(b). The low reflection area detection unit 112 detects a low reflection area from this IR image. The depth correction unit 111b identifies the type of object projected in the area based on the image of the area in the BW image corresponding to this low reflection area. For example, the depth correction unit 111b identifies the type of object projected in the area by processing such as pattern matching or image recognition. In addition, a learning model such as a neural network may be used to identify the type of object. In the example shown in FIG. 11, the depth correction unit 111b identifies the front of a passenger car as the type of the object. Furthermore, the depth correction unit 111b identifies the size of the object projected in the area. The size of the object may be the horizontal width or vertical width (i.e., height) of the image of the object, or the area of the image of the object, or the length of the diagonal of a rectangular frame surrounding the image of the object.
[0131] Then, as shown in (d) of FIG. 11, the depth correction unit 111b refers to a database showing the correspondence between the size and distance of each type of object. For example, this database shows the correspondence between the size and distance of an object when the type of object is the front of a passenger car. Specifically, the database shows the correspondence between the size "s1" and the distance "d1", and the correspondence between the size "s2" and the distance "d2". The depth correction unit 111b refers to such a database and estimates the distance associated with the type and size of the specified object as the distance to the object, that is, the depth. For example, if the specified size is "s2", the depth correction unit 111b estimates the distance "d2" associated with the size "s2" as the depth of the correction target area. Then, the depth correction unit 111b corrects the depth of the correction target area by replacing the depth of the correction target area in the depth image shown in (c) of FIG. 11 with the estimated depth. As a result, the depth image shown in FIG. 11(c) is converted into the corrected depth image shown in FIG. 11(e).
[0132] 11(d) may be held in the depth acquisition device 1, or may be held in a server external to the depth acquisition device 1. When the database is held in a server, the depth correction unit 111b accesses the server via, for example, a communication network, and refers to the database.
[0133] 11(d) shows the correspondence between the type and size of an object and the distance, but the type of the object may include a silhouette, that is, the orientation of the object as seen from the BW camera 103 (for example, the front, side, or back). If the lens of the BW camera 103 is a lens of a wide viewing angle optical system such as a fisheye lens, the database may include not only the type and size of the object but also the position of the area in which the object is projected in the BW image, which is associated with the above-mentioned distance. In this case, the depth correction unit 111b further specifies the position of the area in which the object is projected from the BW image, and estimates the distance associated with the type, size, and position of the specified object in the database as the depth of the correction target area. The type of the object may be not only a vehicle but also a license plate included in the vehicle.
[0134] 12 is a flowchart showing the correction processing operation by the depth corrector 111b. Note that FIG 12 shows the details of the processing of step S150 in FIG 8.
[0135] (Step S151) The depth correction unit 111b identifies the type of object reflected in a region in the BW image that corresponds to the low-reflection region, based on the image of that region.
[0136] (Step S152) Next, the depth corrector 111b identifies the size of the object projected in that area.
[0137] (Step S153) Next, the depth corrector 111b obtains the distance associated with the type identified in step S151 and the size identified in step S152.
[0138] (Step S154) Then, the depth corrector 111b replaces the depth of the correction target area in the depth image with the distance acquired in step S154, thereby correcting the depth of the correction target area.
[0139] In this manner, the depth correction unit 111b in this embodiment identifies the type of object projected in a region in the BW image corresponding to a low-reflection region based on the image of that region. Then, the depth correction unit 111b corrects the depth of the correction target region by estimating the depth of that region based on the identified type of object and the size of the object projected in that region.
[0140] By using the above-mentioned database, it is possible to estimate an appropriate depth based on the type and size of an object identified based on an image of an area in the BW image corresponding to the low-reflection area. As a result, it is possible to correct the depth of the correction target area to an accurate depth. Note that, although a database is used in the above example, any means may be used as long as it indicates the correspondence between the type and size of an object and the depth. For example, instead of the database, a function may be used, or a learning model such as a neural network may be used.
[0141] FIG. 13 shows another example of the correction of the depth image by the depth corrector 111b.
[0142] When correcting the depth of the correction target area in the depth image, the depth correction unit 111b may use the depth of the area below the correction target area. For example, the depth correction unit 111b corrects the depth of the correction target area in the depth image shown in (a) of FIG. 13. At this time, the depth correction unit 111b uses the depth of the foot area below the correction target area. That is, the depth correction unit 111b replaces the depth of the correction target area with the depth of the foot area. In other words, the depth correction unit 111b corrects the depth of the correction target area to the depth of the area below the correction target area.
[0143] 13, when the low-reflection object is a vehicle, the vehicle is under the road surface, and the depth of the road surface is close to the depth of the vehicle. Therefore, in this embodiment, the depth of the correction target area is corrected to the depth of the area below the correction target area, so that the depth of the correction target area can be corrected to an accurate depth.
[0144] (Modification) In the above embodiment, low-reflection areas are detected in order to correct the depth, but the depth may be corrected using a learning model without detecting the low-reflection areas.
[0145] Fig. 14 is a block diagram showing an example of a functional configuration of the depth acquisition device 1 in this modified example. Among the components shown in Fig. 14, the same components as those shown in Fig. 4 are denoted by the same reference numerals as those shown in Fig. 4, and detailed description thereof will be omitted.
[0146] The depth acquisition device 1 in this modification includes a processor 110b instead of the processor 110a shown in FIG.
[0147] The learning model 104 is, for example, a neural network, and is configured by deep learning. For example, a BW image, an IR image, and a depth image are used as input data to the learning model 104. The learning model 104 has already been trained so that a corrected depth image is output for a combination of the input data.
[0148] The processor 110b does not include the low-reflection region detection section 112 shown in FIG. 4, and includes a depth correction section 111c instead of the depth correction section 111b shown in FIG.
[0149] The depth correction unit 111c inputs the above-mentioned input data to the above-mentioned learning model 104. As a result, the depth correction unit 111c acquires a corrected depth image from the learning model 104 as output data for the input data. Furthermore, the depth correction unit 111c outputs the corrected depth image. For example, the depth correction unit 111c outputs the corrected depth image to a display, thereby causing the depth image to be displayed on the display. Alternatively, the depth correction unit 111c may output the corrected depth image to a control unit such as an ECU mounted on a vehicle, thereby causing the control unit to execute driving control of the vehicle based on the corrected depth image.
[0150] That is, the depth acquisition device 1 shown in FIG. 14 includes a memory 200 and a processor 110b. The processor 110b acquires the intensity of infrared light, which is measured by imaging in which each of the multiple first pixels 21 included in the solid-state imaging element 20 receives infrared light irradiated from the light source 101 and reflected by the subject, and is stored in the memory 200. The processor 110b also generates a depth image by calculating the distance to the subject as a depth for each of the multiple first pixels 21 included in the solid-state imaging element 20 based on the intensity of infrared light received by the first pixel 21. Furthermore, the processor 110b acquires a BW image, which is an image based on visible light of a scene substantially identical to that of an IR image formed based on the intensity of infrared light received by each of the multiple first pixels 21 included in the solid-state imaging element 20, generated by imaging at substantially the same viewpoint and time as the IR image, and stored in the memory 200. Then, the processor 110b corrects the depth of the depth image by inputting the depth image, the IR image, and the BW image to the learning model 104, and outputs the corrected depth image.
[0151] As a result, if the learning model 104 is trained in advance to output a corrected depth image for the input of a depth image, an IR image, and a BW image, the depth of the depth image can be appropriately corrected without detecting low-reflection areas.
[0152] As described above, the depth acquisition device 1 in this embodiment and its modified examples can accurately acquire the depth, which is the distance to a subject, even if the subject includes a low-reflection object.
[0153] In each of the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. Here, the software for realizing the depth acquisition device of the above embodiment and modified example causes a computer to execute each step included in any of the flowcharts of Figures 8 to 10 and Figure 12.
[0154] Although the depth acquisition device according to one or more aspects has been described based on the embodiment and its modified examples, the present disclosure is not limited to the embodiment and its modified examples. As long as it does not deviate from the spirit of the present disclosure, various modifications conceived by a person skilled in the art to the present embodiment and modified examples, and forms constructed by combining the components in the embodiment and modified examples may also be included within the scope of the present disclosure.
[0155] For example, the depth calculation unit 111a calculates the depth based on three infrared light intensities measured at three different exposure timings. However, the number of exposure timings and infrared light intensities is not limited to three, and may be four or more.
[0156] Furthermore, in the modification of the above embodiment, the depth acquisition device 1 includes the learning model 104, but may not include the learning model 104. In this case, the depth acquisition device 1 inputs the above-mentioned input data to the learning model 104 via, for example, a communication network, and acquires a corrected depth image, which is output data from the learning model 104, via the communication network.
[0157] In addition, in this disclosure, all or part of the units, devices, or all or part of the functional blocks of the block diagrams shown in FIG. 1, FIG. 4, and FIG. 14 may be implemented by one or more electronic circuits including a semiconductor device, a semiconductor integrated circuit (IC), or an LSI (large scale integration). The LSI or IC may be integrated into one chip, or may be configured by combining multiple chips. For example, functional blocks other than memory elements may be integrated into one chip. Although LSI and IC are referred to here, the names may change depending on the degree of integration, and may be called system LSI, VLSI (very large scale integration), or ULSI (ultra large scale integration). Field programmable gate arrays (FPGAs) that are programmed after the manufacture of LSIs, or reconfigurable logic devices that can reconfigure the junction relationship within LSIs or set up circuit partitions within LSIs, can also be used for the same purpose.
[0158] Furthermore, all or part of the functions or operations of a unit, device, or part of a device can be executed by software processing. In this case, the software is recorded in one or more non-transitory recording media such as a ROM, an optical disk, a hard disk drive, etc., and when the software is executed by a processor, the software causes the processor and peripheral devices to execute specific functions in the software. The system or device may include one or more non-transitory recording media in which the software is recorded, a processor, and necessary hardware devices such as an interface. [Industrial Applicability]
[0159] The present disclosure is applicable to a depth acquisition device that acquires the depth, which is the distance to a subject, and can be used as, for example, an in-vehicle device. [Explanation of symbols]
[0160] 1. Depth acquisition device 10, 101 light source 20 Solid-state imaging element 21 1st pixel (IR) 22 2nd pixel (BW) 30 Processing circuit 50 Diffuser 60 Lenses 70 Bandpass Filter 102 IR Camera 103 BW Camera 104 Learning Model 110a, 110b processor 111a Depth calculation section 111b, 111c Depth correction section 112 Low reflection area detection unit 113 Light emission control unit 114 IR Acquisition Department 115 BW acquisition department 200 Memory
Claims
1. acquiring a first image by capturing an image of a subject by receiving light irradiated from a light source and reflected by the subject; acquiring a second image by capturing an image of the subject using visible light; detecting a low-reflection region based on the first image and the second image; Information processing methods.
2. the first image is an IR image captured by an IR camera; The second image is a BW image captured by a BW camera. The information processing method according to claim 1 .
3. detecting the low reflectance region based on an area in the IR image that corresponds to an area in the BW image; The information processing method according to claim 2 .
4. detecting the low-reflectance region based on a luminance of a region in the IR image that corresponds to a region in the BW image; 4. The information processing method according to claim 2 or 3.
5. detecting that a luminance in an area in the IR image corresponding to an area in the BW image is equal to or less than a threshold; The information processing method according to claim 4.
6. detecting that a region in the IR image corresponding to a region in the BW image is a low-reflection region when the luminance of the region in the IR image is equal to or less than a threshold value; The information processing method according to claim 5.
7. detecting the low-reflection region based on the IR image and the BW image generated by capturing the same scene as the IR image; The information processing method according to claim 2 .
8. detecting the low-reflection region based on the IR image and the BW image generated by capturing the IR image at the same viewpoint as the IR image; The information processing method according to claim 2 .
9. detecting the low-reflection region based on the IR image and the BW image generated by capturing the IR image at the same time; The information processing method according to claim 2 .
10. The IR camera uses Time of Flight (ToF), The information processing method according to claim 2 .
11. detecting the low-reflection area based on the luminance of the IR image and an object recognition result based on the BW image; The information processing method according to claim 2 .
12. If the luminance of a region in the IR image is equal to or less than a threshold value and if the object recognition result indicates that an object is nearby, the region is determined to be the low-reflection region. The information processing method according to claim 11.
13. determining whether the area in the IR image is a low-reflection area or an area in which a distant object is reflected based on the luminance of the area in the IR image and the object recognition result using the BW image; The information processing method according to claim 2 .
14. determining whether the area in the IR image is a low-reflection area or an area in which a distant background is reflected, based on the luminance of the area in the IR image and the object recognition result using the BW image; The information processing method according to claim 2 .
15. Memory, a processor; The processor, acquiring a first image obtained by imaging by receiving light irradiated from a light source and reflected by a subject; acquiring a second image obtained by imaging the subject with visible light; detecting a low-reflection region based on the first image and the second image; Information processing device.
16. acquiring a first image obtained by imaging by receiving light irradiated from a light source and reflected by a subject; acquiring a second image obtained by imaging the subject with visible light; detecting a low-reflection region based on the first image and the second image; A program that causes a computer to do something.
Citation Information
Patent Citations
Object detector
JP2007240314A
Method and apparatus for specifying related region, and method and apparatus for recognizing image
JP2009201064A
Color sensor insensitive to distance variations
US20130335725A1
Solid-state imaging device
WO2017022220A1
Image capture control device, image capture control method, program, and recording medium
WO2018110183A1
