Device and method suitable for preventing automobile intelligent rearview mirror from being bright light at night

文档序号:1424211 发布日期:2020-03-17 浏览:34次 中文

阅读说明:本技术 一种适用于汽车智能后视镜夜间防强光的装置和方法 (Device and method suitable for preventing automobile intelligent rearview mirror from being bright light at night ) 是由 王正家 何涛 曾雨晴 李勇 王超 吴顺尧 翟海祥 于 2019-11-26 设计创作,主要内容包括:本发明属于车载技术领域,公开了一种适用于汽车智能后视镜夜间防强光的装置和方法,装置包括图像采集单元、防强光单元、MCU控制单元、显示单元,防强光单元包括驱动组件和遮光组件,遮光组件包括多个遮光片,不同的遮光片具有不同的遮光率,驱动组件与多个遮光片连接,MCU控制单元分别与图像采集单元、显示单元、驱动组件连接;本发明根据原始强度信息可以不启用遮光片或启用不同滤光效果的遮光片,在启用遮光片进行初次过滤强光的情况下,对再次采集的图像进行处理,实现进一步的强光过滤,使得图像更加清晰可靠,解决了现有技术中汽车智能后视镜的夜间显示效果较差的问题。(The invention belongs to the technical field of vehicles and discloses a device and a method suitable for preventing glare of an intelligent rearview mirror of an automobile at night, wherein the device comprises an image acquisition unit, a glare prevention unit, an MCU control unit and a display unit, the glare prevention unit comprises a driving assembly and a shading assembly, the shading assembly comprises a plurality of shading sheets, different shading sheets have different shading rates, the driving assembly is connected with the plurality of shading sheets, and the MCU control unit is respectively connected with the image acquisition unit, the display unit and the driving assembly; according to the invention, the shading sheet can be not started or the shading sheets with different filtering effects can be started according to the original intensity information, and the image collected again is processed under the condition that the shading sheet is started to filter the strong light for the first time, so that the further strong light filtering is realized, the image is clearer and more reliable, and the problem of poor night display effect of the intelligent rearview mirror of the automobile in the prior art is solved.)

1. A method for preventing glare of an intelligent rearview mirror of an automobile at night is characterized by comprising the following steps:

step 1, obtaining a first image through an image acquisition unit;

step 2, the MCU control unit obtains original intensity information according to the first image and carries out first judgment on the original intensity information;

if the original intensity information is smaller than a first threshold value, the original intensity information is judged to belong to first processing information, and the first image is directly displayed through a display unit; otherwise, judging that the information belongs to the second processing information, and turning to the step 3;

step 3, the MCU control unit sends drive selection information to a drive component of the strong light prevention unit according to the original intensity information;

step 4, the driving assembly starts different shading sheets according to the driving selection information;

step 5, obtaining a second image through the image acquisition unit;

step 6, the MCU control unit processes the second image to obtain a third image;

and 7, displaying the third image through the display unit.

2. The method for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 1, wherein in the step 2, the MCU control unit performs smoothing processing on the first image to obtain a luminance histogram, and obtains an average luminance value of the first image according to the luminance histogram as the original intensity information; and if the original intensity information is smaller than a first threshold value, determining that the original intensity information belongs to the first processing information.

3. The method for preventing the intelligent rearview mirror of an automobile from being brightly lighted at night according to claim 1, wherein the step 3 comprises the following substeps:

step 3.1, performing second judgment on the original intensity information through the MCU control unit;

if the original intensity information is larger than a first threshold and smaller than a second threshold, judging that the light is the third-level strong light, and turning to the step 3.2; if the original intensity information is larger than the second threshold and smaller than the third threshold, judging the original intensity information to be secondary strong light, and turning to the step 3.2; if the original intensity information is larger than a third threshold value, judging the original intensity information to be primary strong light, and turning to the step 3.3;

3.2, sending first driving information to the driving component through the MCU control unit;

and 3.3, sending second driving information to the driving component through the MCU control unit.

4. The method for preventing the intelligent rearview mirror of the automobile from being brightened at night according to claim 3, wherein the step 4 is specifically as follows: if the driving assembly receives the first driving information, the first shading sheet is driven to rotate to the front of the CCD camera of the image acquisition unit; and if the driving assembly receives the second driving information, driving a second shading sheet to rotate to the front of the CCD camera of the image acquisition unit.

5. The method for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 4, wherein the step 6 comprises the following steps:

under the condition that the original intensity information is judged to be tertiary strong light, dividing a second image obtained after the first shading sheet is started into nine parts, and judging whether the average brightness value of each part is smaller than a first threshold value or not;

