Light distribution control device, vehicle lighting system, and light distribution control method
The light distribution control system enhances target recognition in ADAS and autonomous driving by adjusting light intensity and pattern based on image analysis, addressing the accuracy challenges faced by existing systems.
Patent Information
- Application Number
- JP2022535356
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-07-08
- Filing Date
- 2021-07-06
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-07-06
AI Technical Summary
Existing ADAS and autonomous driving systems face challenges in accurately recognizing targets in front of a vehicle due to limitations in image processing and light distribution control.
A light distribution control system that uses a variable light distribution lamp and imaging device to adjust light intensity and pattern based on image analysis, employing HOG and LBP features to enhance target recognition accuracy.
Improves the recognition accuracy of targets in front of the vehicle by optimizing light distribution patterns, reducing lens flare, and enhancing the reliability of ADAS and autonomous driving systems.
Smart Images

Figure 0007534410000001 
Figure 0007534410000006 
Figure 0007534410000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a light distribution control device, a vehicle lighting system, and a light distribution control method. [Background technology]
[0002] In recent years, research and development of advanced driver-assistance systems (ADAS) and autonomous driving technology has been progressing as further technologies to assist drivers in driving operations. (For example, see Patent Document 1.) In ADAS and autonomous driving technology, the situation around the vehicle is grasped by imaging devices such as cameras, which act as mechanical eyes, and vehicle control is performed according to the situation. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-95831 A Summary of the Invention [Problem to be solved by the invention]
[0004] To realize the above-mentioned ADAS and autonomous driving with high accuracy, it is necessary to be able to recognize targets in front of the vehicle with high accuracy from images generated by an imaging device.
[0005] The present invention has been made in view of the above circumstances, and one of its objects is to provide a technique for improving the accuracy of recognizing targets present in front of a vehicle. [Means for solving the problem]
[0006] One aspect of the present invention is a light distribution control device that controls a variable light distribution lamp capable of irradiating a visible light beam with a variable intensity distribution to a forward area based on an image obtained from an imaging device that images the forward area of a vehicle. This device includes a calculation unit that extracts an index value from a predetermined processing target area in the image, a pattern determination unit that determines a light distribution pattern so that the index value approaches a maximum value, and a lamp control unit that controls the variable light distribution lamp to form a light distribution pattern. The index value is at least one of the average intensity of HOG (Histograms of Oriented Gradients) feature values in multiple pixels in the processing target area and an edge gradation ratio, which is the ratio of pixels belonging to edge gradations to the entire multiple pixels in an LBP (Local Binary Pattern) histogram of the multiple pixels.
[0007] Another aspect of the present invention is a vehicle lighting system comprising a variable light distribution lamp capable of irradiating a front area of a vehicle with a visible light beam having a variable intensity distribution, an imaging device that images the front area, and the light distribution control device according to the above aspect.
[0008] Another aspect of the present invention is a light distribution control method for controlling a variable light distribution lamp capable of irradiating a visible light beam with a variable intensity distribution to a forward area based on images repeatedly obtained from an imaging device that images the forward area of a vehicle. This control method includes extracting an index value from a predetermined processing target area in the image, determining a light distribution pattern so that the index value approaches a maximum value, and controlling the variable light distribution lamp to form the light distribution pattern. The index value is at least one of an average intensity of HOG (Histograms of Oriented Gradients) feature values in a plurality of pixels in the processing target area, and an edge gradation ratio, which is a ratio of pixels belonging to edge gradations to the entirety of the plurality of pixels in an LBP (Local Binary Pattern) histogram of the plurality of pixels.
[0009] Another aspect of the present invention is a light distribution control device that controls a variable light distribution lamp capable of irradiating a visible light beam with a variable intensity distribution to a forward area based on an image obtained from an imaging device that images the forward area of a vehicle. This device includes a calculation unit that extracts an LBP (Local Binary Pattern) histogram for a predetermined processing target area in the image and calculates a similarity between the extracted LBP histogram and a template LBP histogram prepared in advance, a pattern determination unit that determines a light distribution pattern such that the similarity approaches a maximum value, and a lamp control unit that controls the variable light distribution lamp to form a light distribution pattern.
[0010] Another aspect of the present invention is a vehicle lighting system comprising a variable light distribution lamp capable of irradiating a front area of a vehicle with a visible light beam having a variable intensity distribution, an imaging device that images the front area, and the light distribution control device according to the above aspect.
[0011] Another aspect of the present invention is a light distribution control method for controlling a variable light distribution lamp capable of irradiating a visible light beam with a variable intensity distribution to a forward area based on images repeatedly obtained from an imaging device that images the forward area of a vehicle. This control method includes extracting an LBP (Local Binary Pattern) histogram for a predetermined processing target area in the image, calculating a similarity between the extracted LBP histogram and a template LBP histogram prepared in advance, determining a light distribution pattern such that the similarity approaches a maximum value, and controlling the variable light distribution lamp to form the light distribution pattern.
[0012] Any combination of the above components and any conversion of the present invention into a method, device, system, etc. are also valid aspects of the present invention. Effect of the Invention
[0013] According to the present invention, it is possible to improve the accuracy of recognizing a target present ahead of the host vehicle. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram of a vehicle lighting system according to a first embodiment. [Diagram 2] FIG. 4 is a schematic diagram of an image generated under formation of a reference light distribution pattern. [Diagram 3] Fig. 3(A) is a diagram showing the relationship between the illuminance of a light distribution pattern and the average intensity of HOG features. Fig. 3(B) is a diagram showing the relationship between the illuminance of a light distribution pattern and the edge gradation ratio in an LBP histogram. Fig. 3(C) is a diagram showing the relationship between the illuminance of a light distribution pattern and the recognition score of a target. [Figure 4] 4 is a flowchart showing an example of light distribution control executed by a light distribution control device. [Diagram 5] FIG. 11 is a block diagram of a vehicle lighting system according to a second embodiment. [Figure 6] FIG. 4 is a schematic diagram of an image generated under formation of a reference light distribution pattern. [Figure 7] Fig. 7(A) is a diagram showing an example of an LBP histogram extracted from a processing target region, and Fig. 7(B) is a diagram showing an example of a template LBP histogram. [Figure 8] 10 is a flowchart showing an example of light distribution control. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] The present invention will be described below with reference to the drawings based on preferred embodiments. The embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention. The same or equivalent components, members, and processes shown in each drawing are given the same reference numerals, and duplicated descriptions are omitted as appropriate. The scale and shape of each part shown in each drawing are set for convenience to facilitate explanation, and are not to be interpreted as being limiting unless otherwise specified. In addition, when terms such as "first" and "second" are used in this specification or claims, unless otherwise specified, these terms do not represent any order or importance, but are intended to distinguish one configuration from another. In addition, some of the members that are not important in explaining the embodiment in each drawing are omitted.
[0016] (Embodiment 1) Fig. 1 is a block diagram of a vehicle lighting system according to a first embodiment. In Fig. 1, some of the components of the vehicle lighting system 1 are depicted as functional blocks. These functional blocks are realized as a hardware configuration by elements and circuits including a computer CPU and memory, and as a software configuration by a computer program or the like. Those skilled in the art will understand that these functional blocks can be realized in various forms by combining hardware and software.
[0017] The vehicle lighting system 1 includes a variable light distribution lamp 2, an imaging device 4, and a light distribution control device 6. All of these may be built into the same housing, or some of the components may be provided outside the housing. For example, the imaging device 4 may be an in-vehicle camera mounted in the vehicle cabin, or a lamp-embedded camera housed in the lamp chamber together with the variable light distribution lamp 2. The light distribution control device 6 may be incorporated into the vehicle ECU or the lamp ECU. As described later, the light distribution control device 6 includes an area setting unit 8, a calculation unit 10, a pattern determination unit 12, and a lamp control unit 14, some of which may be incorporated into the vehicle ECU and the other parts may be incorporated into the lamp ECU.
[0018] The variable light distribution lamp 2 is a lamp capable of irradiating a visible light beam L1 with a variable intensity distribution to a region in front of the vehicle. The variable light distribution lamp 2 can individually change the illuminance of light irradiated to a plurality of individual regions R arranged in the region in front of the vehicle. The plurality of individual regions R are arranged, for example, in a matrix. The variable light distribution lamp 2 receives information instructing a light distribution pattern PTN from a light distribution control device 6, and emits a visible light beam L1 having an intensity distribution according to the light distribution pattern PTN. This forms a light distribution pattern PTN in front of the vehicle. The light distribution pattern PTN is understood to be a two-dimensional illuminance distribution of an irradiation pattern 902 formed by the variable light distribution lamp 2 on a virtual vertical screen 900 in front of the vehicle.
[0019] The configuration of the variable light distribution lamp 2 is not particularly limited, and may include, for example, a plurality of light sources arranged in a matrix and a lighting circuit that independently drives and lights each light source. Preferred examples of the light source include semiconductor light sources such as LEDs (light emitting diodes), LDs (laser diodes), and organic or inorganic ELs (electroluminescence). Each individual region R is associated with each light source, and light is individually irradiated from each light source to each individual region R. Note that, in order to form an illuminance distribution according to the light distribution pattern PTN, the variable light distribution lamp 2 may use a matrix-type pattern forming device such as a DMD (Digital Mirror Device) or a liquid crystal device, or a device that illuminates the vehicle with light from the light source. It may also include a scanning optical type pattern forming device that scans in the forward direction.
[0020] The time required for the variable light distribution lamp 2 to form one light distribution pattern PTN is, for example, 0.1 to 5 ms. The resolution of the variable light distribution lamp 2, in other words, the light distribution resolution, is, for example, 10 to 2 million pixels. The resolution (light distribution resolution) of the variable light distribution lamp 2 means the number of unit areas whose illuminance can be changed independently in the light distribution pattern PTN. As an example, each unit area corresponds to each individual area R.
[0021] The imaging device 4 has sensitivity in the visible light region, and repeatedly captures images of the area ahead of the vehicle. The imaging device 4 captures reflected light L2 of the visible light beam L1 by an object ahead of the vehicle. The imaging device 4 only needs to have sensitivity in at least the wavelength region of the visible light beam L1. The image IMG generated by the imaging device 4 is sent to the light distribution control device 6. The image IMG is also sent to the vehicle ECU. The vehicle ECU can use the acquired image IMG for target recognition in ADAS and autonomous driving. The frame rate of the imaging device 4 is, for example, 200 fps to 10,000 fps (0.1 to 5 ms per frame). The resolution of the imaging device 4 is, for example, 300,000 pixels to 5 million pixels.
[0022] The light distribution control device 6 controls the light irradiation from the variable light distribution lamp 2 based on the image IMG obtained from the imaging device 4, and dynamically and adaptively controls the light distribution pattern PTN. The light distribution control device 6 can be configured with a digital processor, and may be configured, for example, with a combination of a microcomputer including a CPU and a software program, or may be configured with an FPGA (Field Programmable Gate Array), ASIC (Application Specified IC), or the like.
[0023] The light distribution control device 6 includes an area setting unit 8, a calculation unit 10, a pattern determination unit 12, and a lamp control unit 14. Each unit operates when an integrated circuit constituting the unit executes a program stored in a memory. The operation of each unit will be described in detail below.
[0024] 2 is a schematic diagram of an image IMG generated under the formation of a reference light distribution pattern PTNa. The region setting unit 8 determines a predetermined processing target region 18 based on a pixel region 16 having a pixel value equal to or greater than a predetermined value in an image IMG generated under the condition that a predetermined reference light distribution pattern PTNa is formed in a forward region. The pixel value is, for example, a luminance value.
[0025] The reference light distribution pattern PTNa is composed of light with an illuminance of 50% or more of the maximum illuminance of the variable light distribution lamp 2. In other words, the reference light distribution pattern PTNa is a light distribution pattern PTN with an illuminance of 50% or more overall. Preferably, the reference light distribution pattern PTNa is a light distribution pattern PTN with a maximum illuminance overall. The maximum illuminance of the variable light distribution lamp 2 is determined, for example, by law. Information on the reference light distribution pattern PTNa is held in advance by the pattern determination unit 12. For example, the area setting unit 8 can cause the variable light distribution lamp 2 to form the reference light distribution pattern PTNa via the pattern determination unit 12 and the lamp control unit 14.
[0026] The area setting unit 8 can determine a processing target area 18 in an irradiation possible range 20 in the image IMG where the visible light beam L1 can be irradiated from the variable light distribution lamp 2. As an example, Fig. 2 illustrates a case where the irradiation possible range 20 is substantially the entire image IMG.
[0027] For example, the region setting unit 8 holds a threshold value related to the luminance value in advance. Then, in the image IMG generated with the reference light distribution pattern PTNa formed, a set of pixels whose luminance value is equal to or greater than the threshold value is determined as the pixel region 16. The "predetermined value" and "threshold value" related to the pixel value (luminance value) can be set appropriately based on experiments and simulations performed by a designer. The region setting unit 8 may determine the set of pixels whose luminance value is maximum as the pixel region 16. In this case, the setting of the threshold value can be omitted.
[0028] The high-luminance pixel region 16 is generated by a light reflecting object 22 or a pedestrian 24 in front of the vehicle. The light reflecting object 22 or the pedestrian 24 is a target whose presence should be recognized in ADAS or autonomous driving. For example, the light reflecting object 22 is at least one selected from the group consisting of a road sign, a delineator, and a signboard. Alternatively, the light reflecting object 22 is an object having a retroreflective surface in a portion where the light of the variable light distribution lamp 2 is irradiated. The high-luminance pixel region 16 is also generated by a lamp 26 of the vehicle ahead, such as a headlamp or a tail lamp. Therefore, the processing target region 18 overlaps the light reflecting object 22, the pedestrian 24, and the lamp 26 of the vehicle ahead.
[0029] Then, the region setting unit 8 determines a processing target region 18 based on the identified high-luminance pixel region 16. The minimum unit size of the processing target region 18 corresponds to the light distribution resolution of the variable light distribution lamp 2. For example, the processing target region 18 is in one-to-one correspondence with the unit region of the light distribution pattern PTN. In other words, the minimum unit of the processing target region 18 corresponds to one individual region R.
[0030] When there is a one-to-one correspondence between each pixel of the image IMG and each unit area of the light distribution pattern PTN, the area setting unit 8 can determine a set of multiple unit areas overlapping one pixel area 16 as the processing target area 18. Also, when multiple unit areas correspond to one pixel, the area setting unit 8 can determine a set of multiple unit areas overlapping one pixel area 16 as the processing target area 18. Therefore, in these cases, it is possible to set the processing target area 18 having substantially the same shape as a light reflecting object, pedestrian, or lamp in the image IMG. Note that the processing target area 18 may be made larger than the pixel area 16 by providing a predetermined margin around the pixel area 16.
[0031] On the other hand, when one unit region corresponds to multiple pixels, the region setting unit 8 can define the processing target region 18 as follows. That is, when one pixel region 16 spans multiple unit regions, all unit regions that overlap with the pixel region 16 can be defined as the processing target region 18. Alternatively, the unit region that has the largest area of overlap with the pixel region 16 may be defined as the processing target region 18 for that pixel region 16.
[0032] Regardless of the correspondence between pixels and unit regions, when multiple pixel regions 16 are included in the image IMG, it is preferable that a processing target region 18 is defined for each pixel region 16. In other words, it is preferable that there is no upper limit to the number of processing target regions 18 that can be set in the image IMG. However, an upper limit may be set on the number of processing target regions 18. When an upper limit is set on the number of processing target regions 18, it is preferable to allocate processing target regions 18 in descending order of area of pixel regions 16. The region setting unit 8 sends information indicating the processing target regions 18 to the calculation unit 10.
[0033] The calculation unit 10 performs known image processing on a processing target region 18 in the image IMG to extract a predetermined index value from the processing target region 18. The index value is at least one of the average intensity of HOG (Histograms of Oriented Gradients) feature amounts in a plurality of pixels in the processing target region 18 and the edge gradation ratio in an LBP (Local Binary Pattern) histogram of the plurality of pixels.
[0034] The average intensity of the HOG feature is the average value of the magnitude of the HOG feature vector in each pixel of the processing target region 18, and one average intensity is determined for one processing target region 18. The edge gradation ratio is the ratio of pixels belonging to the edge gradation to the total number of pixels in the LBP histogram. The gradation of the edge part can be appropriately set based on experiments and simulations by the designer, and is stored in advance in memory.
[0035] When the processing target region 18 is included in the first region 28 in the image IMG, the calculation unit 10 of this embodiment extracts an edge gradation ratio from the processing target region 18. Moreover, when the processing target region 18 is included in the second region 30 in the image IMG, the calculation unit 10 extracts an average intensity of HOG features from the processing target region 18.
[0036] The calculation unit 10 holds information on the first region 28 and the second region 30 in advance in a memory. The first region 28 is a region in the image IMG where a predetermined light reflecting object 22 is predicted to exist. The second region 30 is a region in the image IMG where a pedestrian 24 is predicted to exist. For example, the first region 28 extends in the vehicle width direction at the upper part in the image IMG. The second region 30 is located below the first region 28 and at both ends in the vehicle width direction. The positions and shapes of the first region 28 and the second region 30 can be appropriately set based on experiments and simulations by a designer.
[0037] The positions and shapes of the first region 28 and the second region 30 may be fixed regardless of changes in the attitude of the vehicle or changes in the driving environment, or may be changed according to changes in the attitude of the vehicle or changes in the driving environment. Changes in the attitude of the vehicle include changes in the attitude in the pitch direction and the yaw direction. Changes in the driving environment of the vehicle include a change in the driving path of the vehicle from a straight road to a curved road, or a change from a horizontal road to a slope. The displacement and deformation of the first region 28 and the second region 30 are performed by, for example, the calculation unit 10.
[0038] The calculation unit 10 can detect changes in posture and driving environment by receiving signals from various sensors mounted on the vehicle, such as a vehicle height sensor, a yaw sensor, an acceleration sensor, and a steering sensor. In addition, for example, the calculation unit 10 stores in advance a conversion table that associates the position or shape of an area to be displaced or deformed with various sensor values. The calculation unit 10 can displace or deform the target area using this conversion table.
[0039] The LBP feature is more suitable for use in recognizing the light reflecting object 22 than the HOG feature. Therefore, by extracting the edge gradation ratio in the LBP histogram from the processing target area 18 included in the first area 28 where the presence of the light reflecting object 22 is estimated, it is possible to form a light distribution pattern PTN that is more suitable for recognizing the light reflecting object 22. On the other hand, the HOG feature is more suitable for use in recognizing the pedestrian 24 than the LBP feature. Therefore, by extracting the average intensity of the HOG feature from the processing target area 18 included in the second area 30 where the presence of the pedestrian 24 is estimated, it is possible to form a light distribution pattern PTN that is more suitable for recognizing the pedestrian 24.
[0040] When the processing target region 18 is included in the region excluding the first region 28 and the second region 30 in the image IMG, the average intensity of the HOG feature may be extracted or the edge gradation ratio may be extracted from the processing target region 18. For example, by extracting the average intensity of the HOG feature from the processing target region 18 included in the region, it becomes possible to form a light distribution pattern PTN that prioritizes the safety of pedestrians 24.
[0041] The calculation unit 10 may extract only the average intensity of the HOG features or only the edge gradation ratio in the LBP histogram for all processing target regions 18 in the image IMG, regardless of which region of the image IMG the region is included in. Also, the calculation unit 10 may extract both the average intensity of the HOG features and the edge gradation ratio in the LBP histogram from the same processing target region 18. The calculation unit 10 sends information indicating the index value to the pattern determination unit 12.
[0042] The pattern determination unit 12 determines the light distribution pattern PTN so that the index value acquired from the calculation unit 10 approaches a maximum value. The average intensity of the HOG feature amount, which is the index value, and the edge gradation ratio in the LBP histogram can be adjusted by changing the illuminance (intensity) of the light irradiated to the processing target area 18. Therefore, the pattern determination unit 12 can bring the index value of the processing target area 18 in the image IMG obtained under the formation of the light distribution pattern PTN closer to a maximum value by changing the illuminance of the portion of the light distribution pattern PTN that overlaps with the processing target area 18 (hereinafter, appropriately referred to as the overlapping portion).
[0043] When the calculation unit 10 extracts both the average intensity of the HOG features and the edge gradation ratio in the LBP histogram from each processing target region 18, for example, the pattern determination unit 12 sets the average illuminance determined based on each index value as the illuminance of the overlapping region. Also, the illuminance of the portion of the light distribution pattern PTN other than the overlapping portion is set based on another light distribution control. The pattern determination unit 12 sends information indicating the determined light distribution pattern PTN to the lamp control unit 14.
[0044] Fig. 3(A) is a diagram showing the relationship between the illuminance of the light distribution pattern PTN and the average intensity of the HOG feature. Fig. 3(B) is a diagram showing the relationship between the illuminance of the light distribution pattern PTN and the edge gradation ratio in the LBP histogram. Fig. 3(C) is a diagram showing the relationship between the illuminance of the light distribution pattern PTN and the recognition score of the target. In Figs. 3(A) to 3(C), the illuminance (horizontal axis) of the light distribution pattern PTN is expressed as a percentage when the maximum illuminance is 100%.
[0045] As shown in Fig. 3A, when the illuminance is decreased from the maximum illuminance, the average intensity of the HOG features remains almost unchanged at least up to 50% of the maximum illuminance, and then gradually increases when the illuminance falls below 50%. Then, the average intensity is maximized between about 3.5% and about 30% of the maximum illuminance, for example, between about 12.5% and about 25%.
[0046] As shown in Fig. 3B, when the illuminance is decreased from the maximum illuminance, the edge gradation ratio in the LBP histogram remains almost unchanged at least up to 50% of the maximum illuminance, and then gradually increases when the illuminance falls below 50%. Then, it becomes maximum when the illuminance is between about 3.5% and about 30% of the maximum illuminance, for example, between about 3.5% and about 12.5%.
[0047] As shown in FIG. 3(C), when the illuminance is decreased from the maximum illuminance, the recognition score remains almost unchanged at least up to 50% of the maximum illuminance, and gradually increases when the illuminance falls below 50%. The recognition score is then maximized between about 3.5% and about 30% of the maximum illuminance, for example, between about 3.5% and about 12.5%. This recognition score is calculated by an AI (Artificial Intelligence) constructed to recognize targets in an image IMG based on a predetermined target recognition algorithm. This was obtained using an engine.
[0048] Therefore, by determining the light distribution pattern PTN so that both the average intensity of the HOG feature and the edge gradation ratio in the LBP histogram approach the maximum value, the accuracy of target recognition using the imaging device 4 can be improved. In particular, by forming a reference light distribution pattern PTNa with an illuminance of 50% or more to set the processing target area 18, and gradually reducing the illuminance of the overlapping portion to bring each index value closer to the maximum value, it is possible to suppress the setting failure of the processing target area 18 (missing detection of the target) and to more reliably improve the recognition accuracy of the target. In addition, by adjusting the illuminance of the overlapping portion in the light distribution pattern PTN to a range of 3.5% to 30% of the maximum illuminance, it is possible to adjust each of the average intensity of the HOG feature and the edge gradation ratio to values that provide a good recognition score.
[0049] The lamp control unit 14 sends information indicative of the determined light distribution pattern PTN to the variable light distribution lamp 2, and controls the variable light distribution lamp 2 to form the light distribution pattern PTN. For example, when the dimming method of the light source is analog dimming, the lamp control unit 14 adjusts the DC level of the drive current flowing through the light source. When the dimming method of the light source is PWM (Pulse Width Modulation) dimming, the lamp control unit 14 adjusts the average level of the drive current by switching the current flowing through the light source and adjusting the ratio of the on period. When the variable light distribution lamp 2 has a DMD, the lamp control unit 14 may control the on / off switching of each mirror element constituting the DMD. When the variable light distribution lamp 2 has a liquid crystal device, the lamp control unit 14 may control the light transmittance of the liquid crystal device.
[0050] As a result, a light distribution pattern PTN that improves the recognition accuracy of the target is formed in front of the vehicle. Then, under the formation of this light distribution pattern PTN, an image IMG is generated by the imaging device 4. For example, the area setting unit 8 assigns the processing target area 18 determined on the image IMG generated under the formation of the reference light distribution pattern PTNa to the newly acquired image IMG until the reset process described later is executed. In other words, the processing target area 18 is fixed until the reset process is executed. Thereafter, the extraction of the index value, the determination of the light distribution pattern PTN, and the formation of the light distribution pattern PTN are executed again.
[0051] As an example, when a series of operations from acquisition of the image IMG to formation of the light distribution pattern PTN is repeated a predetermined number of times, the light distribution control device 6 executes a reset process. In the reset process, the lamp control unit 14 controls the variable light distribution lamp 2 to form a reference light distribution pattern PTNa. The area setting unit 8 determines a processing target area 18 in a new image IMG generated under the formation of the reference light distribution pattern PTNa. This makes it possible to make the processing target area 18 follow the movement of the pixel area 16.
[0052] The timing to start the reset process can be grasped, for example, by the region setting unit 8 counting the number of images IMG acquired after the formation of the reference light distribution pattern PTNa or the setting of the processing target region 18. Alternatively, it can be grasped by the pattern determination unit 12 counting the number of times the light distribution pattern PTN is determined, or the lamp control unit 14 counting the number of times the light distribution pattern PTN is formed. The "predetermined number of times" regarding the execution of the reset process, the number of images IMG, and the number of times the light distribution pattern PTN is determined or formed can be appropriately set based on experiments or simulations by the designer. The illuminance of the light irradiated to the region outside the processing target region 18 by the execution of the reset process is preferably gradually increased. This can reduce the sense of discomfort given to the driver.
[0053] The pattern determination unit 12 of the present embodiment gradually changes the illuminance of the portion of the light distribution pattern that overlaps with the processing target area, and reduces the amount of change in illuminance as the number of times the illuminance of the light irradiating the processing target area 18 changes increases. In other words, the pattern determination unit 12 reduces the change in illuminance of the light irradiating the processing target area 18 as the number of times the light distribution pattern PTN is determined after the processing target area 18 is set increases.
[0054] For example, the illuminance of the overlapping portion of the light distribution pattern PTN formed next to the reference light distribution pattern PTNa is set to a value obtained by multiplying the maximum illuminance value by the light attenuation rate α. The illuminance of the overlapping portion of the light distribution pattern PTN determined thereafter is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by the light attenuation rate α smaller than the light attenuation rate α used last time. As a result, the index value gradually increases and approaches the maximum value. If the illuminance of the overlapping portion is gradually decreased, the index value may start to decrease at a certain timing.
[0055] When the index value starts to decrease, the pattern determination unit 12 increases the illuminance of the overlapping portion of the light distribution pattern PTN to be formed thereafter. That is, the illuminance of the overlapping portion in the light distribution pattern PTN to be determined immediately after the index value starts to decrease is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by the light increase rate β. As a result, the index value starts to increase again and approaches the maximum value. Preferably, the light increase rate β used immediately after the index value starts to decrease is smaller than the light decrease rate α used immediately before the index value starts to decrease.
[0056] The illuminance of the overlapping portion of the light distribution pattern PTN to be determined thereafter is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by a light increase rate β smaller than the light increase rate β used previously. When the index value starts to decrease again, the illuminance of the overlapping portion is decreased. After that, the decrease and increase of the illuminance of the overlapping portion are alternately repeated until the reset process is executed.
[0057] By gradually decreasing the light attenuation rate α and the light increase rate β, it is possible to suppress the amount of decrease in the index value when the index value changes from increasing to decreasing. This makes it easier to stabilize the index value and therefore the illuminance of the overlapping part. The change in illuminance of the overlapping part may be linear or nonlinear. In other words, the light attenuation rate α may be changed every time the light distribution pattern PTN is determined, or may be changed after the light distribution pattern PTN is determined with the same light attenuation rate α a predetermined number of times. The same applies to the light increase rate β.
[0058] In the above-mentioned control, the illuminance adjustment is also performed on the lamp 26 of the forward vehicle to adapt to the light reflecting object 22 or the pedestrian 24. However, since the lamp 26 is a self-luminous body, even if the illuminance of the light irradiating the lamp 26 changes, the change in how it is captured on the image IMG is small. Therefore, there is no problem in regarding the pixel area 16 originating from the lamp 26 included in the image IMG as the light reflecting object 22 or the pedestrian 24.
[0059] 4 is a flowchart showing an example of light distribution control executed by the light distribution control device 6. This flow is repeatedly executed at a predetermined timing when, for example, an instruction to execute light distribution control is given by a light switch (not shown) and the ignition is on. During execution of light distribution control, the imaging device 4 repeatedly captures an image of the front area and sends the image IMG to the light distribution control device 6.
[0060] First, the light distribution control device 6 controls the variable light distribution lamp 2 to form a reference light distribution pattern PTNa (S101). Then, the light distribution control device 6 judges whether or not a high-luminance pixel region 16 is present in the image IMG generated under the formation of the reference light distribution pattern PTNa (S102). If a high-luminance pixel region 16 is present (Y in S102), the light distribution control device 6 determines a processing target region 18 based on the pixel region 16 (S103). If a high-luminance pixel region 16 is not present (N in S102), the light distribution control device 6 repeatedly judges whether or not a pixel region 16 is present based on the images IMG acquired sequentially (S102).
[0061] Next, the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is dimmed, and forms the light distribution pattern PTN (S104). After that, the light distribution control device 6 judges whether the number of images IMG acquired after the formation of the reference light distribution pattern PTNa exceeds a predetermined value (S105). If the number of acquired images IMG exceeds the predetermined value (Y in S105), the light distribution control device 6 ends this routine. When this routine ends, the next routine is started and the reference light distribution pattern PTNa is formed (S101). The period from the end of this routine to the formation of the reference light distribution pattern PTNa in the next routine corresponds to the execution of a reset process.
[0062] If the number of acquired images IMG does not exceed the predetermined value (N in S105), the light distribution control device 6 determines whether the index value has started to decrease based on the image IMG generated by the imaging device 4 in the situation where the light distribution pattern PTN was formed in step S104 (S106). If multiple processing target areas 18 are set, the light distribution control device 6 determines whether the index value has started to decrease for each processing target area 18. If the index value has not started to decrease (N in S106), the light distribution control device 6 forms a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is further dimmed (S104).
[0063] If the index value starts to decrease (Y in S106), the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is increased in light, and forms the light distribution pattern PTN (S107). After that, the light distribution control device 6 determines whether the number of images IMG acquired after the formation of the reference light distribution pattern PTNa exceeds a predetermined value (S108). If the number of images IMG acquired exceeds the predetermined value (Y in S108), the light distribution control device 6 ends this routine and executes a reset process.
[0064] If the number of acquired images IMG does not exceed the predetermined value (N in S108), the light distribution control device 6 determines whether the index value has started to decrease based on the image IMG generated by the imaging device 4 in the situation where the light distribution pattern PTN was formed in step S107 (S109). If the index value has not started to decrease (N in S109), the light distribution control device 6 forms a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is further increased in light (S107). If the index value has started to decrease (Y in S109), the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is reduced in light, and forms the light distribution pattern PTN (S104).
[0065] As described above, the light distribution control device 6 according to the present embodiment includes a calculation unit 10 that extracts an index value from a predetermined processing target region 18 in an image IMG generated by an imaging device 4, a pattern determination unit 12 that determines a light distribution pattern PTN so that the index value approaches a maximum value, and a lamp control unit 14 that controls the variable light distribution lamp 2 to form the light distribution pattern PTN. The index value extracted by the calculation unit 10 is at least one of the average intensity of the HOG feature amount in a plurality of pixels in the processing target region 18 and the edge gradation ratio, which is the ratio of pixels belonging to the gradation of the edge portion to the entirety of the plurality of pixels in an LBP histogram of the plurality of pixels. The vehicle lighting system 1 according to the present embodiment includes a variable light distribution lamp 2 that can irradiate a visible light beam L1 with a variable intensity distribution to a region ahead of the vehicle, an imaging device 4 that images the region ahead, and the light distribution control device 6 according to the present embodiment.
[0066] In this way, by controlling the light distribution to the processing target area 18 based on at least one of the average intensity of the HOG features extracted from the processing target area 18 and the edge gradation ratio of the LBP histogram, it is possible to improve the accuracy of target recognition using the image IMG in ADAS and autonomous driving. Furthermore, when the target is a light reflecting object 22, the illuminance of the light irradiated to the light reflecting object 22 can be appropriately reduced, thereby suppressing lens flare and blooming that may occur around the light reflecting object 22. This also makes it possible to improve the recognition accuracy of other targets and traffic participants existing around the light reflecting object 22.
[0067] Moreover, the light distribution control device 6 of the present embodiment includes an area setting unit 8. The area setting unit 8 determines a processing target area 18 based on a pixel area 16 having a pixel value equal to or greater than a predetermined value in an image IMG generated in a state in which the reference light distribution pattern PTNa is formed in a forward area. The reference light distribution pattern PTNa is composed of light with an illuminance of 50% or more of the maximum illuminance of the variable light distribution lamp 2. In this way, by forming a high-illuminance reference light distribution pattern PTNa to determine the processing target area 18, and then gradually lowering the illuminance of the portion overlapping with the processing target area 18, it is possible to more reliably improve the recognition accuracy of a target while reducing missed detection of the target whose presence should be recognized in ADAS or autonomous driving.
[0068] Furthermore, the calculation unit 10 of this embodiment extracts an edge gradation ratio from the processing target region 18 when the processing target region 18 is included in a first region 28 in the image IMG where a predetermined light reflecting object 22 is predicted to exist, and extracts an average intensity of HOG features from the processing target region 18 when the processing target region 18 is included in a second region 30 in the image IMG where a pedestrian 24 is predicted to exist. This makes it possible to further improve the recognition accuracy of the target object.
[0069] Moreover, the pattern determination unit 12 of the present embodiment gradually changes the illuminance of the portion of the light distribution pattern PTN that overlaps with the processing target region 18, and reduces the amount of change as the number of changes increases. This makes it easier to stabilize the illuminance of the overlapping portion of the light distribution pattern PTN, and further improves the recognition accuracy of the target.
[0070] The above has described the first embodiment of the present invention in detail. The first embodiment described above merely shows a specific example of implementing the present invention. The contents of the first embodiment do not limit the technical scope of the present invention, and many design changes such as changes, additions, and deletions of components are possible within the scope of the invention as defined in the claims. A new embodiment with a design change has the effects of each of the combined embodiments and modifications. In the first embodiment described above, the contents for which such design changes are possible are emphasized by adding notations such as "in this embodiment" and "in this embodiment", but design changes are permitted even in contents without such notations. Any combination of the above components is also valid as an aspect of the present invention. The hatching on the cross section of the drawing does not limit the material of the hatched object.
[0071] The invention according to the above-mentioned first embodiment may be specified by the following features. (Feature 1) A light distribution control method for controlling a variable light distribution lamp (2) capable of irradiating a visible light beam (L1) having a variable intensity distribution to a forward area of a vehicle based on images (IMG) repeatedly obtained from an imaging device (4) that images a forward area of a vehicle, comprising: Extracting index values from a predetermined processing target region (18) in an image (IMG); The light distribution pattern (PTN) is determined so that the index value approaches the maximum value. The method includes controlling a variable light distribution lamp (2) to form a light distribution pattern (PTN), The index value is at least one of an average intensity of HOG (Histograms of Oriented Gradients) features for a plurality of pixels in a processing target region (18) and an edge gradation ratio, which is the ratio of pixels belonging to the edge gradation to the entire plurality of pixels in an LBP (Local Binary Pattern) histogram of the plurality of pixels.
[0072] (Embodiment 2) Fig. 5 is a block diagram of a vehicle lighting system according to embodiment 2. In Fig. 5, some of the components of the vehicle lighting system 1 are depicted as functional blocks. These functional blocks are realized as a hardware configuration by elements and circuits including a computer CPU and memory, and as a software configuration by a computer program or the like. Those skilled in the art will understand that these functional blocks can be realized in various forms by combining hardware and software.
[0073] The vehicle lighting system 1 includes a variable light distribution lamp 2, an imaging device 4, and a light distribution control device 6. All of these may be built into the same housing, or some of the components may be provided outside the housing. For example, the imaging device 4 may be an in-vehicle camera mounted in the vehicle cabin, or a lamp-embedded camera housed in the lamp chamber together with the variable light distribution lamp 2. The light distribution control device 6 may be incorporated into the vehicle ECU or the lamp ECU. As described later, the light distribution control device 6 includes an area setting unit 8, a calculation unit 10, a pattern determination unit 12, and a lamp control unit 14, some of which may be incorporated into the vehicle ECU and the other parts may be incorporated into the lamp ECU.
[0074] The variable light distribution lamp 2 is a lamp capable of irradiating a visible light beam L1 with a variable intensity distribution to a region in front of the vehicle. The variable light distribution lamp 2 can individually change the illuminance of light irradiated to a plurality of individual regions R arranged in the region in front of the vehicle. The plurality of individual regions R are arranged, for example, in a matrix. The variable light distribution lamp 2 receives information instructing a light distribution pattern PTN from a light distribution control device 6, and emits a visible light beam L1 having an intensity distribution according to the light distribution pattern PTN. This forms a light distribution pattern PTN in front of the vehicle. The light distribution pattern PTN is understood to be a two-dimensional illuminance distribution of an irradiation pattern 902 formed by the variable light distribution lamp 2 on a virtual vertical screen 900 in front of the vehicle.
[0075] The configuration of the variable light distribution lamp 2 is not particularly limited, and may include, for example, a plurality of light sources arranged in a matrix and a lighting circuit that independently drives and lights each light source. Preferred examples of the light source include semiconductor light sources such as LEDs (light emitting diodes), LDs (laser diodes), and organic or inorganic ELs (electroluminescence). Each individual region R is associated with each light source, and light is individually irradiated from each light source to each individual region R. Note that, in order to form an illuminance distribution according to the light distribution pattern PTN, the variable light distribution lamp 2 may use a matrix-type pattern forming device such as a DMD (Digital Mirror Device) or a liquid crystal device, or a device that illuminates the vehicle with light from the light source. It may also include a scanning optical type pattern forming device that scans in the forward direction.
[0076] The time required for the variable light distribution lamp 2 to form one light distribution pattern PTN is, for example, 0.1 to 5 ms. The resolution of the variable light distribution lamp 2, in other words, the light distribution resolution, is, for example, 10 to 2 million pixels. The resolution (light distribution resolution) of the variable light distribution lamp 2 means the number of unit areas whose illuminance can be changed independently in the light distribution pattern PTN. As an example, each unit area corresponds to each individual area R.
[0077] The imaging device 4 has sensitivity in the visible light region, and repeatedly captures images of the area ahead of the vehicle. The imaging device 4 captures reflected light L2 of the visible light beam L1 by an object ahead of the vehicle. The imaging device 4 only needs to have sensitivity in at least the wavelength region of the visible light beam L1. The image IMG generated by the imaging device 4 is sent to the light distribution control device 6. The image IMG is also sent to the vehicle ECU. The vehicle ECU can use the acquired image IMG for target recognition in ADAS and autonomous driving. The frame rate of the imaging device 4 is, for example, 200 fps to 10,000 fps (0.1 to 5 ms per frame). The resolution of the imaging device 4 is, for example, 300,000 pixels to 5 million pixels.
[0078] The light distribution control device 6 controls the light irradiation from the variable light distribution lamp 2 based on the image IMG obtained from the imaging device 4, and dynamically and adaptively controls the light distribution pattern PTN. The light distribution control device 6 can be configured with a digital processor, and may be configured, for example, with a combination of a microcomputer including a CPU and a software program, or may be configured with an FPGA (Field Programmable Gate Array), ASIC (Application Specified IC), or the like.
[0079] The light distribution control device 6 includes an area setting unit 8, a calculation unit 10, a pattern determination unit 12, and a lamp control unit 14. Each unit operates when an integrated circuit constituting the unit executes a program stored in a memory. The operation of each unit will be described in detail below.
[0080] Fig. 6 is a schematic diagram of an image IMG generated under the formation of a reference light distribution pattern PTNa. The area setting unit 8 determines a predetermined processing target area 18 based on a pixel area 16 having a pixel value equal to or greater than a predetermined value in the image IMG. The pixel value is, for example, a luminance value. The area setting unit 8 can determine the processing target area 18 in an irradiation possible range 20 in the image IMG where the visible light beam L1 can be irradiated from the variable light distribution lamp 2. As an example, Fig. 6 illustrates a case where approximately the entire image IMG is the irradiation possible range 20.
[0081] The region setting unit 8 determines, for example, a set of pixels having the maximum brightness value in an image IMG generated in a state in which a predetermined reference light distribution pattern PTNa is formed in front of the vehicle, as the pixel region 16. The reference light distribution pattern PTNa is, for example, a light distribution pattern PTN having the maximum illuminance overall. Information on the reference light distribution pattern PTNa is held in advance by the pattern determination unit 12. For example, the region setting unit 8 can cause the light distribution variable lamp 2 to form the reference light distribution pattern PTNa via the pattern determination unit 12 and the lamp control unit 14. Note that the region setting unit 8 may hold a threshold value related to pixel values in advance, and may determine a set of pixels having pixel values equal to or greater than the threshold value as the pixel region 16. The "predetermined value" and "threshold value" related to pixel values (brightness values) can be appropriately set based on experiments and simulations conducted by a designer.
[0082] The high-luminance pixel region 16 is generated by a light reflecting object in front of the vehicle. The light reflecting object is a target whose presence should be recognized in ADAS or autonomous driving. For example, the light reflecting object is at least one selected from the group consisting of a road sign, a delineator, and a signboard. Alternatively, the light reflecting object is an object having a retroreflective surface in a portion where the light of the variable light distribution lamp 2 is irradiated. The high-luminance pixel region 16 is also generated by a lamp of the vehicle ahead, such as a headlamp or a tail lamp. Therefore, the processing target region 18 overlaps with the light reflecting object and the lamp of the vehicle ahead.
[0083] Then, the region setting unit 8 determines a processing target region 18 based on the identified high-luminance pixel region 16. The minimum unit size of the processing target region 18 corresponds to the light distribution resolution of the variable light distribution lamp 2. For example, the processing target region 18 is in one-to-one correspondence with the unit region of the light distribution pattern PTN. In other words, the minimum unit of the processing target region 18 corresponds to one individual region R.
[0084] When there is a one-to-one correspondence between each pixel of the image IMG and each unit area of the light distribution pattern PTN, the area setting unit 8 can determine a set of multiple unit areas overlapping one pixel area 16 as the processing target area 18. Also, when multiple unit areas correspond to one pixel, the area setting unit 8 can determine a set of multiple unit areas overlapping one pixel area 16 as the processing target area 18. Therefore, in these cases, it is possible to set the processing target area 18 having substantially the same shape as a light reflecting object or a lighting fixture in the image IMG. Note that the processing target area 18 may be made larger than the pixel area 16 by providing a predetermined margin around the pixel area 16.
[0085] On the other hand, when one unit region corresponds to multiple pixels, the region setting unit 8 can define the processing target region 18 as follows. That is, when one pixel region 16 spans multiple unit regions, all unit regions that overlap with the pixel region 16 can be defined as the processing target region 18. Alternatively, the unit region that has the largest area of overlap with the pixel region 16 may be defined as the processing target region 18 for that pixel region 16.
[0086] Regardless of the correspondence between pixels and unit regions, when multiple pixel regions 16 are included in the image IMG, it is preferable that a processing target region 18 is defined for each pixel region 16. In other words, it is preferable that there is no upper limit to the number of processing target regions 18 that can be set in the image IMG. However, an upper limit may be set on the number of processing target regions 18. When an upper limit is set on the number of processing target regions 18, it is preferable to allocate processing target regions 18 in descending order of area of pixel regions 16. The region setting unit 8 sends information indicating the processing target regions 18 to the calculation unit 10.
[0087] Fig. 7(A) is a diagram showing a typical example of an LBP histogram extracted from a processing target region 18. Fig. 7(B) is a diagram showing a typical example of a template LBP histogram. As shown in Fig. 7(A), the calculation unit 10 performs known image processing on the processing target region 18 to extract an LBP (Local Binary Pattern) histogram for the processing target region 18 in the image IMG.
[0088] As shown in Fig. 7B, the calculation unit 10 holds a template LBP histogram prepared in advance in the memory. An example of the template LBP histogram is an LBP histogram extracted from a processing target region 18 that overlaps with a light reflecting object (e.g., a road sign) in an image IMG captured during the day. The template LBP histogram may be an average of a plurality of LBP histograms. For example, the template LBP histogram is one that has been confirmed in advance to obtain a recognition score equal to or higher than a reference value, more preferably the highest score, in a target recognition algorithm used in ADAS and autonomous driving.
[0089] The calculation unit 10 calculates the similarity between the extracted LBP histogram and the template LBP histogram. The calculation unit 10 of this embodiment calculates an index value indicating the similarity by inner product calculation of a vector obtained from the extracted LBP histogram and a vector obtained from the template LBP histogram. The LBP histogram can be regarded as a vector having pixel values as components. The index value is, for example, the cosine (cosθ) of the angle between two vectors obtained by inner product calculation. Alternatively, the index value is the inner product value of two normalized vectors. Therefore, the maximum value of the index value is 1. The calculation unit 10 sends information indicating the index value as the similarity to the pattern determination unit 12.
[0090] The pattern determination unit 12 determines the light distribution pattern PTN so that the similarity approaches the maximum value. The pattern determination unit 12 of the present embodiment determines the light distribution pattern PTN so that the index value approaches the maximum value, that is, so that the cosine of the angle between two vectors or the inner product of two vectors approaches 1. The similarity and index value can be adjusted by changing the illuminance (intensity) of the light irradiated to the processing target area 18. Therefore, the pattern determination unit 12 can change the illuminance of the portion of the light distribution pattern PTN that overlaps with the processing target area 18 (hereinafter, appropriately referred to as the overlapping portion) to bring the LBP histogram of the processing target area 18 in the image IMG obtained under the formation of the light distribution pattern PTN closer to the template LBP histogram.
[0091] In other words, by approaching the similarity and index value to the maximum value, the appearance of the light reflecting object in the image IMG captured under the formation of the light distribution pattern PTN can be brought closer to the appearance in the image IMG captured during the day. This can improve the accuracy of recognizing the light reflecting object using the imaging device 4. Note that the illuminance of the portion of the light distribution pattern PTN excluding the overlapping portion is set based on another light distribution control. The pattern determination unit 12 sends information indicating the determined light distribution pattern PTN to the lamp control unit 14.
[0092] The lamp control unit 14 sends information indicative of the determined light distribution pattern PTN to the variable light distribution lamp 2, and controls the variable light distribution lamp 2 to form the light distribution pattern PTN. For example, when the dimming method of the light source is analog dimming, the lamp control unit 14 adjusts the DC level of the drive current flowing through the light source. When the dimming method of the light source is PWM (Pulse Width Modulation) dimming, the lamp control unit 14 adjusts the average level of the drive current by switching the current flowing through the light source and adjusting the ratio of the on period. When the variable light distribution lamp 2 has a DMD, the lamp control unit 14 may control the on / off switching of each mirror element constituting the DMD. When the variable light distribution lamp 2 has a liquid crystal device, the lamp control unit 14 may control the light transmittance of the liquid crystal device.
[0093] As a result, a light distribution pattern PTN that improves the recognition accuracy of the target is formed in front of the vehicle. Then, under the formation of this light distribution pattern PTN, an image IMG is generated by the imaging device 4. As an example, the area setting unit 8 assigns the processing target area 18 determined on the image IMG generated under the formation of the reference light distribution pattern PTNa to the newly acquired image IMG until the reset process described later is executed. In other words, the processing target area 18 is fixed until the reset process is executed. Thereafter, the calculation of the similarity, the determination of the light distribution pattern PTN, and the formation of the light distribution pattern PTN are executed again.
[0094] As an example, when a series of operations from acquisition of the image IMG to formation of the light distribution pattern PTN is repeated a predetermined number of times, the light distribution control device 6 executes a reset process. In the reset process, the lamp control unit 14 controls the variable light distribution lamp 2 to form a reference light distribution pattern PTNa. The area setting unit 8 determines a processing target area 18 in a new image IMG generated under the formation of the reference light distribution pattern PTNa. This makes it possible to make the processing target area 18 follow the movement of the pixel area 16.
[0095] The timing to start the reset process can be grasped, for example, by the region setting unit 8 counting the number of images IMG acquired after the formation of the reference light distribution pattern PTNa or the setting of the processing target region 18. Alternatively, it can be grasped by the pattern determination unit 12 counting the number of times the light distribution pattern PTN is determined, or the lamp control unit 14 counting the number of times the light distribution pattern PTN is formed. The "predetermined number of times" regarding the execution of the reset process, the number of images IMG, and the number of times the light distribution pattern PTN is determined or formed can be appropriately set based on experiments or simulations by the designer. The illuminance of the light irradiated to the region outside the processing target region 18 by the execution of the reset process is preferably gradually increased. This can reduce the sense of discomfort given to the driver.
[0096] The pattern determination unit 12 of the present embodiment reduces the amount of change in illuminance as the number of times the illuminance of the light irradiated to the processing target area 18 changes increases. In other words, the pattern determination unit 12 reduces the change in illuminance of the light irradiated to the processing target area 18 as the number of times the light distribution pattern PTN is determined after the processing target area 18 is set increases.
[0097] For example, the illuminance of the overlapping portion of the light distribution pattern PTN formed next to the reference light distribution pattern PTNa is set to a value obtained by multiplying the maximum illuminance value by the light attenuation rate α. The illuminance of the overlapping portion of the light distribution pattern PTN to be determined thereafter is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by the light attenuation rate α smaller than the light attenuation rate α used last time. As a result, the similarity and index value gradually increase and approach the maximum value. If the illuminance of the overlapping portion is gradually decreased, the similarity and index value will start to decrease at a certain timing. That is, the LBP histogram of the processing target area 18 starts to move away from the template LBP histogram.
[0098] When the similarity and index value start to decrease, the pattern determination unit 12 increases the illuminance of the overlapping portion of the light distribution pattern PTN to be formed thereafter. That is, the illuminance of the overlapping portion in the light distribution pattern PTN to be determined immediately after the similarity and index value start to decrease is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by the light increase rate β. As a result, the similarity and index value start to increase again and approach the maximum value. Preferably, the light increase rate β used immediately after the similarity and index value start to decrease is smaller than the light decrease rate α used immediately before they start to decrease.
[0099] The illuminance of the overlapping portion of the light distribution pattern PTN to be determined thereafter is set to a value obtained by multiplying the illuminance of the overlapping portion of the light distribution pattern PTN formed at that time by a light increase rate β smaller than the light increase rate β used previously. When the similarity and index value start to decrease again, the illuminance of the overlapping portion is decreased. After that, the decrease and increase of the illuminance of the overlapping portion are alternately repeated until the reset process is executed.
[0100] By gradually decreasing the light attenuation rate α and the light increase rate β, it is possible to suppress the decrease in the similarity and index value when the similarity and index value change from increasing to decreasing. This makes it easier to maintain the LBP histogram extracted from the processing target area 18 close to the template LBP histogram. The illuminance change in the overlapping portion may be linear or nonlinear. That is, the light attenuation rate α may be changed every time the light distribution pattern PTN is determined, or may be changed after the light distribution pattern PTN is determined with the same light attenuation rate α a predetermined number of times. The same applies to the light increase rate β.
[0101] The above-mentioned template LBP histogram corresponds to a light reflecting object captured during the day. That is, in the above-mentioned control, all high-luminance pixel regions 16 included in the image IMG are regarded as light reflecting objects, and the illuminance of the light irradiated to the processing target region 18 is adjusted. In this case, the illuminance adjustment adapted to the light reflecting object is also performed on the lamp of the forward vehicle. However, since the lamp is a self-luminous object, even if the illuminance of the light irradiated to the lamp changes, the change in the appearance on the image IMG is small. Therefore, there is no problem in regarding all high-luminance pixel regions 16 included in the image IMG as light reflecting objects.
[0102] 8 is a flowchart showing an example of light distribution control executed by the light distribution control device 6. This flow is repeatedly executed at a predetermined timing when, for example, an instruction to execute light distribution control is given by a light switch (not shown) and the ignition is on. During execution of light distribution control, the imaging device 4 repeatedly captures an image of the front area and sends the image IMG to the light distribution control device 6.
[0103] First, the light distribution control device 6 controls the variable light distribution lamp 2 to form a reference light distribution pattern PTNa (S201). Then, the light distribution control device 6 judges whether or not a high-luminance pixel region 16 is present in the image IMG generated under the formation of the reference light distribution pattern PTNa (S202). If a high-luminance pixel region 16 is present (Y in S202), the light distribution control device 6 determines the processing target region 18 based on the pixel region 16 (S203). If a high-luminance pixel region 16 is not present (N in S202), the light distribution control device 6 repeatedly judges whether or not a pixel region 16 is present based on the images IMG acquired sequentially (S202).
[0104] Next, the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is dimmed, and forms the light distribution pattern PTN (S204). After that, the light distribution control device 6 judges whether the number of images IMG acquired after the formation of the reference light distribution pattern PTNa exceeds a predetermined value (S205). If the number of acquired images IMG exceeds the predetermined value (Y in S205), the light distribution control device 6 ends this routine. When this routine ends, the next routine is started and the reference light distribution pattern PTNa is formed (S201). The period from the end of this routine to the formation of the reference light distribution pattern PTNa in the next routine corresponds to the execution of a reset process.
[0105] If the number of acquired images IMG does not exceed the predetermined value (N in S205), the light distribution control device 6 determines whether the index value has started to decrease based on the image IMG generated by the imaging device 4 in the situation where the light distribution pattern PTN was formed in step S204 (S206). If multiple processing target areas 18 are set, the light distribution control device 6 determines whether the index value has started to decrease for each processing target area 18. If the index value has not started to decrease (N in S206), the light distribution control device 6 forms a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is further dimmed (S204).
[0106] If the index value starts to decrease (Y in S206), the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is increased in light, and forms the light distribution pattern PTN (S207). After that, the light distribution control device 6 determines whether the number of images IMG acquired after the formation of the reference light distribution pattern PTNa exceeds a predetermined value (S208). If the number of images IMG acquired exceeds the predetermined value (Y in S208), the light distribution control device 6 ends this routine and executes a reset process.
[0107] If the number of acquired images IMG does not exceed the predetermined value (N in S208), the light distribution control device 6 determines whether the index value has started to decrease based on the image IMG generated by the imaging device 4 in the situation where the light distribution pattern PTN was formed in step S207 (S209). If the index value has not started to decrease (N in S209), the light distribution control device 6 forms a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is further increased in light (S207). If the index value has started to decrease (Y in S209), the light distribution control device 6 determines a light distribution pattern PTN in which the portion overlapping with the processing target area 18 is reduced in light, and forms the light distribution pattern PTN (S204).
[0108] In this embodiment, light reflecting objects are the targets of light distribution control, but even targets other than light reflecting objects can be subject to light distribution control by preparing a template LBP histogram corresponding to the target.
[0109] As described above, the light distribution control device 6 according to this embodiment includes a calculation unit 10 that extracts an LBP (Local Binary Pattern) histogram for a predetermined processing target region 18 in an image IMG generated by the imaging device 4 and calculates a similarity between the extracted LBP histogram and a template LBP histogram prepared in advance, a pattern determination unit 12 that determines a light distribution pattern PTN so that the similarity approaches a maximum value, and a lamp control unit 14 that controls the variable light distribution lamp 2 to form the light distribution pattern PTN. Also, the vehicle lighting system 1 according to this embodiment includes the variable light distribution lamp 2 that can irradiate a visible light beam L1 having a variable intensity distribution to a region ahead of the vehicle, an imaging device 4 that images the region ahead, and the light distribution control device 6 of this embodiment.
[0110] Conventionally, in light distribution control that supports the driver's target recognition, the illuminance of the light irradiated to the target has been changed using the luminance of the target itself as an index. For example, in conventional light distribution control, when the target is a light reflecting object, the illuminance of the light irradiated to the light reflecting object is increased when the luminance of the light reflecting object is a low luminance value that is assumed to be difficult for the driver to see. Also, when the luminance of the light reflecting object is a high luminance value that is assumed to give the driver glare, the illuminance of the light irradiated to the light reflecting object is decreased.
[0111] In response to this, the inventor found that light distribution control based on luminance itself contributes to target recognition by the driver, but does not necessarily contribute to target recognition using images IMG in ADAS and autonomous driving. Based on this knowledge, the inventor then conducted extensive research and came up with the idea of using the LBP histogram as a new index.
[0112] That is, by comparing the LBP histogram extracted from the processing target area 18 with a template LBP histogram prepared in advance and controlling the light distribution so that the similarity approaches a maximum value, it is possible to improve the accuracy of target recognition using an image IMG in ADAS or autonomous driving. In addition, if the target is a light reflecting object, the illuminance of the light irradiated to the light reflecting object can be appropriately reduced, thereby suppressing lens flare and blooming that may occur around the light reflecting object. This also improves the recognition accuracy of targets and traffic participants existing around the light reflecting object.
[0113] Furthermore, the light distribution control device 6 of the present embodiment includes an area setting unit 8 that determines a processing target area 18 based on a pixel area 16 having a pixel value equal to or greater than a predetermined value in the image IMG. This can further improve the recognition accuracy of light reflecting objects.
[0114] In addition, the calculation unit 10 of this embodiment calculates an index value indicating the similarity by calculating the inner product of a vector obtained from the extracted LBP histogram and a vector obtained from the template LBP histogram, and the pattern determination unit 12 determines the light distribution pattern PTN so that the index value approaches the maximum value. In this way, by using the index value obtained by the inner product calculation as the similarity, it is possible to simplify the light distribution control.
[0115] Furthermore, the pattern determination unit 12 of the present embodiment gradually changes the illuminance of the portion of the light distribution pattern PTN that overlaps with the processing target region 18, and reduces the amount of change as the number of changes increases. This makes it easier to maintain a close similarity between the LBP histogram extracted from the processing target region 18 and the template LBP histogram. This makes it possible to further improve the recognition accuracy of the target object.
[0116] The second embodiment of the present invention has been described above in detail. The second embodiment described above merely shows a specific example of implementing the present invention. The contents of the second embodiment do not limit the technical scope of the present invention, and many design changes such as changes, additions, and deletions of components are possible within the scope of the invention as defined in the claims. A new embodiment with a design change has the effects of each of the combined embodiments and modifications. In the second embodiment described above, the contents for which such design changes are possible are emphasized by adding notations such as "in this embodiment" and "in this embodiment", but design changes are permitted even in contents without such notations. Any combination of the above components is also valid as an aspect of the present invention. The hatching on the cross section of the drawing does not limit the material of the object to which the hatching is added.
[0117] The invention according to the above-mentioned second embodiment may be specified by the following features. (Feature 2) A light distribution control method for controlling a variable light distribution lamp (2) capable of irradiating a visible light beam (L1) having a variable intensity distribution to a forward area of a vehicle based on images (IMG) repeatedly obtained from an imaging device (4) that images a forward area of a vehicle, comprising: An LBP histogram is extracted for a predetermined processing target region (18) in an image (IMG), and a similarity between the extracted LBP histogram and a template LBP histogram prepared in advance is calculated; A light distribution pattern is determined so that the similarity approaches a maximum value, A variable light distribution lamp (2) is controlled to form a light distribution pattern. A light distribution control method comprising the steps of: [Industrial Applicability]
[0118] The present invention can be used in a light distribution control device, a vehicle lighting system, and a light distribution control method. [Explanation of symbols]
[0119] 1 vehicle lighting system, 2 variable light distribution lamp, 4 imaging device, 6 light distribution control device, 8 area setting unit, 10 calculation unit, 12 pattern determination unit, 14 lamp control unit, 16 pixel area, 18 processing target area, 22 light reflecting object, 24 pedestrian, 28 first area, 30 second area.
Claims
1. A light distribution control device that controls a variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a forward area of a vehicle based on an image obtained from an imaging device that images the forward area of the vehicle, A calculation unit that extracts an index value from a predetermined processing target region in the image; A pattern determination unit that determines a light distribution pattern so that the index value approaches a maximum value; a lamp control unit that controls the variable light distribution lamp so as to form the light distribution pattern, The index value is at least one of the average intensity of HOG (Histograms of Oriented Gradients) features in the multiple pixels of the processing target area, and the edge gradation ratio, which is the ratio of pixels belonging to the edge gradation to the entire multiple pixels in an LBP (Local Binary Pattern) histogram of the multiple pixels.
2. 2. The light distribution control device according to claim 1, further comprising an area setting unit that determines the processing target area based on a pixel area having a pixel value equal to or greater than a predetermined value in the image generated in a state in which a reference light distribution pattern composed of light with an illuminance of 50% or more of the maximum illuminance of the variable light distribution lamp is formed in the forward area.
3. The calculation unit is extracting the edge gradation ratio from the processing target area when the processing target area is included in a first area in which a predetermined light reflecting object is predicted to exist in the image; extracting an average intensity of the HOG feature from the processing target region when the processing target region is included in a second region in the image in which a pedestrian is predicted to be present; The light distribution control device according to claim 1 or 2.
4. The light distribution control device according to claim 1 , wherein the pattern determination unit gradually changes the illuminance of a portion of the light distribution pattern that overlaps with the processing target region, and reduces an amount of change as the number of changes increases.
5. A variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a front area of a vehicle; an imaging device that images the forward area; A light distribution control device according to any one of claims 1 to 4, A vehicle lighting system comprising:
6. A light distribution control method for controlling a variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a forward area of a vehicle based on images repeatedly obtained from an imaging device that images the forward area of the vehicle, the method comprising: Extracting index values from a predetermined processing target region in the image; determining a light distribution pattern so that the index value approaches a maximum value; controlling the variable light distribution lamp to form the light distribution pattern; The light distribution control method, wherein the index value is at least one of an average intensity of HOG (Histograms of Oriented Gradients) features in a plurality of pixels in the processing target area, and an edge gradation ratio, which is the ratio of pixels belonging to the edge gradation to the entirety of the plurality of pixels in an LBP (Local Binary Pattern) histogram of the plurality of pixels.
7. A light distribution control device that controls a variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a forward area of a vehicle based on an image obtained from an imaging device that images the forward area of the vehicle, a calculation unit that extracts an LBP (Local Binary Pattern) histogram for a predetermined processing target region in the image and calculates a similarity between the extracted LBP histogram and a template LBP histogram that is prepared in advance; a pattern determination unit that determines a light distribution pattern so that the similarity approaches a maximum value; a lamp control unit that controls the variable light distribution lamp so as to form the light distribution pattern.
8. The light distribution control device according to claim 7 , further comprising an area setting section that determines the processing target area based on a pixel area in the image having a pixel value equal to or greater than a predetermined value.
9. the calculation unit calculates an index value indicating the degree of similarity by performing an inner product calculation between a vector obtained from the extracted LBP histogram and a vector obtained from the template LBP histogram; The light distribution control device according to claim 7 or 8, wherein the pattern determination unit determines the light distribution pattern so that the index value approaches a maximum value.
10. The light distribution control device according to claim 7 , wherein the pattern determination unit gradually changes the illuminance of a portion of the light distribution pattern that overlaps with the processing target region, and reduces an amount of change as the number of changes increases.
11. A variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a front area of a vehicle; an imaging device that images the forward area; A light distribution control device according to any one of claims 7 to 10, A vehicle lighting system comprising:
12. A light distribution control method for controlling a variable light distribution lamp capable of irradiating a visible light beam having a variable intensity distribution to a forward area of a vehicle based on images repeatedly obtained from an imaging device that images the forward area of the vehicle, the method comprising: extracting an LBP (Local Binary Pattern) histogram for a predetermined processing target region in the image, and calculating a similarity between the extracted LBP histogram and a template LBP histogram prepared in advance; determining a light distribution pattern such that the similarity approaches a maximum value; Controlling the variable light distribution lamp so as to form the light distribution pattern A light distribution control method comprising the steps of:
Citation Information
Patent Citations
Driving support system and center
JP2016095831A
Feature amount extraction device, feature amount extraction method, and feature amount extraction program
JP2016189133A
Object recognition device, object recognition method and object recognition program
JP2017165345A
Vehicular lighting fixture and control method of the same
JP2018008660A
