Distance estimation device

The device addresses the challenge of flare-induced errors in traffic light distance estimation by using stored flare patterns to correct image sizes, enabling accurate distance measurement in dark conditions.

JP7548191B2Active Publication Date: 2024-09-10TOYOTA JIDOSHA KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021179069
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-11-01
Publication Date
2024-09-10
Estimated Expiration
2041-11-01

AI Technical Summary

Technical Problem

Existing devices struggle to accurately estimate the distance to a traffic light in dark surroundings due to flare phenomena caused by multiple reflections of light, leading to incorrect size measurements and subsequent distance estimation errors.

Method used

A distance estimating device that includes an image acquisition unit, a light size acquisition unit, and a distance estimation unit, which removes flare from traffic light images using stored flare brightness patterns to accurately determine the light size and subsequently calculate the distance based on this corrected size.

Benefits of technology

Enables accurate distance estimation to traffic lights even in dark environments by effectively removing flare, thereby ensuring precise distance calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548191000004
    Figure 0007548191000004
  • Figure 0007548191000005
    Figure 0007548191000005
  • Figure 0007548191000008
    Figure 0007548191000008
Patent Text Reader

Abstract

To accurately estimate a distance even at night or in dark surroundings.SOLUTION: A vehicle 1 includes a distance estimation instrument 100 that estimates a distance from the vehicle 1 to a traffic light 3. The distance estimation instrument 100 includes an image acquisition unit 101 that acquires an image taken by a camera 2 which images the surroundings of the vehicle, a lamplight size acquisition unit 102 that acquires a lamplight size of a lamplight of the traffic light 3 shown in the image, and a distance estimation unit 103 that estimates the distance from the vehicle to the traffic light on the basis of the lamplight size. The lamplight size acquisition unit 102 removes a flare of the lamplight from the image, and acquires the lamplight size in the image from which the flare is removed.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a distance estimation device, a distance estimation method, and a program. [Background technology]

[0002] Conventionally, the traffic lights in front of the vehicle are captured by an on-board sensor, and the size of the traffic lights in the image is used to determine the Based on this, a device has been proposed that estimates the distance from a vehicle to a traffic light. The area with high brightness is extracted from the image signal captured by the camera for side photography, and the size of this area is The image is surrounded by a window based on its size and color, and the edges are detected within the window and the pre-stored reference image is The vehicle is equipped with a signal recognition device that calculates the distance to the traffic light by comparing the edge of the traffic light with the edge of the traffic light. It has been done.

[0003] [Patent Document 1] Patent Publication No. 63-78299 Summary of the Invention [Problem to be solved by the invention]

[0004] The device described in Patent Document 1 detects signals from vehicles based on the size of traffic light in an image. The distance to the vehicle is estimated, but the light of the traffic light is not captured in a dark environment such as at night. When shooting with a camera, flare may occur in the image. Flare is a phenomenon in which an image expands due to the spread of light caused by multiple reflections within the lens. This makes the traffic light appear expanded in the image, making it difficult to obtain the correct light size. This may result in an erroneous distance estimation.

[0005] The present invention is intended to solve the above problems, and is capable of detecting accurately even when the surroundings are dark, such as at night. The purpose is to estimate distances quickly. [Means for solving the problem]

[0006] In order to achieve the above object, a distance estimation device according to the present invention comprises: A distance estimation device that estimates a distance from a vehicle to a traffic light, an image acquisition unit that acquires an image captured by a sensor that images the surroundings of the vehicle; a light size acquisition unit that acquires a light size of the light of the traffic light shown in the image; a distance estimation unit that estimates a distance from the vehicle to the traffic light based on the light size; Equipped with The light size acquisition unit, removing flare of the light in the image; Obtain the light size in the image after removing the flare. It is characterized by:

[0007] According to the distance estimation device of the present invention, the light of a traffic light is photographed in a dark surrounding situation. Even if the image is shot in a dark place, the size of the light in the image is adjusted after removing the flare. This allows accurate estimation of the distance from the vehicle to the traffic light. Cut.