if so, carrying out secondary exposure processing to obtain a third image; and if not, taking the second image as a third image.

6. The method for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 4, wherein the step 6 comprises the following steps:

and under the condition that the original intensity information is judged to be secondary strong light, extracting a first weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the first shading film is started to obtain a third image.

7. The method for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 4, wherein the step 6 comprises the following steps:

and under the condition that the original intensity information is judged to be primary strong light, extracting a second weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the second shading sheet is started to obtain a third image.

8. The utility model provides a device suitable for automotive intelligence rear-view mirror is highlight prevented night which characterized in that includes: the device comprises an image acquisition unit, a strong light prevention unit, an MCU control unit and a display unit;

the strong light prevention unit comprises a driving component and a shading component; the shading assembly comprises a plurality of shading sheets, and different shading sheets have different shading rates; the driving assembly is connected with the shading sheets;

the MCU control unit is respectively connected with the image acquisition unit, the display unit and the driving assembly;

the image acquisition unit, the highlight prevention unit, the MCU control unit and the display unit are used for realizing the steps of the method for preventing highlight at night for the intelligent rearview mirror of the automobile according to any one of claims 1-7.

9. The device for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 8, wherein said image acquisition unit comprises a CCD camera and a wide-angle lens.

10. The device for preventing glare at night for intelligent rearview mirrors of automobiles according to claim 9, wherein the driving assembly adopts a motor; the light shielding piece is rotatably arranged in front of the wide-angle lens.

Technical Field

The invention relates to the technical field of vehicles, in particular to a device and a method suitable for preventing glare of an intelligent rearview mirror of an automobile at night.

Background

Aiming at the problem of the dead zone of the automobile rearview mirror, more and more manufacturers begin to select a method for collecting driving road conditions through an intelligent camera to replace the traditional rearview mirror. Compared with the traditional rearview mirror, the intelligent camera can cover all visual fields required by a driver, and a visual field blind area reserved by the traditional rearview mirror does not exist, so that the intelligent rearview mirror is a trend of the development of the automobile industry, better meets the artificial intelligence and is a requirement of the unmanned automobile on the driving visual field in the future. However, the problem that the CCD camera can be interfered by strong light at night is always troubled in the whole industry. In the prior art, the device and the method for processing the strong light are too simple, the strong light is not processed in a grading way, and the actual display effect is still poor. Therefore, there is a need to provide a more intelligent glare protection device and method to deal with nighttime glare interference.

Disclosure of Invention

The embodiment of the application provides a device and a method suitable for preventing glare of an intelligent automobile rearview mirror at night, and solves the problem that in the prior art, the night display effect of the intelligent automobile rearview mirror is poor.

The embodiment of the application provides a method suitable for preventing glare of an intelligent rearview mirror of an automobile at night, which comprises the following steps:

step 1, obtaining a first image through an image acquisition unit;

step 2, the MCU control unit obtains original intensity information according to the first image and carries out first judgment on the original intensity information;

if the original intensity information is smaller than a first threshold value, the original intensity information is judged to belong to first processing information, and the first image is directly displayed through a display unit; otherwise, judging that the information belongs to the second processing information, and turning to the step 3;

step 3, the MCU control unit sends drive selection information to a drive component of the strong light prevention unit according to the original intensity information;

step 4, the driving assembly starts different shading sheets according to the driving selection information;

step 5, obtaining a second image through the image acquisition unit;

step 6, the MCU control unit processes the second image to obtain a third image;

and 7, displaying the third image through the display unit.

Preferably, in the step 2, the MCU control unit performs smoothing processing on the first image to obtain a luminance histogram, and obtains an average luminance value of the first image according to the luminance histogram as the original intensity information; and if the original intensity information is smaller than a first threshold value, determining that the original intensity information belongs to the first processing information.

Preferably, the step 3 comprises the following substeps:

step 3.1, performing second judgment on the original intensity information through the MCU control unit;

if the original intensity information is larger than a first threshold and smaller than a second threshold, judging that the light is the third-level strong light, and turning to the step 3.2; if the original intensity information is larger than the second threshold and smaller than the third threshold, judging the original intensity information to be secondary strong light, and turning to the step 3.2; if the original intensity information is larger than a third threshold value, judging the original intensity information to be primary strong light, and turning to the step 3.3;

3.2, sending first driving information to the driving component through the MCU control unit;

and 3.3, sending second driving information to the driving component through the MCU control unit.

