The present application is based on and claims priority from Japanese Patent Application No. 2012-28917, filed on Feb. 13, 2012 and No. 2012-276442, filed on Dec. 19, 2012, the disclosure of which is hereby incorporated by reference in its entirety.
The present invention relates to an imaging unit to capture an image of a predetermined imaging area via a transparent plate-like member and to a method for installing the same.
Japanese Patent No. 4326999 discloses an image processing system as attached matter detector to detect droplets as raindrops and foreign matter as frost or dust on the glass surface of a vehicle, ship, and airplane or on various window glasses of a building. This system projects light from a light source mounted in a vehicle cabin to a windshield and receives the light reflected by the windshield with an image sensor to capture and analyze an image to determine whether or not a foreign matter as raindrops is attached on the windshield. Specifically, it performs edge detection on the image signals of the captured image when the light source turns on, using a Laplasian filter to generate an edge image highlighting the boundary between a raindrops image area and a non-raindrops image area. Then, it conducts generalized Hough transform on the edge image, detects circular image areas, counts the number of these areas, and converts the number into the amount of rain.
The applicant proposed an image unit which captures an image of a forward area of a vehicle via a windshield and an image of raindrops on the outer surface of the windshield in Japanese Patent Application No. 2011-240848. This imaging unit is described referring to the drawings in the following.
The imaging unit includes the imaging element 1200 and a light source 1202 and is installed near the internal surface of a windshield 1105 of a vehicle. The imaging element 1200 is fixed on a vehicle's cabin ceiling, for example, at an appropriate angle so that the optical axis of an imaging lens of the imaging element 1200 aligns with a certain direction relative to a horizontal direction. Thus, a vehicle forward area is properly displayed on an image area for vehicle detection 1213, as shown in
In
In this imaging unit the position of the light source 1202 relative to the imaging element 1200 and the light emitting direction of the light source 1202 are unchanged. Therefore, the imaging unit can be installed easily by placing it so that the imaging element 1200 captures an image in a certain direction P, if the inclination angle θg of the windshield is preset. However, since the inclination angle 8g is different depending on a vehicle type, the unit of the imaging element 1200 and light source 1202 can be applied only for a limited type of vehicle.
The imaging unit in
Next, there is another type of an imaging unit in which the certain direction P of the imaging element 1200 is adjustable with the light source 1202 fixed on the internal surface of the windshield 1105. The installment of the imaging unit is completed simply by adjusting the angle of the imaging element 1200 and fixating the light source 1202 on the internal surface, so as to prevent the specular light by the outer surface from entering the imaging element 1200. With this imaging unit installed on a vehicle windshield inclined at over 20°, the incidence angle θ of the light from the light source 1202 on the internal surface of the windshield 1105 is the same as that when the inclination angle of the windshield 1105 is 20°.
However, this imaging unit has a problem that the light emitting direction of the light source changes in accordance with the inclination angle θg of the windshield 1105. With a change in the inclination angle θg, the traveling direction of the specular light reflected by the outer surface is shifted even at the same incidence angle θ. For example, if the imaging unit is installed on the windshield 1105 inclined at 35° in
A high S/N ratio can be acquired to maintain the raindrops detection accuracy as long as the specular light reflected by the windshield does not enter the imaging element 200 even at the inclination angle θg being not 20°. However, in reality the inclination angle range of the windshield 1105 in which the specular light is prevented from entering the imaging element 1200 is very narrow due to the fact that the light from the light source is divergent generally. Because of this, a problem arises that the above-described, installation—easy imaging unit cannot be applied to various windshields in a wide range of inclination angles. Although it is possible to apply the imaging unit to those windshields at different inclination angles by adjusting the position and light emitting direction of the light source 1202 in addition to the angle of the imaging element 1200, it requires additional works for the adjustments of the light source 1202, which hinders the simple installation of the imaging unit.
The present invention aims to provide an imaging unit which can capture an image of an imaging area via a transparent plate-like member as a windshield and an image of attached matter as raindrops on the outer surface of the transparent plate-like member, as well as to provide a method for easily and properly installing such an imaging unit so as not to allow specular light by the internal and outer surfaces of the transparent plate-like member in a wide inclination angle range to enter the imaging element.
According to one aspect of the present invention, an imaging unit includes a light source to project a light, an imaging element to receive a light having entered an outer surface of the transparent plate-like member from a predetermined imaging area and transmitted through the transparent plate-like member and a light from the light source reflected by an attached matter on the outer surface of the transparent plate-like member, to capture an image of the predetermined imaging area and an image of the attached matter, a mirror module fixed on the internal surface of the transparent plate-like member to fixedly support a reflective mirror to reflect the light from the light source, an imaging module to fixedly support the light source and the imaging element, fixed relative to the internal surface of the transparent plate-like member so that the imaging element captures an image in a certain direction, and a positioning mechanism to determine relative positions of the mirror module and the imaging module.
Features, embodiments, and advantages of the present invention will become apparent from the following detailed description with reference to the accompanying drawings:
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
In the following an imaging unit according to a first embodiment is used in an in-vehicle device control system by way of example. The imaging unit is applicable to other systems than the in-vehicle device control system.
The in-vehicle device control system includes an imaging unit 101 which is mounted close to a not-shown rearview reflective mirror on a windshield 105 as a transparent plate-like member, for example, to capture an image of a vehicle anterior area in the traveling direction of the vehicle 100. The image data captured by the imaging element of the imaging unit 101 is input to an image analysis unit 102 as an image processor to analyze the image data, calculate the position, direction, and distance of other vehicles ahead of the vehicle 100, or detect foreign matter such as raindrops attached on the windshield 105 or target objects such as the end of a road, white road markings in the imaging area. It detects a preceding vehicle in the traveling direction by identifying the tail lamps of that vehicle and an oncoming vehicle traveling in the opposite direction by identifying the headlights thereof.
The calculation results of the image analysis unit 102 are transmitted to a headlight control unit 103. The headlight control unit 103 generates a control signal for headlights 104 of the vehicle 100 from distance data calculated by the image analysis unit 102, for example. Specifically, it controls the headlights 104 to switch between a high beam and a low beam, or partially shades it, for example, to avoid bright light of the headlights 104 from entering the eyes of a driver of a preceding or oncoming vehicle and maintain a good view of the driver of the vehicle 100.
The calculation results are also sent to a wiper control unit 106 to control a windshield wiper 107 to remove raindrops and foreign matter attached on the windshield 105. It generates a control signal for the windshield wiper 107 in response to a result of detected foreign matter by the image analysis unit 102. Receiving the control signal from the wiper control unit 106, the windshield wiper 107 operates to clear the driver's view.
The calculation results are also sent to a vehicle drive control unit 108. The vehicle drive control unit 108 issues a warning to the vehicle driver and controls a steering wheel or a brake for driving assist on the basis of a result of detected road end or white marking when the vehicle 100 is running off from a traffic lane.
The imaging module 101A is fixed in the vehicle 100 so that the imaging element 200 can image a predetermined imaging area as vehicle anterior area in a certain direction P (along the optical axis of an imaging lens) irrespective of the inclination angle of the windshield 105. Herein, the inclination angle of the windshield 105 refers to the angle between the internal or outer surface of the windshield 105 and a horizontal direction H in a vertical plane in a vehicle traveling direction, and the certain direction P of the imaging element 200 refers to the direction slightly downward from the vehicle traveling direction.
The mirror module 101B fixedly supports the reflective mirror 203 to reflect the light from the light source 202 of the imaging module 101A to the windshield 105, and is fixed on the internal surface of the windshield 105. The orientation (relative to horizontal direction) of the reflective surface of the reflective mirror 203 is changed in accordance with the inclination angle of the windshield 105. With a change in the inclination angle, the incidence angle of light on the reflective mirror 203 from the light source 202 in the imaging module 101A is changed accordingly.
The imaging module 101A and mirror module 101B are joined via a rotational coupling mechanism 101C. The rotational coupling mechanism 101C includes a rotational shaft extending in a direction orthogonal to the inclination of the windshield 105 (back and forth direction in
The imaging unit 101 as configured above is installed in the vehicle 100 in the following manner. First, the mirror module 101B is fixed on the windshield 105 by adhesion or engagement using hooks or other parts, for example.
Then, the imaging module 101A is rotated about the rotational coupling mechanism 101C relative to the mirror module 101B to adjust the angle thereof so that the imaging element 200 can capture images in the certain direction P, and then fixed in the vehicle 100. The rotation adjustment range of the rotational coupling mechanism 101C or the angle adjustment range of the imaging module 101A relative to the mirror module 101B is arbitrarily set in accordance with an expected inclination angle range of the windshield 105. In the present embodiment the inclination angle range is assumed to be 20° or more and 35° or less, however, it can be changed properly depending on a vehicle type on which the imaging unit 101 is mounted.
The imaging module 101A and mirror module 101B can be fixed by fastening the imaging module 101A to the housing of the mirror module 101B with bolts provided in the rotational coupling mechanism 101C, for example. Alternatively, they can be fixed by forming in the imaging module 101A a long hole 101D of a partially arc shape around the rotary shaft, forming a hole in the mirror module 101B, and fastening a bolt 101E into the hole of the mirror module 101B through the long hole 101D of the imaging module 101A, as shown in
However, depending on the position of the rotational shaft of the rotational coupling mechanism 101C, the incidence point of the reflected light from the reflective mirror 203 on the internal surface may be changed by a change in the inclination angle θg. In this case the specular light from the outer surface or an interface between the outer surface and air shows, by the change, an amplitude as a change amount of positions of specular light passing through a virtual plane orthogonal to the certain direction P, but this amplitude is marginal and equivalent to the change in the incidence point. According to the present embodiment the specular light is prevented from entering the imaging element 200 as long as the inclination angle of the windshield 105 is within 20° or more and 35° or less.
With no raindrops Rd on the outer surface of the windshield 105, the light reflected by the reflective mirror 203 is reflected by the interface between the outer surface and ambient air but the specular light does not enter the imaging element 200. Meanwhile, with raindrops Rd on the outer surface, a difference in refractive index between the outer surface and raindrops Rd is smaller than that between the outer surface and ambient air. Accordingly, the light from the light source 202 transmits through the interface between the outer surface and ambient air, is incident on the raindrops Rd and reflected by the interface between the raindrops Rd and air. The reflected light by the raindrops Rd enters the imaging element 200. Thus, according to a difference caused by presence or absence of the raindrops Rd, the image analysis unit 102 can detect the raindrops Rd on the windshield 105 from the image data from the imaging element 200.
Specifically, the light emitting direction or optical axis of the light source 202 faces downward by 11° from the certain direction P of the imaging element 200 when the imaging element 200 captures an image horizontally, a half angle of view thereof is 14°, and the divergence angle of the light source 202 is ±6° as shown in
Further, the angle between the surface of the reflective mirror 203 and a normal line 105N of the internal surface of the windshield 105 is set to 76°. Thus, the specular light exits from the internal surface of the windshield 105 downward by 17° relative to the optical axis of the imaging element 200 or horizontal direction. The exit angle of 17° is constant irrespective of the inclination angle of the windshield 105 and smaller than the divergence angle of the light source 202 in
The rotation center of the rotational coupling mechanism 101C is set so that the reflected light is incident on almost the same point of the internal surface when the incidence angle of the windshield 105 is within the range of 20° or more and 35° or less. Specifically, it is preferably included in a rectangular area surrounded by four points 106A to 106D as in
The imaging unit 101 can be configured that the imaging module 101A, mirror module 101B and windshield 105 are covered with a case. This can prevent the covered area of the windshield 105 from being fogged even when the internal surface is fogged. Further, this can prevent an error in the analysis of the image analysis unit 102 due to fogging of the windshield. The image analysis unit 102 can properly control various operations on the basis of analysis results.
Alternatively, for detecting a fogging of the windshield 105 from image data from the imaging element 200 to control an air conditioning system of the vehicle 100, for example, the portion of the windshield 105 opposing the imaging element 200 does not need to be covered with the case or an airflow path can be formed in the case.
Further, the present embodiment describes an example of using the windshield 105 of the vehicle 100 as the transparent plate-like member where the imaging unit is installed. It should not be limited to such an example. The imaging unit can be installed for a transparent plate-like member of a surveillance system other than a vehicle system.
This imaging unit is fixed by fastening the bolt 101E into the hole of the mirror module 101B through the long hole 101D of the imaging module 101A, as shown in
It is preferable that the light emitting portion 202a of the light source 202 and the image sensor 206 of the imaging element 200 are mounted on the same substrate 207 in terms of cost reduction and a decrease in the number of necessary electric parts and components. Especially, the production process for the imaging unit can be facilitated by setting the optical axis of the light emitting portion 202a and the normal line of the surface of the image sensor 206 to direct at the normal line relative to the substrate surface. However, in the present embodiment it is difficult to place the light emitting portion 202a and the image sensor 206 on the same substrate since the light emitting direction of the light source 202 and the certain direction P of the imaging element 200 are different from each other.
In view of this, the light source 202 can include an optical path changing element to change the optical path from the light emitting portion 202a, for example. Thereby, the same substrate can be used for the light source 202a and the image sensor, reducing the number of electric parts and components. The optical path changing element can be a deflecting prism 202c in
Further, the reflective mirror 203 according to the present embodiment is a plane mirror, however, it can be a concave mirror 203A in
Further, the reflective mirror 203 according to the present embodiment can be a polarization mirror or beam splitter 203B in
The polarization mirror 203B in
Alternatively, the reflective mirror 203 can be a polarization mirror 203C with a wedged substrate as a rear surface inclined to the reflective surface, as shown in
Further, the reflected light by the reflective mirror 203 contains diffuse components. The incidence of diffuse components on the imaging element 200 decreases the raindrops detection accuracy. An optical shield 203D in
Alternatively, a small reflective mirror 203E in
In the present embodiment the focal point of the imaging lens 204 is set to infinity or between infinity and the outer surface of the windshield 105. This makes it possible to acquire proper information from the image data of the imaging element 200 for detecting the raindrops Rd on the windshield 105 as well as preceding or oncoming vehicles and white road markings.
To detect the raindrops Rd on the windshield 105, using a circular shape of raindrops, the shape of an image of a raindrop candidate is recognized by determining whether or not the candidate image on image data is circular. For the shape determination the focal point of the imaging lens 204 should be infinite or between infinity and the windshield 105 to blur the image as shown in
However, there may be a case where the focal point of the imaging lens 204 should be before infinity. With the focal point being infinite, if a preceding vehicle is driving far ahead, the number of light receiving elements of the image sensor 206 receiving the light of the tail lamps may be only one or so which is not the one to receive the red light of the tail lamps. This results in a failure in identifying the tail lamps and detecting a preceding vehicle. With the imaging lens 204 having a focal point before the infinity, the tail lamps of a preceding vehicle traveling far ahead are out of focus and the light thereof can be therefore received at a larger number of light receiving elements. The accuracy at which the tail lamps and preceding vehicle are detected can be improved accordingly.
In the present embodiment the optical wavelength of the light source 202 of the imaging unit 101 is a wavelength in infrared light range. In particular the wavelength around 940 nm is effective to reduce an influence from ambient light such as direct sunlight. In imaging infrared light from the light source 202 reflected by the raindrops Rd by the imaging element 200, the image sensor 206 of the imaging element 200 receives a large amount of ambient light including infrared light such as sunlight in addition to the infrared light from the light source 202. To distinguish the infrared light from the light source 202 from the ambient light, the light emitting amount of the light source 202 needs to be sufficiently larger than that of the ambient light. However, the use of such a light source 202 is practically very difficult.
In view of this, it can be configured that the image sensor 206 receives light from the light source 202 via a cut filter to cut off light with a shorter wavelength than the wavelength of light from the light source 202 in
However, the removed light with wavelengths other than the wavelength of the light source 202 includes light necessary for detecting a preceding or oncoming vehicle or white road markings. Therefore, in the present embodiment the image data is divided into a first image area for vehicle detection and a second image area for raindrops detection on the windshield 105, and the optical filter 205 is provided with a filter to remove light with wavelengths other than the infrared wavelengths of light of the light source 202 only for a portion corresponding to the first image area.
Generally, the headlights of an oncoming vehicle, the tail lamps of a vehicle ahead, road ends and white markings are present at the center of a captured image while a road surface ahead of the vehicle 100 is present in the bottom of the image. Thus, information needed to identify these things is mostly at the image center, and information in the bottom of an image is not important. For detecting a preceding or oncoming vehicle and road ends or white markings as well as raindrops from the same image data, a captured image is preferably divided as described above and so is the front filter 210 in
The information in the top of a captured image often contains the sky over the vehicle 100 and is not important for identifying the headlights of an oncoming vehicle, the tail lamps of a vehicle ahead and road ends or white markings. Therefore, the second image area for raindrops detection 214 can be at the top of the image, or two second image areas 214A, 214B can be provided at both the top and bottom of the image in
It is preferable to provide two light sources 202 and two reflective mirrors 203 for the two second image areas 214A, 214B. Also, it is possible to use the same light emitting portion 202a for the two light sources 202 and divide the light from the light emitting portion 202a to illuminate the second image areas 214A, 214B.
Further, in the present embodiment the cut filter in
Further, the infrared cut filter area 211 of the front filter 210 corresponds to the first image area 213. This filter area has only to transmit visible light therethrough and can be a non-filter area to transmit light with the entire wavelength range. It is however preferable to cut off infrared wavelengths for the purpose of reducing noise due to incident infrared light from the light source 202. The infrared cut filter area 211 according to the present embodiment owns a shortpass filter characteristic in
Further, a preceding vehicle is detected by identifying the tail lamps from a captured image. The light amount of the tail lamps is less than that of the headlights and contains ambient light as street lamps. It is therefore difficult to accurately detect the tail lamps from brightness data alone and requires spectral data to identify the tail lamps according to the amount of received red light. In view of this, in the present embodiment the rear filter 220 of the optical filter 205 includes a red or cyan filter in accordance with the color of the tail lamps to transmit only light with a wavelength range of the lamp color, to be able to detect the amount of received red light.
Further, the light receiving elements of the image sensor 206 are sensitive to infrared light and an image captured from light including an infrared wavelength range may be reddish as a whole, which hinders the recognition of a red image portion as a tail lamp. In view of this, the front filter 210 of the optical filter 205 includes the infrared cut filter area 211 corresponding to the first image area 213. Accordingly, the infrared wavelength range can be excluded from the image data used for the tail lamp recognition, improving the detection accuracy.
As shown in
The optical filter 205 is disposed near the micro lens 206B of the image sensor 206. The rear filter 220 of the optical filter 205 has a layered structure of a polarization layer 222 and a spectral layer 223 formed on a transparent circuit board 221. The polarization layer 222 and spectral layer 223 are both divided into areas corresponding to the photo diodes 206A.
Although the optical filter 205 and the image sensor 206 can be arranged with a gap, it is preferable to place the optical filter 205 closely to the image sensor 206 so that the boundaries between the areas of the polarization layer 222 and spectral layer 223 coincide with those between the photo diodes 206A of the image sensor 206. The optical filter 205 and image sensor 206 can be bonded with, for example, a UV adhesive or a rectangular area of the image sensor except for an effective pixel area can be thermally compression-bonded or bonded with a UV agent on the optical filter 205 while supported by a spacer.
The present embodiment describes an example where the image sensor 206 is a monochrome image sensor. Alternatively, the image sensor 206 can be a color image sensor. With use of a color image sensor, the optical transmittance characteristic of each area of the filters 222 and 223 has to be adjusted in accordance with the characteristic of a color filter attached to each pixel.
An example of the optical filter 205 is described with reference to
Such a spectral layer 211′ can transmit the visible wavelength range for vehicle detection and infrared wavelength range for raindrops detection and cut off the remaining unneeded wavelengths. This can eliminate the necessity for preparing different layers for vehicle detection and raindrops detection. The spectral layer 211′ is configured not to transmit light with a wavelength range of 700 nm or more and less than 920 nm or set to have a transmittance of 5% or less for the purpose of avoiding image data from becoming reddish as a whole and properly extracting a portion including the red color of the tail lamps. Preferably, it is configured not to allow the transmission of the wavelength range of the light source of 920 nm or more as shown in
The rear filter 220 of the optical filter 205 in
The spectral layer 223 is provided in the first filter 220A to oppose the image sensor 206 (bottom side in the drawing) but the second filter 220B does not include the spectral layer 23. Therefore, it is difficult to fix the optical filter 205 in
Meanwhile, the optical filter 205 in
Further, with use of the optical filter 205 in
Furthermore, in the optical filter 205 in
Alternatively, the spectral layer 226 can be one with a filter characteristic to selectively transmit therethrough light in a wavelength range of 925 nm or more and 965 or less as shown in
As described above, by using the two spectral layers 211′, 226, a higher filter characteristic or wavelength selective performance can be achieved than by using a single filter.
As shown in
Such a filler can be any material as long as it does not hinder the function of the polarization layer 222, and in the present embodiment a material with no polarizing property is used. Further, to flatten the polarization layer 222, for example, coating the layer with a filler by spin-on glass technology is suitable, but it should not be limited thereto.
The polarization layer 222 includes a first area or vertical polarization area to selectively transmit vertical polarization components alone oscillating in parallel to the vertical pixel arrays of the image sensor 206 and a second area or horizontal polarization layer to selectively transmit horizontal polarization components alone oscillating in parallel to the horizontal pixel arrays of the image sensor 206. The spectral layer 223 includes a first area or red color spectral area to selectively transmit only light with a red wavelength range included in the transmissible wavelength range of the polarization layer 222 and a second area or non-spectral area to transmit light without selecting a wavelength.
According to the present embodiment neighboring four pixels a1, b1, e1, f1, two vertical, two horizontal pixels indicated by a dashed-dotted line in
Thus, one pixel of a vertical polarization image of red light is acquired from the output signals of the pixels a1 and f1, one pixel of a vertical polarization image of non-spectral light is acquired from the output signal of the pixel b1, and one pixel of a horizontal polarization image of non-spectral light is acquired from the output signal of the pixel e1. Accordingly, in the present embodiment by a single imaging operation the three types of image data, vertical polarization image of red light, that of non-spectral light, and horizontal polarization image of non-spectral light can be obtained.
The number of pixels of these image data is less than that of a captured image. To generate images with a higher resolution, a known image interpolation processing can be used. For example, to generate a vertical polarization image of red light at a high resolution, the mean value of the pixels a1, c1, f1, j1 surrounding the pixel b1 is calculated and used as data on the vertical polarization component of red light of the pixel b 1. Further, to generate a horizontal polarization image of non-spectral light at a higher resolution, regarding the pixels corresponding to the pixels, a1, b1, f1, the mean value of the pixels e1, g1 which receive the horizontal polarization components of non-spectral light around the pixels a1, b1, f1 or the value of the pixel e1 can be used.
The vertical polarization image of red light is for example used for recognizing the tail lamps. By cutting off the horizontal polarization components S, it is made possible to prevent disturbance due to red light of high horizontal polarization components S such as red light reflected by the road surface or from the dashboard of a vehicle cabin, and acquire good red images, resulting in improving the rate at which the tail lamps are identified.
Further, the vertical polarization image of non-spectral light can be used for identifying white road markings or the headlights of an oncoming car, for example. By cutting off the horizontal polarization components S, it is made possible to prevent disturbance due to white light of high horizontal polarization components S from the headlights or the dashboard of a vehicle cabin reflected by the road surface and acquire good non-specular images, resulting in improving the rate at which the headlights and white markings are identified. Especially, it is effective to identify white road markings on a rainy road at a higher rate since reflected light by the water surface on a rainy road includes a large amount of horizontal polarization components.
Further, by use of an index image obtained by comparing the pixel values of the vertical and horizontal polarization images of non-specular light and using a found index value as pixel value, it is made possible to identify with accuracy a metal object or solid object in the image area, a condition, wet or dry, of the road surface, and white road markings on a rainy road. For an index image, used can be a differential image from the difference values of pixels values of vertical and horizontal polarization images of non-specular light, a polarization ratio image from a ratio of the pixel values of these images, or a differential polarization image from the degree of differential polarization of the pixel values of these images relative to the sum of the pixels values, for example.
Not the polarization ratio image but the differential polarization image is used for the index image in the present embodiment for the following reasons. In comparing the polarization ratio image with the differential polarization image, the former becomes close to infinity and therefore inaccurate when a denominator (P polarization component for example) thereof is near zero. Meanwhile, when a denominator as the sum of P and S polarization components is near zero, the latter becomes close to infinity and inaccurate. The latter is more likely to be accurately calculated since it is less probable that the denominator takes a value near zero.
Moreover, the polarization ratio can be accurately calculated when a numerator thereof (S polarization component) is close to zero. Therefore, the polarization ratio image is a suitable index image for detecting the polarization component as a numerator. Meanwhile, regarding the differential polarization degree, the sum of the P and S polarization components is near zero when either of them is near zero, which occurs at the same probability. Thus, the differential polarization image is a suitable index image for detecting the P and S polarization components equally.
In the present embodiment the infrared cut filter area 211 and infrared transmissive area 212 of the front filter 210 have different multi-layered structures. Such a front filter 210 can be manufactured by forming layers of infrared transmissive area 212 by vacuum deposition while masking a portion for the infrared cut filter area 211 and then forming layers of the infrared cut filter area 211 by vacuum deposition while masking the infrared transmissive area 212, for example.
Further, the polarization layer 222 of the first filter 220A and the polarization layer 225 of the second filter 220B have different two-dimensional wire grid structures. The former includes two kinds of areas (horizontal and vertical polarization areas) divided in a unit of pixel with their transmission axes orthogonal to each other. Meanwhile, the latter is composed of one kind of areas divided in a unit of pixel with a transmission axis to transmit only the vertical polarization components P. The two differently structured polarization layers can be easily formed on the same substrate 221 by adjusting the groove direction of a template for patterning metal wires of grid structures to adjust the length of the metal wires of each area of the polarization layers.
Further, the infrared cut filter area 211 can be provided in the imaging lens 204 instead of the optical filter 205. This facilitates the manufacture of the optical filter 205. In replace of the infrared cut filter area 211 of the front filter 210, a spectral layer can be formed in the second filter 220B of the rear filter 220 to transmit only the vertical polarization components P. Further, in the optical filter 205 the rear filter 220 including the polarization layer 222 and spectral layer 223 in
Next, detection of preceding and oncoming vehicles is described.
First, in step S1 image data on the anterior area of the vehicle 100 is captured by the image sensor 206 of the imaging element 200 and sent to the memory. The image data contains a signal indicating brightness of each pixel of the image sensor 206. In step S2 data on the behavior of the vehicle 100 is sent to the memory from a not-shown sensor.
In step S3 a high brightness image area as a target object (tail lamp of a preceding vehicle and headlight of an ongoing vehicle) is extracted from the image data in the memory. The high brightness image area is an area of the image data with a higher brightness than a certain threshold brightness. Image data may contain more than one high brightness areas and all of these areas are extracted. In this step an image area including light reflected by a rainy road is also extracted as a high brightness image area.
In step S3-1 the brightness value of each pixel on the image sensor 206 is binarized according to a certain threshold brightness. Specifically, pixels with a brightness equal to or higher than the certain threshold brightness are assigned with 1 and those with a brightness less than the threshold are assigned with 0. Thereby, a binarized image is generated. Then, in step S3-2 if there are a group of neighboring pixels at 1, they are labeled and extracted as a single high brightness image.
In step S4 a distance between an object in the imaging area corresponding to each extracted high brightness image area and the vehicle 100 is calculated. This process includes a calculation of a distance between the pair of tail lamps or headlights and the vehicle and a calculation of a distance between a single tail lamp or headlight and the vehicle when a preceding or oncoming vehicle goes far and the right and left lamps cannot be distinguished.
In step S4-1 a lamp pair is created. Two high brightness image areas are determined as a pair of lamps when the two areas are approximately the same in height, size and shape in image data captured by the imaging element 200. A high brightness image area with no pair is determined as a single lamp. In step S4-2 a distance to the lamp pair is calculated. The distance between the pair of headlights or tail lamps can be approximated to a constant value w0 (for example, about 1.5 m). The focal length f of the imaging element 200 is known so that the actual distance X to the lamp pair can be found by a simple proportion (X=f*w0/w1) where w1 is a distance between the right and left lamps on the image sensor 206 of the imaging element 200. Alternatively, the distance to a preceding or oncoming vehicle can be detected by a dedicated sensor as a laser radar or millimeter-wave radar.
In step S5 the type of lamp, head or tail, is determined. A ratio of a red image of vertical polarization components P and a white image of the same is used as spectral information to determine from the spectral information which one of the headlights or tail lamps the two high brightness image areas are. In step S5-1 for the two high brightness image areas, a red ratio image as index image is generated using a ratio of image data corresponding to the pixels a1, f1 and image data corresponding to the pixel b1 as a pixel value. In step S5-2 the pixel value of the red ratio image is compared with a certain threshold to determine a high brightness image area with a brightness of the certain threshold or more as a tail lamp image area and that with a brightness less than the certain threshold as a headlight image area.
The above-described spectral information is an example of using the ratio of red brightness as the index value. Alternatively, it can be another index value such as a degree of differential polarization, a ratio of the differential values of the pixels values of the red and white images of the vertical polarization components P relative to the sum of the pixel values of these images.
In step S6 for each of the tail lamp and headlight image areas determined, the type of light, direct light from the tail lamp or headlight or reflected light by a reflective mirror surface as rainy road surface is determined from differential polarization degree ((S−P)/(S+P)) as polarization data. In step S6-1 the differential polarization degrees ((S−P)/(S+P)) are calculated for the tail lamp image area and the headlight image area to generate respective differential polarization images using the differential polarization degrees as pixel values. In step S6-2 the pixel values of both of the areas are compared with a certain threshold. The tail lamp and headlight image areas with a pixel value equal to or over the certain threshold is determined as reflected light area, and therefore excluded. After the exclusion, the remaining areas are determined to be the images of the tail lamps of a preceding vehicle or the headlights of an ongoing vehicle.
With a rain sensor mounted in the vehicle, it can be configured that reflected light determination in step S6 is executed only in a rainy condition that light is likely to be reflected by the rainy road surface, for example, when a rainy weather is detected by the rain sensor or when a driver is operating wipers.
The results of detection of the preceding and ongoing vehicles are used for controlling the distribution of light to the headlights of the vehicle 100. Specifically, when the tail lamps are detected in the vehicle detection and the vehicle 100 is approaching to a preceding vehicle in a distance such that the light from the headlight can be incident on the rearview reflective mirror of the preceding car, the headlight control unit 103 shields a part of the headlights or controls the headlights to shift a projection of light vertically or horizontally. Likewise, when the headlights are detected and the vehicle 100 is approaching to an ongoing vehicle in a distance such that the headlight can illuminate the driver of the ongoing vehicle, the headlight control unit 103 shields a part of the headlights or controls the headlights to shift a projection of light vertically or horizontally.
Next, white road marking detection is described. In the present embodiment white road markings are detected for the purpose of avoiding the vehicle 100 from transgressing the driving area. Herein, white road markings refer to all the markings such as solid line, broken line, dot line, double line to lay out roads. Markings of other colors such as yellow are also detectable.
The white markings detection in the present embodiment uses polarization data from the imaging unit 101, for example, differential polarization degree ((S−P)/(S+P)) of white or non-specular, horizontal polarization component S and vertical polarization component P. Reflected light by white markings is mostly of diffusive reflection components in general, and the horizontal and vertical polarization components S, P are almost the same amount so that the differential polarization degree thereof is close to zero. Meanwhile, reflected light by an asphalt surface with no markings is mostly of scattering reflection components when the surface is dry so that the differential polarization degree is a positive value, and when the surface is wet, the reflected light is mostly of mirror surface reflection components so that the differential polarization degree is a larger positive value. Accordingly, a portion of the image area of a road surface with a differential polarization value smaller than a certain threshold is determined to be a white road marking.
Next, raindrops detection is described. In the present embodiment among the image data captured by the imaging element 200, image data in association with the first image area 213 is used for raindrops detection. Reflected light by the raindrops Rd includes vertical polarization components P and exerts high brightness so that the image sensor 206 can receive a large amount thereof through the optical filter 205. Accordingly, a high brightness image area is extracted from the first image area 213 as a candidate for raindrop image area. This extraction is done as in the high brightness image area extraction in step S3.
Further, a raindrop image on image data is mostly circular in shape. A determination is made on whether or not the shape of the extracted candidate image area is circular to identify a raindrop image area. In the present embodiment the raindrop detection is repeatedly performed in unit of 10 continuous images and results of the detection, presence or absence of raindrops, are counted up as count data. The wiper control unit 106 controls the windshield wiper 107 to operate or blow a washer fluid when the count data satisfies a certain condition that 10 positive results are counted continuously, for example.
Next, another example of the optical filter 205 is described.
A polarization layer 225′ is a vertical polarization area to selectively transmit vertical polarization components alone to the entire image sensor 206. A spectral layer 226′ includes a first area or infrared spectral area to selectively transmit light in an infrared wavelength range alone included in the transmissible wavelength range of the polarization layer 225′ and a second area or a non-spectral area to transmit light without selecting a wavelength.
According to the second embodiment neighboring four pixels a2, b2, e2, f2, two vertical, two horizontal pixels indicated by a dashed-dotted line in
Thus, one pixel of a vertical polarization image of infrared light is acquired from the output signals of the pixels a2 and f2 and one pixel of a non-spectral, vertical polarization image is acquired from the output signal of the pixels b2, e2. Accordingly, in this example by a single imaging operation two types of image data, vertical polarization image of infrared light and that of non-spectral light can be obtained. The number of pixels of these image data is less than that of a captured image. To generate images with a higher resolution, a known image interpolation processing can be used.
This vertical polarization image of infrared light can be used for the raindrops detection as in the first embodiment. Also, the vertical polarization image of non-spectral light can be used for identifying white markings or the headlights of an ongoing vehicle as in the first embodiment.
Still another example of the optical filter 205 is described.
As in the second embodiment, the polarization layer 225′ is a vertical polarization area to selectively transmit vertical polarization components P alone to the entire image sensor 206. The spectral layer 226′ includes a first area or infrared spectral area to selectively transmit light in an infrared wavelength range alone included in the transmissible wavelength range of the polarization layer 225′ and a second area or a non-spectral area to transmit light without selecting a wavelength.
According to the third embodiment neighboring four pixels a3, b3, e3, f3, two vertical, two horizontal pixels indicated by a dashed-dotted line in
Thus, one pixel of a vertical polarization image of infrared light is acquired from the output signals of the pixels a3 and e3 and one pixel of a vertical polarization image of non-spectral light is acquired from the output signal of the pixels b3, f3. Accordingly, in the third embodiment by a single imaging operation two types of image data, vertical polarization image of infrared light and that of non-spectral light can be obtained. The number of pixels of these image data is less than that of a captured image. To generate images with a higher resolution, a known image interpolation processing can be performed.
This vertical polarization image of infrared light can be used for the raindrops detection as in the first embodiment. Also, the vertical polarization image of non-spectral light can be used for identifying white markings or the headlights of an ongoing vehicle as in the first embodiment.
In comparison with the optical filter divided into areas in a checker pattern, the optical filter 205 according to the present embodiment can reduce a displacement of the relative positions of each pixel of the image sensor 206 and each area of the optical filter 205. That is, in the checker pattern the relative positions of each pixel and each area need to be adjusted vertically and horizontally while in the stripe pattern only horizontal adjustment is needed. Thus, it is made possible to shorten the assembly time in manufacturing process and simplify the structure of an assembly device. Note that a direction of the stripes is preferably parallel to a virtual plane (vertical plane in the present embodiment) including a projecting direction of the light source 202 and an imaging direction of the imaging element 200. In this case reflected light by any raindrop in the vertical direction of an image is captured. The optical filter in a vertical stripe pattern exerts an improved resolution for infrared data in the vertical direction, contributing an improvement of raindrops detection accuracy.
The mirror module and imaging module can be positioned by any arbitrary positioning mechanism other than the coupling mechanism. Therefore, the imaging module can be joined with not the mirror module but another element such as a transparent plate-like member or a vehicle's inner wall portion with a transparent plate-like member.
According to one embodiment of the present invention, it is easy to install the imaging unit simply by fixing the mirror module on the internal surface of the transparent plate-like member and fixing the imaging module so that the imaging element can capture an image in the certain direction. The relative position of the two modules is determined by the rotary coupling mechanism. Accordingly, the elements provided in the two modules as the light source, reflective mirror, and imaging element and the optical path from the light source through the reflective mirror to the incidence surface are positioned properly. The position adjustment and fixation of these modules can be facilitated.
Further, to install the imaging unit for a transparent plate-like member with a different inclination angle, it is unnecessary to adjust the position and light emitting direction of the light source and the position and orientation of the reflective mirror.
Further, before the installation, the imaging unit is adjusted so that the imaging element captures images in the same direction irrespective of the inclination angle of the transparent plate-like member. So is the light source fixed in the imaging module together with the imaging element. Further, even with the transparent plate-like member inclined at a different angle, the orientation of light reflected by the reflective mirror to the internal surface of the transparent plate-like member or the exit direction of the specular light from the internal or outer surface thereof is constant. Accordingly, the amplitude of the specular light due to a change in the inclination angle of the transparent plate-like member can be reduced to almost zero. Thus, the specular light reflected by the inner or outer surface can be prevented from entering the imaging element.
Further, even with a shift in the incidence point of the light on the internal surface of the transparent plate-like member, the amplitude due to the change in the exit direction from the internal surface is larger than that due to the shift in the incidence point.
Although the present invention has been described in terms of exemplary embodiments, it is not limited thereto. It should be appreciated that variations or modifications may be made in the embodiments described by persons skilled in the art without departing from the scope of the present invention as defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2012-028917 | Feb 2012 | JP | national |
2012-276442 | Dec 2012 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/053783 | 2/12/2013 | WO | 00 |