[0008] Further, the distance estimation device according to the present invention comprises: a storage unit that stores a known flare luminance pattern in an image captured by the sensor, The light size acquisition unit, Obtaining a light luminance pattern of the light in the image; A portion of the light luminance pattern that has a shape identical to that of the flare luminance pattern. A search is performed to find a part where the shapes match, from the light luminance pattern to the flare luminance pattern. Remove the light flare in the image by subtracting In this case, a known flare luminance pattern stored in the storage unit may be used. Since the flare is removed by the above method, the flare can be removed by a simple method.

[0009] In addition, in the distance estimation device according to the present invention, The flare of the light in the image is removed, and the flare other than the light is not removed. stomach In this case, removal of flares other than those of traffic lights in the image may be performed. Since this is not performed, the calculation load can be reduced.

[0010] In addition, in the distance estimation device according to the present invention, The storage unit stores two or more flare luminance patterns corresponding to the light colors of the traffic lights, The light size acquisition unit Among the two or more flare luminance patterns, a flare luminance pattern is selected according to the color of the light in the image. Select the flare brightness pattern you have selected, By subtracting the selected flare luminance pattern from the lamp luminance pattern, Removing the light flare in the image In this case, the flare luminance pattern may be set according to the color of the light of the traffic light. This allows for a more appropriate light size to be obtained by selecting the light size and using it to remove flare.

[0011] Further, the distance estimation method according to the present invention includes: A distance estimation method for estimating a distance from a vehicle to a traffic light, comprising: an image acquisition step of acquiring an image captured by a sensor that images the surroundings of the vehicle; a light size acquisition step of acquiring a light size of the light of the traffic light shown in the image; a distance estimation step of estimating a distance from the vehicle to the traffic light based on the size of the light; and, Including, The light size acquisition step includes: removing flare of the light in the image; Obtain the light size in the image after removing the flare. It is characterized by:

[0012] According to the distance estimation method of the present invention, the light of a traffic light is photographed in a dark surrounding environment. Even if the image is shot in a dark place, the size of the light in the image is adjusted after removing the flare. This allows accurate estimation of the distance from the vehicle to the traffic light. Cut.

[0013] Further, the program according to the present invention causes a computer to execute the above-mentioned distance estimation method. According to the program of the present invention, the above-mentioned distance estimation is performed on a computer. can be performed. [Brief description of the drawings]

[0014] [Figure 1] 1 is a diagram illustrating a configuration of a vehicle 1 according to an embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram showing a light luminance pattern. [Diagram 3] 13 shows images of traffic light captured when the surroundings are bright and when they are dark. [Figure 4] FIG. 13 is a diagram showing a flare luminance pattern. [Diagram 5] 11 is a diagram showing a lamp luminance pattern in an image captured in a dark environment, and a lamp luminance pattern after a flare luminance pattern is subtracted from the lamp luminance pattern. FIG. [Figure 6] 1 is a flowchart showing a process flow of the distance estimation device 100. [Figure 7] FIG. 13 is a diagram illustrating a storage unit 104 according to another embodiment of the present invention. [Figure 8]13 is a flowchart showing a process flow for calling a flare luminance pattern from a storage unit 104 in a distance estimation device 100 according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] <Embodiments of the present invention> DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a distance estimation device according to the present invention will be described with reference to the drawings.

[0016] A vehicle 1 shown in FIG. 1 includes a camera 2 and a distance estimation device 100. The vehicle 1 is driven, steered, and and braking, and The Society of Autonomous Engineers (SAEA) has defined the level of autonomous driving as Level 1 or higher. It is a classified vehicle.

[0017] The camera 2 can capture an image of a traffic light 3 present around (for example, in front of) the vehicle 1. The camera 2 transmits the captured image to the image acquisition unit 1 of the distance estimation device 100. Send to 01.