Preferably, the step 4 specifically comprises: if the driving assembly receives the first driving information, the first shading sheet is driven to rotate to the front of the CCD camera of the image acquisition unit; and if the driving assembly receives the second driving information, driving a second shading sheet to rotate to the front of the CCD camera of the image acquisition unit.

Preferably, the step 6 includes:

under the condition that the original intensity information is judged to be tertiary strong light, dividing a second image obtained after the first shading sheet is started into nine parts, and judging whether the average brightness value of each part is smaller than a first threshold value or not;

if so, carrying out secondary exposure processing to obtain a third image; and if not, taking the second image as a third image.

Preferably, the step 6 includes:

and under the condition that the original intensity information is judged to be secondary strong light, extracting a first weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the first shading film is started to obtain a third image.

Preferably, the step 6 includes:

and under the condition that the original intensity information is judged to be primary strong light, extracting a second weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the second shading sheet is started to obtain a third image.

Correspondingly, this application embodiment provides a device suitable for automobile intelligence rear-view mirror is highlight prevented night, includes: the device comprises an image acquisition unit, a strong light prevention unit, an MCU control unit and a display unit;

the strong light prevention unit comprises a driving component and a shading component; the shading assembly comprises a plurality of shading sheets, and different shading sheets have different shading rates; the driving assembly is connected with the shading sheets;

the MCU control unit is respectively connected with the image acquisition unit, the display unit and the driving assembly;

the image acquisition unit, the strong light prevention unit, the MCU control unit and the display unit are used for realizing the steps of the method for preventing the strong light of the intelligent rearview mirror of the automobile at night.

Preferably, the image acquisition unit comprises a CCD camera and a wide-angle lens.

Preferably, the driving assembly adopts a motor; the light shielding piece is rotatably arranged in front of the wide-angle lens.

One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

in the embodiment of the application, a first image is obtained through an image acquisition unit; acquiring original intensity information according to the first image through the MCU control unit, and performing first judgment; if the first image belongs to the first processing information, the first image is directly displayed through a display unit; otherwise, judging that the signal belongs to the second processing information, and then sending drive selection information to a drive component of the strong light prevention unit through the MCU control unit according to the original intensity information; the driving component starts different shading sheets according to the driving selection information; after the shading sheet is started, a second image is obtained through the image acquisition unit; processing the second image through the MCU control unit to obtain a third image; and finally, displaying the third image through the display unit. According to the method, the shading sheet or the shading sheets with different filtering effects can be started according to the original intensity information, and the collected images are processed under the condition that the shading sheet is started to filter the strong light for the first time, so that the further strong light filtering is realized, and the images are clearer and more reliable.

Drawings

In order to more clearly illustrate the technical solution in the present embodiment, the drawings needed to be used in the description of the embodiment will be briefly introduced below, and it is obvious that the drawings in the following description are one embodiment of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.

Fig. 1 is a schematic view of a device for preventing glare of an intelligent rearview mirror of an automobile at night according to an embodiment of the present invention;

fig. 2 is a flowchart of a method for preventing glare of an intelligent rearview mirror of an automobile at night according to an embodiment of the present invention.

The device comprises a motor 1, a first shading sheet 2, a second shading sheet 3, a CCD camera 4, an MCU control unit 5 and a display unit 6.

Detailed Description

In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.

The embodiment provides a method suitable for preventing glare of an intelligent rearview mirror of an automobile at night, which comprises the following steps of:

step 1, obtaining a first image through an image acquisition unit.

Step 2, the MCU control unit obtains original intensity information according to the first image and carries out first judgment on the original intensity information; if the original intensity information is smaller than a first threshold value, the original intensity information is judged to belong to first processing information, and the first image is directly displayed through a display unit; otherwise, the processing is judged to belong to the second processing information, and the step 3 is carried out.

Specifically, the MCU control unit performs smoothing processing on the first image to obtain a luminance histogram, and obtains an average luminance value of the first image according to the luminance histogram as the original intensity information; and if the original intensity information is smaller than a first threshold value, determining that the original intensity information belongs to the first processing information.

And 3, the MCU control unit sends drive selection information to a drive component of the strong light prevention unit according to the original intensity information.

Specifically, the step 3 includes the following substeps:

step 3.1, performing second judgment on the original intensity information through the MCU control unit;

if the original intensity information is larger than a first threshold and smaller than a second threshold, judging that the light is the third-level strong light, and turning to the step 3.2; if the original intensity information is larger than the second threshold and smaller than the third threshold, judging the original intensity information to be secondary strong light, and turning to the step 3.2; if the original intensity information is larger than a third threshold value, judging the original intensity information to be primary strong light, and turning to the step 3.3;