[0018] The distance estimation device 100 is a device that estimates the distance from a vehicle 1 to a traffic light 3. The distance from the vehicle 1 to the traffic light 3 is used to realize a driving assistance function of the vehicle 1. For example, a function of notifying the driver when a traffic light 3 is within a predetermined distance range from the vehicle 1. or assisting the vehicle 1 to stop in front of a traffic light when the traffic light is yellow or red. In this function, the distance from the vehicle 1 to the traffic light 3 is utilized.

[0019] The distance estimation device 100 is configured as a part or the whole of one or more computers. The computer is composed of a CPU (central processing unit), a ROM (read only memory), and a It includes an AM (random access memory), an input port, and an output port. A program for operating a computer as the distance estimation device 100 is installed in the computer. By installing the above, the distance estimation device 100 is realized. By communicating with each part of the vehicle 1 through the input port and the output port, data is exchanged between each part. In particular, the system receives images from a camera 2 that captures the surroundings of the vehicle 1, and transmits and receives the images. The distance data from the vehicle 1 to the traffic light 3 is transmitted to a driving support device or the like that provides driving support for the vehicle 1. Or something like that.

[0020] The distance estimation device 100 includes, as its functional configuration, an image acquisition unit 101, a light size acquisition unit 102, a storage unit 103 and a distance estimation unit 104.

[0021] The image acquisition unit 101 acquires an image captured by the camera 2. The acquired image is a light sight. The data is passed to the size acquisition unit 102.

[0022] The light size acquisition unit 102 acquires the light size of the light of the traffic light 3 shown in the image. The fire size is the size of the light reflected in the image. Note that the flare that will be described later occurs in the image. If so, the light size is the size of the light after subtracting the flare. Example: For example, it may be the diameter when the traffic light is circular, or it may be the diameter when the traffic light is square. The shape of the traffic light may be the length of one side or the length of the diagonal when the traffic light is Or by region or type of traffic light (for example, for automobiles / pedestrians), etc. The definition of the light size is used appropriately according to the situation. Although the description will be given of a circular shape and a lamp size corresponding to a diameter, the present invention is not limited to this. It's not something like that.

[0023] First, the light size acquisition unit 102 acquires the size of a traffic light in the image captured by the camera 2. It is judged whether a light is present. Here, the system captures an object that is highly similar to a known traffic light image. The image is searched, and if an object with a high similarity is detected, it is determined that a traffic light is present. Here, the determination of whether the similarity is high or not is based on machine learning using known traffic light images. A trained image discrimination model is used. Another method to determine whether a traffic light exists is to check the color of the traffic light (red, If there is a pixel of a color corresponding to the color (blue or yellow), the signal A method of determining whether or not there is a traffic light on the road that is the same color as the traffic light may be used. Since there are few lights other than traffic lights, it is determined that there is a pixel of a color corresponding to the light color. If the light size is set, it is determined that a traffic light is present in the image. Alternatively, the method may determine whether traffic lights are present in the image by other methods.

[0024] If it is determined that a traffic light is present in the image, the light size acquisition unit 102 First, the size of the light is acquired. First, the light brightness of the light in the image is calculated as shown in Fig. 2. The light luminance pattern is obtained by, for example, passing through the center of the light in the image. By setting such a line segment and measuring the luminance profile of each pixel on the line segment, It is also possible to obtain the profile by setting only one line segment and measuring the profile on that line segment. Alternatively, set multiple lines and measure the profiles on each line and then average them. The profile of the luminance may be measured as the luminance pattern. Various image corrections may be performed before or after the measurement. For example, high pass filtering may be performed. The noise of the luminance may be removed by data processing or moving average processing. A tilt correction may be applied so that the image appears circular.

[0025] Next, the light size acquisition unit 102 acquires the light size on the luminance pattern as shown by the dotted arrow in FIG. The length between the steeply rising parts is measured, and the length is regarded as the lamp size. Alternatively, the light size may be obtained by other methods. For example, the brightness parameter The length of the area on the turn that is equal to or greater than a certain brightness threshold may be used as the light size. Alternatively, edges of the luminance pattern may be detected and the distance between the edges may be taken as the light size.

[0026] In this manner, the light size acquisition unit 102 acquires the light size in the image.

[0027] Returning to FIG. 1, the description will be continued. The distance estimation unit 103 estimates the distance of the light acquired by the light size acquisition unit 102. Based on the fire size, the distance from the vehicle 1 to the traffic light 3 is estimated. Given known parameters such as the lens magnification of camera 2 and the size of traffic light 3 (e.g., 30 cm), This is used to estimate the distance from the vehicle 1 to the traffic light 3 based on the size of the light in the image.

[0028] By the way, when photographing traffic lights in dark surroundings such as at night, Flare can occur when the incident light is reflected multiple times inside the camera. This phenomenon occurs when the image expands due to the spread of light. For example, in the case of Figure 3A, In image 201, the right side light of traffic light 3 is clearly visible. In contrast, in the image 202 of FIG. 3B, where the surroundings are dark, the right side Flares occur around the light, making the light appear expanded. In such cases, This can lead to inaccurate distance estimation due to the inability to correctly obtain the size of lights in the image. be.

[0029] Therefore, in this embodiment, the light size acquisition unit 102 acquires the light size. First, the light size acquisition unit 102 acquires the existing light size stored in the storage unit 104. The shape of the flare luminance pattern is shown in Figure 4. Flare in the image is caused by multiple reflections of light in the optical components of the camera 2, such as the lens and the lens barrel. Since the flare brightness pattern is caused by the optical components of camera 2 (e.g. For example, the reflectance, focal length, etc. of the camera 2 mounted on the vehicle 1 are changed. A flare luminance pattern corresponding to the known flare luminance is theoretically or experimentally obtained in advance. The pattern is stored in the storage unit 104.

[0030] The light size acquisition unit 102 acquires, from the luminance pattern of the light when a flare occurs, First, the light size acquisition unit 102 performs a process of subtracting the flare luminance pattern. The light luminance pattern when a flare occurs is obtained as shown in FIG. The luminance pattern has a shape in which the luminance gradually decreases as the distance from the light source center increases. Unlike the light luminance pattern 3, there is no part where the luminance rises sharply. Therefore, it is difficult to obtain the light size. 102 is a flare luminance pattern of FIG. 4 and a light luminance pattern of FIG. 5A that are called up from a storage unit 104. Search for a part with a matching shape in the pattern. This is done using mathematical techniques such as the least squares method. 4 is enlarged or reduced in the vertical direction, and FIG. 5 is a flare luminance pattern. The shape of the light luminance pattern of A may be the same as that of the light luminance pattern of B. The determination of whether the sum of the absolute values ​​of the differences in the values ​​at each point is equal to or smaller than a predetermined value is made. The area surrounded by the dotted line in FIG. 5A is This is the portion that is determined to match the flare luminance pattern and shape.

[0031] The light size acquisition unit 102 acquires the light size from the luminance pattern of FIG. 5A in the portion where the shapes match. The flare luminance pattern is subtracted. Figure 5B shows the light luminance pattern after subtraction. The light luminance pattern after subtraction is the light luminance when the surroundings are bright. Like the pattern, it contains areas where the brightness rises sharply. Using the turn, the light size acquisition unit 103 acquires the size of the traffic light in the image. Do the following.

[0032] Using the light size thus acquired, the distance estimation unit 104 estimates the distance from the vehicle 1 to the The distance to traffic light 3 is estimated.

[0033] The light size acquisition unit 102 performs a process of removing the flare of the traffic light in the image. This system not only processes the image, but also removes flare that occurs throughout the entire image. In this case, lights other than traffic lights (street lights, brake lights of surrounding vehicles, etc.) Flare removal is performed in the same way as with traffic lights.

[0034] On the other hand, the light size acquisition unit 102 removes only the flare of the traffic light in the image. However, flares should be removed from lights other than traffic lights (street lights, brake lights of surrounding vehicles, etc.). In this case, the flare occurring in the entire image is removed. In comparison with the case where the distance estimation device 100 is removed, the calculation load on the distance estimation device 100 can be reduced.

[0035] By carrying out the above-described processing, the distance estimation device 100 of this embodiment can estimate the distance even in a dark environment. Even if a traffic light is photographed under low light, the image quality can be improved by subtracting the effects of flare. The size of the light in the image is acquired. This allows the distance from vehicle 1 to traffic light 3 to be calculated. This allows accurate estimation of the distance.

[0036] Next, the process flow of the distance estimation device 100 of this embodiment will be described with reference to the flowchart of FIG. First, in step S101, the image acquisition unit 101 acquires an image captured by the camera 2. Next, in step S102, the light size acquisition unit 102 acquires the image. Determine whether there is a traffic light in the area. If the result is No, Then, the process is terminated and the subsequent processes are not performed. In other words, the flare removal in the image is not performed.

[0037] The process of removing the flare places a heavy load on the computing device. Flare removal is not performed when there are no traffic lights. Flares are not removed from roads (street lights, brake lights of surrounding vehicles, etc.). If we were to remove flare from lights other than those listed above in the same way as we did with traffic lights, we would have to do the following: The extra calculations that are not necessary for distance estimation place a high load on the calculation device. In this embodiment, if there are no traffic lights in the image, flare removal is not performed. This makes it possible to reduce the computation load.

[0038] Returning to FIG. 6, the description will be continued. In step S102, if a traffic light is present in the image, If the result of the determination as to whether or not the light is turned on is Yes, in step S103, The pattern acquisition unit 102 acquires the light luminance pattern of the traffic light. Then, in step S1 In step 04, the light size acquisition unit 102 acquires a known flare luminance in the light luminance pattern. The light size acquisition unit 102 searches for a portion where the pattern and shape match. In 5, the part where the shape of the light luminance pattern and the flare luminance pattern coincide is subtracted. Then, in step S106, the size of the light in the image is acquired. In step S107, the distance estimation unit 104 estimates the distance from the vehicle 1 to the traffic light 3 based on the size of the light. Estimate the distance at.

[0039] In accordance with the flow described above with reference to FIG. 6, the distance estimation device 100 of the present embodiment Estimate the distance from 1 to traffic light 3.

[0040] Other Embodiments of the Invention In another embodiment of the present invention, the distance estimation device 100 may generate a plurality of flare intensity patterns. The system memorizes these signals and uses them differently depending on the color of the traffic light.

[0041] As shown in FIG. 7, the storage unit 103 stores two or more flare luminance patterns. The light size acquisition The unit 102 retrieves a flare luminance pattern corresponding to the color of the traffic light from the storage unit 103, and This is used to remove flare in the image. As mentioned earlier, flare is caused by the lenses and mirrors in camera 2. This is due to multiple reflections of light in optical components such as a tube. Here, the reflectance of light is determined by the wavelength. Since the color of the light emitted by the traffic signal is color-dependent, the shape of the flare luminance pattern changes depending on the color of the light emitted by the traffic signal. A plurality of flare luminance patterns corresponding to the light colors of traffic signals are stored in advance in the memory unit 103. This makes it possible to more appropriately remove the flare.

[0042] The flow of the process will be described with reference to FIG. 8. This process is carried out in step S104 of FIG. In step S201 of FIG. 8, the light size acquisition unit 102 acquires the light size of a traffic light in an image. Next, in step S202, a flare luminance pattern corresponding to the light color is obtained. The flare luminance pattern is called from the memory. The flare elimination is performed using the called flare luminance pattern. It will be carried out.

[0043] Although the embodiment and other embodiments of the present invention have been described above, the present invention is not limited to these. The present invention is not intended to be limited to the above embodiments, but may be modified and changed without departing from the spirit and scope of the present invention. The present invention can be embodied in various forms with various modifications and improvements thereon.

[0044] For example, a "traffic signal" is a warning light installed near a railroad crossing or an entrance to a toll booth on a highway. In this case, the vehicle 1 may detect a warning light for a railway crossing or a toll gate of a highway. The distance to the entrance light is estimated.

[0045] For example, the program according to the present invention may be recorded on a computer-readable recording medium. The computer-readable recording medium may be provided in a form in which the program is stored. For example, it may be a magnetic recording medium, an optical recording medium, or a semiconductor memory. [Explanation of symbols]

[0046] 1 vehicle 2 Camera 3. Traffic lights 100 Distance estimation device 101 Image acquisition unit 102 Light size acquisition unit 103 Distance Estimation Unit 104 Storage section 201 Traffic light images in bright surroundings 202 Traffic light images in dark surroundings

Claims

1. A distance estimation device that estimates a distance from a vehicle to a traffic light, an image acquisition unit that acquires an image captured by a sensor that images the surroundings of the vehicle; a light size acquisition unit that acquires a light size of the light of the traffic light shown in the image; a distance estimation unit that estimates a distance from the vehicle to the traffic light based on the light size; a storage unit that stores a known flare luminance pattern in an image captured by the sensor; Equipped with The light size acquisition unit, Obtaining a light luminance pattern of the light in the image; A portion of the light luminance pattern that has a shape identical to that of the flare luminance pattern. A search is performed to find a part where the shapes match, from the light luminance pattern to the flare luminance pattern. removing the light flare in the image by subtracting Obtain the light size in the image after removing the flare. A distance estimation device comprising:

2. The light size acquisition unit, The flare of the light in the image is removed, and the flare other than the light is removed. do not have 2. The distance estimation device according to claim 1.

3. the storage unit stores two or more flare luminance patterns corresponding to the light colors of the traffic lights, The light size acquisition unit Among the two or more flare luminance patterns, a flare luminance pattern is selected according to the color of the light in the image. Select the flare brightness pattern you have selected, By subtracting the selected flare luminance pattern from the lamp luminance pattern, Removing the light flare in the image 3. The distance estimation device according to claim 1 or 2.

4. A distance estimation method for estimating a distance from a vehicle to a traffic light, comprising: an image acquisition step of acquiring an image captured by a sensor that images the surroundings of the vehicle; a light size acquisition step of acquiring a light size of the light of the traffic light shown in the image; a distance estimation step of estimating a distance from the vehicle to the traffic light based on the size of the light; and, Including, A storage unit stores in advance a known flare luminance pattern in an image captured by the sensor, The light size acquisition step includes: Obtaining a light luminance pattern of the light in the image; A portion of the light luminance pattern that has a shape identical to that of the flare luminance pattern. A search is performed to find a part where the shapes match, from the light luminance pattern to the flare luminance pattern. removing the light flare in the image by subtracting Obtain the light size in the image after removing the flare. A distance estimation method comprising:

5. The light size acquisition step includes: The flare of the light in the image is removed, and the flare other than the light is removed. do not have 5. The distance estimation method according to claim 4.

6. the storage unit stores two or more flare luminance patterns corresponding to the light colors of traffic lights, The light size acquisition step Among the two or more flare luminance patterns, a flare luminance pattern is selected according to the color of the light in the image. Select the flare brightness pattern you have selected, By subtracting the selected flare luminance pattern from the lamp luminance pattern, Removing the light flare in the image 6. The distance estimation method according to claim 4 or 5.

7. A program for causing a computer to execute the distance estimation method according to any one of claims 4 to 6.

Citation Information

Patent Citations

  • Traffic light recognition system

    JP2007257303A

  • Flare correcting device

    JP2009152921A

  • Traffic light recognizing apparatus, traffic light recognizing method, and traffic light recognizing program

    JP2009244946A

  • Recognition apparatus, recognition method, and program

    JP2016161973A

  • Traffic light recognition device

    JP2019109602A