3.2, sending first driving information to the driving component through the MCU control unit;

and 3.3, sending second driving information to the driving component through the MCU control unit.

And 4, enabling different shading sheets by the driving assembly according to the driving selection information.

Specifically, if the driving assembly receives the first driving information, the driving assembly drives the first shading sheet to rotate to the front of the CCD camera of the image acquisition unit; and if the driving assembly receives the second driving information, driving a second shading sheet to rotate to the front of the CCD camera of the image acquisition unit.

And 5, obtaining a second image through the image acquisition unit.

And 6, the MCU control unit processes the second image to obtain a third image.

Specifically, the step 6 includes:

(1) under the condition that the original intensity information is judged to be tertiary strong light, dividing a second image obtained after the first shading sheet is started into nine parts, and judging whether the average brightness value of each part is smaller than a first threshold value or not; if so, carrying out secondary exposure processing to obtain a third image; and if not, taking the second image as a third image.

(2) And under the condition that the original intensity information is judged to be secondary strong light, extracting a first weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the first shading film is started to obtain a third image.

(3) And under the condition that the original intensity information is judged to be primary strong light, extracting a second weighted proportion from a database, and carrying out ACE algorithm and histogram equalization algorithm processing on a second image obtained after the second shading sheet is started to obtain a third image.

And 7, displaying the third image through the display unit.

Correspondingly, this application embodiment provides a device suitable for automobile intelligence rear-view mirror is highlight prevented night, includes: the device comprises an image acquisition unit, a strong light prevention unit, an MCU control unit and a display unit. The strong light prevention unit comprises a driving component and a shading component; the shading assembly comprises a plurality of shading sheets, and different shading sheets have different shading rates; the driving assembly is connected with the plurality of light shielding sheets. The MCU control unit is respectively connected with the image acquisition unit, the display unit and the driving assembly.

The image acquisition unit, the strong light prevention unit, the MCU control unit and the display unit are used for realizing the steps of the method for preventing the strong light of the intelligent rearview mirror of the automobile at night.

Specifically, the image acquisition unit comprises a CCD camera and a wide-angle lens. The driving component adopts a motor; the light shielding piece is rotatably arranged in front of the wide-angle lens.

The invention is further described below with reference to the accompanying drawings.

This embodiment provides a device suitable for automobile intelligence rear-view mirror is glare proof night, includes: the device comprises an image acquisition unit, a strong light prevention unit, an MCU control unit and a display unit.

Referring to fig. 1, the respective units are explained below.

(1) An image acquisition unit.

The image acquisition unit is used for acquiring peripheral images in the driving process of the automobile through the CCD camera 4.

The image acquisition unit may use a wide-angle lens in order to have a larger field of view.

(2) And a glare prevention unit.

The glare prevention unit includes a motor 1 and a plurality of rotatable light shielding sheets. The shading sheet is used for weakening interference of strong light at night to the image acquisition unit, and the motor 1 is used for driving the shading sheet to switch different shading modes.

Specifically, the light shielding sheet is arranged in front of the lens of the CCD camera 4 and is used for reducing interference of strong light to the image collected by the CCD camera 4. The light-shielding sheets comprise a first light-shielding sheet 2 and a second light-shielding sheet 3. The light shielding sheets are connected with the motor 1, and the motor 1 is driven to rotate so as to switch the first light shielding sheets 2 and the second light shielding sheets 3, so that the strong light is filtered in different grades.

The number of the light-shielding sheets is not limited to two, and the number can be adjusted according to actual needs. Different light-shielding sheets are coated with different light-shielding materials.

(3) And an MCU control unit.

The MCU control unit 5 comprises an MCU control panel, a connecting wire and a power supply. The MCU control board is used for identifying and processing the image acquired by the CCD camera 4 through an algorithm; the connecting line is used for connecting the CCD camera 4, the motor 1 and the display unit 6; the power supply is used for supplying power to the MCU control panel.

The MCU control unit 5 is connected with the CCD camera 4 in the image acquisition unit through a CSI flat cable and is used for receiving and processing image information acquired by the CCD camera 4.

And the MCU control unit 5 processes the image acquired by the image acquisition unit through an algorithm. In addition, the MCU control unit 5 can correct the partial area exposure caused by the strong light filtered by the light shielding sheet to be weaker in normal condition, so as to achieve a more ideal display effect.

The algorithm comprises the following steps:

the MCU control unit 5 processes each frame of image in the video independently and processes correspondingly according to different degrees of strong light interference. Referring to fig. 2, respectively:

(a) and when the average brightness X of the acquired image is greater than the set brightness a and less than the set brightness b, indicating that the interference strong light level is three-level. Driving the motor 1 to rotate, rotating the first shading sheet 2 to the front of a lens of the CCD camera 4, and carrying out primary strong light filtering treatment; dividing an image shot by the CCD camera 4 after the first shading sheet 2 is started into 9 parts, and respectively detecting the mean value of the brightness histogram of each part; and if the average value is less than a, performing secondary exposure compensation on the block image.

(b) And when the average brightness X of the acquired image is greater than or equal to the set brightness b and less than the set brightness c, indicating that the interference strong light level is in two levels. Driving the motor 1 to rotate, rotating the first shading sheet 2 to the front of a lens of the CCD camera 4, and carrying out primary strong light filtering treatment; then, the MCU control unit 5 performs algorithm processing on the image collected by the CCD camera 4 (namely, the image collected by the CCD camera 4 after the first shading sheet 2 is started), so as to realize secondary strong light filtering processing.

The specific operation of the algorithm is to weight the processed result by an ace (automatic Color equalization) algorithm and a histogram equalization algorithm. The weighting mode is that an ACE algorithm obtains a first result A, a second result B is obtained through a histogram, then the first result A is multiplied by a weight C, the second result B is multiplied by a weight D, and finally the following results are obtained: AC + BD.

The weighting method is realized by reading different weighting proportions in the database for different nighttime strong light environments. For example, a first weighted gravity is extracted when the light intensity is two-level.

The database is obtained by analyzing and processing a large number of different nighttime strong light environments, so that the MCU control unit 5 can directly read the database information conveniently, and the calculation amount of the MCU control unit 5 is reduced.

(c) When the average brightness X of the collected image is greater than the set brightness c, the interference strong light level is first grade; the motor 1 is driven to rotate, the second shading sheet 3 with stronger shading capability is adjusted to perform strong light filtering processing for the first time, and meanwhile algorithm processing is performed on the image collected by the CCD camera 4 (namely, the image collected by the CCD camera 4 after the second shading sheet 3 is started) through the MCU control unit 5.

The algorithm is specifically operated by weighting the processed result through an ACE (automatic Color equalization) algorithm and a histogram equalization algorithm. The weighting method is realized by reading different weighting proportions in the database for different nighttime strong light environments. For example, a first level of emphasis extracts a second weighted gravity.

The database is obtained by analyzing and processing a large number of different nighttime strong light environments, so that the MCU control unit 5 can directly read the database information conveniently, and the calculation amount of the MCU control unit 5 is reduced.

(4) A display unit.

The display unit 6 is connected with the MCU control unit 5 through an HDMI line and is used for displaying the image processed by the MCU control unit 5 in real time.

The display unit 6 can also directly display an image determined not to be subjected to highlight filtering.

The display unit 6 can be arranged at the driver side and the passenger side in the cab, and the left side and the right side are more convenient for the driver to observe.

In conclusion, the method of combining hardware and software algorithms is adopted, a plurality of shading sheets are selected on the hardware, different shading sheets can be adopted for different strong lights for filtering, and the image processing is more targeted and efficient through a database which is established by a large number of experiments and is used for carrying out different weighted weight algorithm analyses on different environments at night; the strong light is divided into a plurality of grades, different processing methods are selected for different grades, and the intelligent processing efficiency is greatly improved. The strong light is filtered by using the strong light prevention device and the algorithm, so that the image is clearer and more reliable, and the accuracy and the color reduction degree of the final displayed image are greatly improved. According to the ACE algorithm proposed by Retinex theory, for high dynamic range processing, the color continuity and brightness continuity are better satisfied based on human visual system (HSV).

The device and the method for preventing the automobile intelligent rearview mirror from being brightened at night provided by the embodiment of the invention at least have the following technical effects:

(1) by analyzing different strong light grades, different shading sheets and different algorithms are used, the method can effectively inhibit the large halo and the video image blur caused by the direct irradiation of the front and the rear car light strong light points, can automatically identify the strong light grades of different strong light sources, and can classify and process the strong light interferences of different grades.

(2) According to the invention, weighting processing is carried out by adopting an ACE algorithm and a histogram equalization algorithm, and the algorithm can better cope with complex and changeable environments at night compared with a single algorithm.

(3) The invention has the advantages of strong light prevention through a physical device and algorithm, no interference of external strong light, clear night vision image, no light pollution, intellectualization and the like.

Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to examples, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:汽车侧踏板及汽车

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类