CN114666488A - Dimming method and device of shading assembly, shading assembly and vehicle - Google Patents

Dimming method and device of shading assembly, shading assembly and vehicle Download PDF

Info

Publication number
CN114666488A
CN114666488A CN202011534054.8A CN202011534054A CN114666488A CN 114666488 A CN114666488 A CN 114666488A CN 202011534054 A CN202011534054 A CN 202011534054A CN 114666488 A CN114666488 A CN 114666488A
Authority
CN
China
Prior art keywords
image
pixel
transparent panel
value
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011534054.8A
Other languages
Chinese (zh)
Inventor
闫桂新
孙建康
张�浩
陈丽莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Beijing BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202011534054.8A priority Critical patent/CN114666488A/en
Publication of CN114666488A publication Critical patent/CN114666488A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60JWINDOWS, WINDSCREENS, NON-FIXED ROOFS, DOORS, OR SIMILAR DEVICES FOR VEHICLES; REMOVABLE EXTERNAL PROTECTIVE COVERINGS SPECIALLY ADAPTED FOR VEHICLES
    • B60J3/00Antiglare equipment associated with windows or windscreens; Sun visors for vehicles
    • B60J3/04Antiglare equipment associated with windows or windscreens; Sun visors for vehicles adjustable in transparency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Abstract

The invention provides a dimming method and a dimming device of a shading component, the shading component and a vehicle, wherein a first image acquisition unit is controlled to acquire a scene image, wherein the first image acquisition unit is positioned on one side of a transparent panel, which is far away from human eyes; determining brightness values of pixels in the scene image; determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel; adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value; and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value. The shading device is used for ensuring safe driving and simultaneously giving consideration to the shading effect.

Description

Dimming method and device of shading assembly, shading assembly and vehicle
Technical Field
The invention relates to the technical field of shading, in particular to a dimming method and device of a shading assembly, the shading assembly and a vehicle.
Background
During the driving of a vehicle, the eyes of the driver are often faced with strong light, such as sunlight, reflected light from asphalt roads, and light from vehicles facing at night. The strong light interference easily causes visual vertigo of human eyes, and causes traffic accidents.
The existing method is to arrange a light screen with a light-tight structure on the front windshield of the vehicle to shield the strong light, so as to ensure the safe driving of the vehicle. However, the light screen is easy to block partial vision of a driver in the using process, and potential safety hazards are caused. When the illumination changes frequently, the shading plate needs to be opened and closed frequently by people, and the operation is complex. In addition, strong light interference can be suppressed by wearing sun-shading glasses, but the method can lead to darkening of an external scene and poor vision for night driving, and further influences safe driving of a driver.
Therefore, the existing method cannot guarantee safe driving and simultaneously give consideration to the shading effect.
Disclosure of Invention
The invention provides a dimming method and device of a shading assembly, the shading assembly and a vehicle, which are used for ensuring safe driving and simultaneously giving consideration to shading effect.
In a first aspect, an embodiment of the present invention provides a dimming method for a light blocking assembly, including:
controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes;
determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
In one possible implementation, after the determining the brightness values of the pixels in the scene image, the method further includes:
determining a second set of pixels in the scene image having luminance values not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
In one possible implementation manner, after the controlling the first image capturing unit to capture the scene image, the method further includes:
controlling a second image acquisition unit to acquire a face image, wherein the second image acquisition unit is positioned on one side of the transparent panel close to human eyes;
determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
In a possible implementation manner, if the current scene of the shading component is a dark environment, after determining the first coordinate position of the eye gaze point on the transparent panel according to the face image, the method further includes:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so that the transparent panel displays the overlapped image.
In a second aspect, an embodiment of the present invention provides a light shielding assembly using the dimming method as described in the first aspect, including:
the system comprises a transparent panel, a main control unit and a first image acquisition unit, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes; wherein the main control unit is used for:
controlling the first image acquisition unit to acquire a scene image;
determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
In one possible implementation manner, the main control unit is further configured to:
determining a second set of pixels in the scene image having a luminance value not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
In a possible implementation manner, the shading assembly further includes a second image capturing unit located on a side of the transparent panel close to human eyes, and the main control unit is configured to:
controlling the second image acquisition unit to acquire a face image;
determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
In a possible implementation manner, if the current scene of the shading assembly is a dark environment, the main control unit is further configured to:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so as to enable the transparent panel to display the overlapped image.
In a third aspect, embodiments of the present invention further provide a vehicle, including the shading assembly according to any one of the second aspect.
In a fourth aspect, the embodiment of the present invention further provides a dimming device of a shading assembly, the dimming device is applied to a vehicle, the dimming device includes a memory and a processor, wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program in the memory to perform steps comprising:
controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes; determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
The invention has the following beneficial effects:
the embodiment of the invention provides a dimming method of a shading assembly, a device, the shading assembly and a vehicle thereof. Therefore, when the strong light irradiates the transparent panel, the transparency of the transparent panel can be reduced by adjusting the pixel value of the corresponding position, so that the strong light is prevented from irradiating human eyes, and a good light shading effect is achieved. In addition, according to the scene image acquired in real time, the pixel values of the pixels in the scene image can be adjusted one by one in real time, so that the transparency of the transparent panel can be adjusted in real time, and the shading effect of the shading assembly is ensured.
Drawings
Fig. 1 is a flowchart of a method of dimming a light blocking assembly according to an embodiment of the present invention;
fig. 2 is a flowchart of a method after step S101 in a dimming method of a light shielding assembly according to an embodiment of the present invention;
fig. 3 is a flowchart of a method after step S101 in a dimming method of a light shielding assembly according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a point of fixation of a human eye and a central coordinate position of the transparent panel in the dimming method of the shading assembly according to the embodiment of the present invention;
fig. 5 is a flowchart of a method after step S302 if a current scene of a shading assembly is a dark environment in a dimming method of the shading assembly according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a light shielding assembly according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a dimming device of a shading assembly according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a dimming device of a light shielding assembly according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. And the embodiments and features of the embodiments may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention without any inventive step, are within the scope of protection of the invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "including" or "comprising" and the like in the present invention is intended to mean that the elements or items listed before the word "comprise" or "comprising" and the like, include the elements or items listed after the word and their equivalents, but do not exclude other elements or items.
It should be noted that the sizes and shapes of the figures in the drawings are not to be considered true scale, but are merely intended to schematically illustrate the present invention. And the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout.
In prior art, the glare is shielded by the light shading plate with a light-tight structure, or the glare is shielded by wearing the sun-shading glasses, so that the light shading effect can not be considered while the safe driving is ensured.
In view of this, the embodiment of the invention provides a dimming method of a shading assembly, a device thereof, a vehicle and the shading assembly.
Fig. 1 is a flowchart of a method of dimming a light shielding assembly according to an embodiment of the present invention, including:
s101: controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes;
in the specific implementation process, can control first image acquisition unit and gather the scene image in real time, first image acquisition unit is located the one side that transparent panel deviates from people's eye, first image acquisition unit can be the camera, transparent panel can be the higher wisdom light control glass panel of transmissivity, specifically can be transparent liquid crystal display panel. If the dimming method of the shading assembly is applied to a vehicle, the scene image can be a road condition image along the driving direction of the vehicle. In addition, if the image resolution of the screen image displayed on the transparent panel is screen w screen h, the resolution of the image acquired by the first image acquisition unit may be extended to screen w screen h, so that the size of the image acquired by the first image acquisition unit is the same as the size of the image that can be displayed on the transparent panel. In a specific implementation process, the scene image is substantially an image obtained by stretching an original image acquired by the first image acquisition unit and is denoted as a BackImage.
S102: determining brightness values of pixels in the scene image;
in a specific implementation process, the brightness value of each pixel in the scene image may be calculated according to the following formula:
Y=(0.299*R)+(0.587*G)+(0.114*B)
where Y denotes a luminance value of a pixel, R denotes a pixel value of a red sub-pixel included in the pixel, G denotes a pixel value of a green sub-pixel included in the pixel, and B denotes a pixel value of a blue sub-pixel included in the pixel.
In a specific implementation process, after the brightness value of each pixel in the scene image is determined, a brightness image corresponding to the scene image can be obtained and recorded as BackImageLight.
S103: determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
in a specific implementation process, the preset brightness threshold is a preset brightness threshold, and a person skilled in the art can preset the brightness threshold according to actual application needs, and if the light brightness exceeds the preset brightness threshold, the light is strong light and needs to be processed. Specifically, a first set of pixels in the scene image with luminance values greater than the preset luminance threshold is determined, i.e., pixels in the scene image with luminance values greater than the preset luminance threshold are counted.
S104: adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
in a specific implementation process, a pixel value of each pixel in the first pixel set of which the luminance value is greater than the preset luminance threshold in the scene image may be adjusted to be smaller than a pixel value corresponding to the preset luminance threshold, so that strong light is suppressed. The whole adjusting process can realize the one-by-one adjustment of the pixel values of the pixels in the scene image, and compared with a mode of uniformly adjusting the transparency of the area, the method is more suitable for the actual scene, and has a better light shading effect while considering safe driving.
S105: and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
In a specific implementation process, according to the adjusted pixel value, the transparency of the transparent panel at the corresponding pixel position in the first pixel set is reduced, and since the pixel values of the pixels can be adjusted one by one, the transparency of the transparent panel at each pixel position in the first pixel set can be correspondingly adjusted one by one. After the transparency of the transparent panel at the corresponding pixel position in the first pixel set is reduced according to the adjusted pixel value, the transparent panel can display the scene image according to the adjusted pixel value, thereby ensuring that the shading effect is considered while driving safely.
In the embodiment of the present invention, step S104: adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value to obtain an adjusted pixel value, including:
counting a first maximum brightness value and a first minimum brightness value corresponding to the pixel value of the pixel from the first pixel set;
counting a second maximum brightness value and a second minimum brightness value corresponding to the pixel value of the pixel from the second pixel set;
and adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value according to the first maximum brightness value, the first minimum brightness value, the second maximum brightness value and the second minimum brightness value, so as to obtain an adjusted pixel value.
Wherein, the steps are as follows: according to the first maximum brightness value, the first minimum brightness value, the second maximum brightness value, and the second minimum brightness value, adjusting a pixel value of each pixel in the first pixel set to be smaller than a pixel value corresponding to the preset brightness threshold, to obtain an adjusted pixel value, which may specifically adopt the following formula:
BackImageLight(i,j)_2=(BackImageLight(i,j)-MinDown)*(MaxUp-MinUp)/(MaxDown-MinDown)
wherein, BackImageLight (i, j) represents a luminance value corresponding to a pixel value of a pixel in an ith row and jth column in a luminance image corresponding to the scene image, BackImageLight (i, j) _2 represents an adjusted pixel value of a pixel in an ith row and jth column in a luminance image corresponding to the scene image, MinDown represents the first minimum luminance value, MaxDown represents the first maximum luminance value, MaxUp represents the second maximum luminance value, and MinUp represents the second minimum luminance value.
In an embodiment of the present invention, after adjusting the pixel value of each pixel in the first pixel set to obtain the adjusted pixel value, the method further includes obtaining, according to the adjusted pixel value, a pixel value of a display image displayed on the scene image by the transparent panel, where the display image is denoted as a ScreenImage:
ScreenImage(i,j)=(BackImageLight(i,j)_2-MinDown)*(MaxDown-MinDown)/(MaxScreen-MinScreen)
wherein MaxScreen represents the maximum opacity value, i.e., minimum transparency value, of the transparent panel, and represents that the transparent panel is completely opaque, and MinScreen represents the minimum opacity value, i.e., maximum transparency value, of the transparent panel, and represents that the transparent panel is completely opaque.
In a specific implementation process, the opacity of the transparent panel corresponds to the display image ScreenImage one to one. In practical application, the opacity of the transparent panel can be adjusted by adjusting the pixel value of the pixel in the image, for example, when the pixel value is 255, the transparent panel is completely opaque, and for example, when the pixel value is 0, the transparent panel is completely transparent, so that the interference of strong light can be suppressed by controlling the opacity of the transparent panel, the strong light illumination in the first pixel set is stretched to the illumination without strong light, in addition, no processing is performed on the illumination in the second pixel set, the whole shading processing process better conforms to the rule of human eye viewing, and the shading effect is better.
In a specific implementation process, in addition to adjusting the opacity of the transparent panel pixel by adopting the above formula, the opacity of the transparent panel can be adjusted by controlling the deflection of the pixels one by one, wherein the transparent panel is a liquid crystal panel, a position corresponding to each pixel in the liquid crystal panel comprises a first electrode and a second electrode which are oppositely arranged, and a liquid crystal layer positioned between the first electrode and the second electrode, and the control of the deflection of the liquid crystal can be realized by controlling driving signals transmitted to the first electrode and the second electrode, so that the adjustment of the transparency of the liquid crystal panel pixel by pixel is realized, and the shading effect is ensured.
As shown in fig. 2, in step S102: after determining the brightness values of the respective pixels in the scene image, the method further comprises:
s201: determining a second set of pixels in the scene image having a luminance value not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
s202: adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
In the specific implementation process, the specific implementation process from step S201 to step S202 is as follows:
first, a second pixel set of the scene image whose luminance value is not greater than the preset luminance threshold value is determined, that is, a second pixel set of the scene image whose luminance value is less than or equal to the preset luminance threshold value is counted, and then, the pixel value of each pixel in the second pixel set is adjusted to a minimum value, for example, when the pixel value ranges from 0 to 255, the pixel value of each pixel in the second pixel set of the scene image whose luminance value is less than or equal to the preset luminance threshold value may be adjusted to 0, so that the position of each pixel in the second pixel set of the transparent panel is in a transparent state, and thus, while the shielding of the transparent panel from the strong light is realized by adjusting the pixel value of each pixel of the first pixel set, the transparency of the transparent panel from the position of each pixel in the second pixel set may be maintained to be maximum, the transparent panel is prevented from excessively shielding the visual field of human eyes to a certain extent, and the safety performance of the shading component is improved.
As shown in fig. 3, in step S101: after controlling the first image acquisition unit to acquire the scene image, the method further comprises:
s301: controlling a second image acquisition unit to acquire a face image, wherein the second image acquisition unit is positioned on one side of the transparent panel close to human eyes;
s302: determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
s303: determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
s304: moving each pixel in the scene image according to the motion vector to obtain a moved image;
s305: determining the first set of pixels from the shifted image.
In the specific implementation process, the specific implementation process of step S301 to step S305 is as follows:
firstly, the second image acquisition unit positioned on one side of the transparent panel close to human eyes can be controlled in real time to acquire human face images, and the second image acquisition unit can be a camera and can realize eyeball tracking. If the dimming method of the shading assembly is applied to a vehicle, the second image acquisition unit and the first image acquisition unit can be arranged on the transparent panel relatively, when the transparent panel is arranged in front of human eyes, the second image acquisition unit can acquire a face image, and the first image acquisition unit can acquire a road condition image. After the face image is obtained, a first coordinate position of a human eye fixation point on the transparent panel can be determined according to the face image. In a specific implementation process, after the face image is acquired, a face position may be determined, and then a three-dimensional coordinate position of the head relative to the second image acquisition unit is obtained through pnp solution, which is denoted as H (x, y, z), where the face detection and pnp solution of the head pose may be implemented by using a technology in the prior art, and will not be described in detail herein.
After the three-dimensional coordinate position of the head is determined, the sight line of the human eye can be calculated according to the three-dimensional coordinate position of the head, because the sight line and the transparent panel have two intersection points when the human eye is gazing in front, the difference between the two intersection points is small, the middle value between the two intersection points can be taken as the fixation point of the human eye and is marked as a point A, and the first coordinate position of the fixation point of the human eye on the transparent panel can be determined according to the coordinate conversion relation between the camera coordinate system and the world coordinate system. Then, according to the first coordinate position, a movement vector of the first coordinate position relative to the central coordinate position of the transparent panel is determined. If the dimming method of the shading assembly is applied to a vehicle, due to the difference of individual height and weight, the coordinate position of the eye gaze point of each driver on the transparent panel may be different, in order to improve the display effect of the transparent panel, a movement vector of the eye gaze point relative to the central coordinate position of the transparent panel may be determined according to the coordinate position of the current eye gaze point on the transparent panel, then, each pixel in the scene image is moved according to the movement vector to obtain a moved image, and then, the first pixel set is determined from the moved image.
Taking the schematic structural diagram shown in fig. 4 as an example, the central coordinate position of the transparent panel is B (x2, y2), the coordinate position of the current eye gazing point (i.e. the actual eye gazing point) on the transparent panel is a first coordinate position a (x1, y1), the mark 10 is a transparent panel, if the coordinate position of the eye gazing point on the transparent panel is a central coordinate position B of the transparent panel, recording the corresponding scene image as a ScreenImage, if the coordinate position of the eye fixation point on the transparent panel is the first coordinate position A, the movement vector V of the first coordinate position a relative to the central coordinate position B may be a-B, and after each pixel in the scene image is moved according to the movement vector V, the obtained image after the movement is referred to as ScreenImage _2, specifically, the relationship between the image before and after the movement may be: the ScreenImage _2 is ScreenImage + V, then the transparency of the transparent panel is adjusted according to the moved image, and finally the shading effect of the transparent panel is more suitable for the visual angle of human eyes, better and more suitable for the use experience of a user.
As shown in fig. 5, if the current scene of the shading component is a dark environment, in step S302: after determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image, the method further comprises the following steps:
s401: determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
s402: performing image enhancement processing on the partial image to obtain an enhanced image;
s403: and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so as to enable the transparent panel to display the overlapped image.
In the specific implementation process, the specific implementation process of steps S401 to S403 is as follows:
firstly, detecting whether a current scene of the shading assembly is a dark environment, if the current scene of the shading assembly is the dark environment, such as an environment in which the shading assembly runs at night, specifically determining that the current scene of the shading assembly is the dark environment according to the lighting condition of the current environment, for example, if the average light intensity of the scene image is smaller than a preset light intensity, indicating that the current scene of the shading assembly is the dark environment. For another example, the current scene of the light shielding assembly may be detected to be a dark environment according to the detected current system time and the set time period at night, where for example, if the current system time is 23:00 and the night time period is 22:00 to 6:00, it indicates that the current scene of the light shielding assembly is a dark environment.
If the current scene of the shading assembly is a dark environment, first, a first coordinate position of a human eye fixation point on the transparent panel is determined according to the face image, and then a partial image corresponding to a preset area including the first coordinate position is determined from the scene image, for example, the partial image can be cut out from the scene image. The preset area may be rectangular or circular, and is not limited herein. The area of the preset region may be set according to the field range of the human eye in practical application, and is not described in detail herein. After the partial image is cut out from the scene image, the partial image is subjected to image enhancement processing to obtain an enhanced image, wherein the image enhancement processing may be edge enhancement processing, High Dynamic Range (HDR) processing, or contrast stretching processing, so as to enhance the image quality of the partial image corresponding to the preset area (i.e. the human eye watching area). After obtaining the enhanced image, the enhanced image may be multiplied by a preset transparency and superimposed on the scene image to obtain a superimposed image, so that the transparent panel displays the superimposed image. The numerical range of the preset transparency is (0, 1), wherein when the preset transparency is a numerical value close to 0, it indicates that the area state of the transparent panel corresponding to the preset area is close to complete opacity, and when the preset transparency is a numerical value close to 1, it indicates that the area state of the transparent panel corresponding to the preset area is close to complete transparency. Taking the dimming method of the shading assembly applied to a vehicle as an example, dark light can be improved for a dark environment such as night driving, so that the display quality of the acquired scene image in the dark environment is improved. The partial images after the image enhancement processing are superposed on the road condition in front seen by human eyes, namely, the road condition in front is displayed on the transparent panel in an image information mode and is enhanced, so that the image displayed by the transparent panel becomes clearer, the mastering condition of a driver on the road condition is improved, the driving safety is ensured, in addition, the transparency can be adjusted through the preset transparency, the condition that the transparent panel completely shields the sight of human eyes is avoided, and the light shielding effect is better while the safe driving is considered.
Based on the same inventive concept, the embodiment of the invention also provides a light-shielding component adopting the dimming method, and the principle of solving the problems of the light-shielding component is similar to that of the dimming method, so the implementation of the light-shielding component can refer to the implementation of the dimming method, and repeated parts are not described again.
In a specific implementation, as shown in fig. 6, the light shielding assembly includes:
a transparent panel 10, a main control unit 20 and a first image acquisition unit 30 (shown by a dashed box in fig. 6) located on the side of the transparent panel 10 facing away from the human eye; wherein, the main control unit 20 is configured to:
controlling the first image capturing unit 30 to capture a scene image;
determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel 10 at the corresponding pixel position in the first pixel set, so that the transparent panel 10 displays the scene image according to the adjusted pixel value.
In this embodiment of the present invention, the main control unit 20 is further configured to:
determining a second set of pixels in the scene image having luminance values not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
the pixel value of each pixel in the second set of pixels is adjusted to a minimum value to maximize the transparency of the transparent panel 10 at the corresponding pixel location in the second set of pixels.
In a specific implementation process, the main control unit 20 is provided therein with hardware structures such as a driving circuit, which can control the transparency of the transparent panel 10 and the effect of displaying a picture. The first image capturing unit 30 may be a rear camera integrated on the transparent panel 10.
In the embodiment of the present invention, the light shielding assembly further includes a second image capturing unit 40 located on a side of the transparent panel 10 close to the human eye, and the main control unit 20 is configured to:
controlling the second image acquisition unit 40 to acquire a face image;
determining a first coordinate position of a human eye fixation point on the transparent panel 10 according to the face image;
determining a movement vector of the first coordinate position relative to the central coordinate position of the transparent panel 10;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
In a specific implementation, the second image capturing unit 40 may be a front camera integrated on the transparent panel 10.
In this embodiment of the present invention, if the current scene of the shading assembly is a dark environment, the main control unit 20 is further configured to:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
multiplying the enhanced image by a preset transparency, and superimposing the enhanced image on the scene image to obtain a superimposed image, so that the transparent panel 10 displays the superimposed image.
Based on the same inventive concept, an embodiment of the present invention further provides a vehicle, including the light shielding assembly shown in fig. 6, where the light shielding assembly may be fixed at a position of an original opaque light shielding plate of the vehicle, and the vehicle may be provided with only the light shielding assembly, or may be provided with both the light shielding assembly and the original opaque light shielding plate. Wherein, the second image capturing unit 40 is integrated on the side of the transparent panel 10 facing the driver, and can be used for photographing the driver. The first image capturing unit 30 is integrated on the side of the transparent panel 10 facing the front road condition, and can be used for capturing the road condition. The main control unit 20 provided on the shade assembly may be connected to a vehicle-mounted USB charging port or other power source interface via a power cord. In the specific implementation process, the shading assembly can be integrally folded according to the actual application requirement, so that the vehicle space is saved.
Based on the same inventive concept, as shown in fig. 7, an embodiment of the present invention further provides a dimming device of a light shielding assembly, the dimming device is applied to a vehicle, the dimming device includes a memory 100 and a processor 200, wherein the memory 100 is used for storing a computer program;
the processor 200 is configured to execute the computer program in the memory to implement the steps comprising:
controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes; determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
Based on the same inventive concept, as shown in fig. 8, an embodiment of the present invention further provides a dimming device of a light shielding assembly, the dimming device including:
the control unit 1 is used for controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes;
a first determining unit 2 for determining a brightness value of each pixel in the scene image;
a second determining unit 3, configured to determine a first pixel set in the scene image, where a luminance value of the first pixel set is greater than a preset luminance threshold, where the first pixel set includes at least one pixel;
an obtaining unit 4, configured to adjust a pixel value of each pixel in the first pixel set to be smaller than a pixel value corresponding to the preset brightness threshold, and obtain an adjusted pixel value;
and a reducing unit 5, configured to reduce, according to the adjusted pixel value, a transparency of the transparent panel at a corresponding pixel position in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
In an embodiment of the present invention, the dimming apparatus further includes an adjusting unit, and the adjusting unit is configured to:
determining a second set of pixels in the scene image having a luminance value not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
In the embodiment of the present invention, the control unit 1 is further configured to:
controlling a second image acquisition unit to acquire a face image, wherein the second image acquisition unit is positioned on one side of the transparent panel close to human eyes;
determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
In the embodiment of the present invention, the control unit 1 is further configured to:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so that the transparent panel displays the overlapped image.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of dimming a shading assembly, comprising:
controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes;
determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
2. The method of claim 1, wherein after said determining a brightness value for each pixel in the scene image, the method further comprises:
determining a second set of pixels in the scene image having luminance values not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
3. The method of claim 1, wherein after said controlling the first image acquisition unit to acquire the image of the scene, the method further comprises:
controlling a second image acquisition unit to acquire a face image, wherein the second image acquisition unit is positioned on one side of the transparent panel close to human eyes;
determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
4. The method as claimed in claim 3, wherein if the current scene of the shading component is a dark environment, after determining the first coordinate position of the human eye gaze point on the transparent panel according to the human face image, the method further comprises:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so that the transparent panel displays the overlapped image.
5. A shading assembly employing a dimming method according to any one of claims 1 to 4, comprising:
the system comprises a transparent panel, a main control unit and a first image acquisition unit, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes; wherein the main control unit is used for:
controlling the first image acquisition unit to acquire scene images
Determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining an adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
6. The shade assembly of claim 5, wherein the master control unit is further to:
determining a second set of pixels in the scene image having a luminance value not greater than the preset luminance threshold, the second set of pixels including at least one pixel;
adjusting the pixel value of each pixel in the second set of pixels to a minimum value to maximize transparency of the transparent panel at the corresponding pixel location in the second set of pixels.
7. The shading assembly of claim 5, further comprising a second image capturing unit located on a side of the transparent panel adjacent to a human eye, the main control unit being configured to:
controlling the second image acquisition unit to acquire a face image;
determining a first coordinate position of a human eye fixation point on the transparent panel according to the face image;
determining a movement vector of the first coordinate position relative to a central coordinate position of the transparent panel;
moving each pixel in the scene image according to the motion vector to obtain a moved image;
determining the first set of pixels from the shifted image.
8. The shading assembly of claim 7, wherein if the current scene of the shading assembly is a dark environment, the main control unit is further configured to:
determining a partial image corresponding to a preset area comprising the first coordinate position from the scene image;
performing image enhancement processing on the partial image to obtain an enhanced image;
and multiplying the enhanced image by a preset transparency, and overlapping the enhanced image to the scene image to obtain an overlapped image so that the transparent panel displays the overlapped image.
9. A vehicle comprising a shading assembly according to any one of claims 5 to 8.
10. A dimming device of a shading assembly, wherein the dimming device is applied to a vehicle, the dimming device comprises a memory and a processor, wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program in the memory to implement steps comprising:
controlling a first image acquisition unit to acquire a scene image, wherein the first image acquisition unit is positioned on one side of the transparent panel, which is far away from human eyes;
determining brightness values of pixels in the scene image;
determining a first pixel set of which the brightness value is greater than a preset brightness threshold value in the scene image, wherein the first pixel set comprises at least one pixel;
adjusting the pixel value of each pixel in the first pixel set to be smaller than the pixel value corresponding to the preset brightness threshold value, and obtaining the adjusted pixel value;
and according to the adjusted pixel value, reducing the transparency of the transparent panel at the position of the corresponding pixel in the first pixel set, so that the transparent panel displays the scene image according to the adjusted pixel value.
CN202011534054.8A 2020-12-23 2020-12-23 Dimming method and device of shading assembly, shading assembly and vehicle Pending CN114666488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011534054.8A CN114666488A (en) 2020-12-23 2020-12-23 Dimming method and device of shading assembly, shading assembly and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011534054.8A CN114666488A (en) 2020-12-23 2020-12-23 Dimming method and device of shading assembly, shading assembly and vehicle

Publications (1)

Publication Number Publication Date
CN114666488A true CN114666488A (en) 2022-06-24

Family

ID=82024244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011534054.8A Pending CN114666488A (en) 2020-12-23 2020-12-23 Dimming method and device of shading assembly, shading assembly and vehicle

Country Status (1)

Country Link
CN (1) CN114666488A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470287A (en) * 2007-12-27 2009-07-01 比亚迪股份有限公司 Anti-dazzle apparatus and method for vehicle
CN102241235A (en) * 2010-05-11 2011-11-16 财团法人工业技术研究院 Backlight shading device
CN104589969A (en) * 2014-11-26 2015-05-06 胡达广 Digital video anti-dazzle windshield of automobile
CN105501036A (en) * 2015-11-26 2016-04-20 上海汽车集团股份有限公司 Vehicle anti-dazzling image acquisition device and vehicle anti-dazzling system
CN105799468A (en) * 2016-05-10 2016-07-27 深圳市华星光电技术有限公司 Automobile light shielding and wind blocking device and automobile
WO2017134629A1 (en) * 2016-02-05 2017-08-10 Jens Kristian Poulsen Adaptive transparent display system and method for adaptive optical shielding
CN107667025A (en) * 2015-06-22 2018-02-06 大陆汽车有限责任公司 Transparent display with controllable shielding display
CN107719083A (en) * 2016-08-12 2018-02-23 通用汽车环球科技运作有限责任公司 Window system for vehicle's passenger compartment
CN108583237A (en) * 2018-03-23 2018-09-28 广州市微龙电子科技有限公司 Automobile intelligent electronic anti-dazzle system and control method
CN108995511A (en) * 2018-07-27 2018-12-14 京东方科技集团股份有限公司 The method of vehicle drive shade, vehicle and vehicle drive shading
CN109849790A (en) * 2019-03-06 2019-06-07 武汉理工大学 A kind of driving at night scene visual enhancing system and method for Multi-source Information Fusion
CN110135235A (en) * 2019-03-13 2019-08-16 北京车和家信息技术有限公司 A kind of dazzle processing method, device and vehicle
CN110475685A (en) * 2017-04-14 2019-11-19 堺显示器制品株式会社 The solar protection devices of vehicle
CN110494312A (en) * 2017-04-14 2019-11-22 堺显示器制品株式会社 Solar protection devices
CN111591111A (en) * 2020-06-22 2020-08-28 京东方科技集团股份有限公司 Shading board assembly, control method and control device thereof, and vehicle

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470287A (en) * 2007-12-27 2009-07-01 比亚迪股份有限公司 Anti-dazzle apparatus and method for vehicle
CN102241235A (en) * 2010-05-11 2011-11-16 财团法人工业技术研究院 Backlight shading device
CN104589969A (en) * 2014-11-26 2015-05-06 胡达广 Digital video anti-dazzle windshield of automobile
CN107667025A (en) * 2015-06-22 2018-02-06 大陆汽车有限责任公司 Transparent display with controllable shielding display
CN105501036A (en) * 2015-11-26 2016-04-20 上海汽车集团股份有限公司 Vehicle anti-dazzling image acquisition device and vehicle anti-dazzling system
WO2017134629A1 (en) * 2016-02-05 2017-08-10 Jens Kristian Poulsen Adaptive transparent display system and method for adaptive optical shielding
CN105799468A (en) * 2016-05-10 2016-07-27 深圳市华星光电技术有限公司 Automobile light shielding and wind blocking device and automobile
CN107719083A (en) * 2016-08-12 2018-02-23 通用汽车环球科技运作有限责任公司 Window system for vehicle's passenger compartment
CN110475685A (en) * 2017-04-14 2019-11-19 堺显示器制品株式会社 The solar protection devices of vehicle
CN110494312A (en) * 2017-04-14 2019-11-22 堺显示器制品株式会社 Solar protection devices
CN108583237A (en) * 2018-03-23 2018-09-28 广州市微龙电子科技有限公司 Automobile intelligent electronic anti-dazzle system and control method
CN108995511A (en) * 2018-07-27 2018-12-14 京东方科技集团股份有限公司 The method of vehicle drive shade, vehicle and vehicle drive shading
CN109849790A (en) * 2019-03-06 2019-06-07 武汉理工大学 A kind of driving at night scene visual enhancing system and method for Multi-source Information Fusion
CN110135235A (en) * 2019-03-13 2019-08-16 北京车和家信息技术有限公司 A kind of dazzle processing method, device and vehicle
CN111591111A (en) * 2020-06-22 2020-08-28 京东方科技集团股份有限公司 Shading board assembly, control method and control device thereof, and vehicle

Similar Documents

Publication Publication Date Title
US20160363993A1 (en) Transparent display system and apparatus provided with the same
US11043187B2 (en) On-vehicle display device, on-vehicle display method and vehicle
US7970172B1 (en) Electrically controlled optical shield for eye protection against bright light
US9720238B2 (en) Method and apparatus for a dynamic “region of interest” in a display system
US20140085282A1 (en) See-through optical image processing
US20200089972A1 (en) Automobile head-up display system and obstacle prompting method thereof
CN117238224A (en) Spatially resolved dynamic dimming for augmented reality devices
JP2008044603A (en) Glare-proof device for vehicle
CN110574099A (en) Head tracking based field sequential saccadic separation reduction
CN108215733A (en) Windshield light intensity regulating method, apparatus, system and windshield, automobile
CN106023104A (en) Human face eye area image enhancement method and system and shooting terminal
JP6669053B2 (en) Head-up display system
US11506902B2 (en) Digital glasses having display vision enhancement
JP4779780B2 (en) Image display device
WO2019131160A1 (en) Information processing device, information processing method, and recording medium
CN109582148A (en) A kind of method and device for protecting eyesight
CN114666488A (en) Dimming method and device of shading assembly, shading assembly and vehicle
US10891917B2 (en) Transparent display system and operation method thereof
CN109986938B (en) Light adjusting system and method, and vehicle comprising light adjusting system
CN113276772B (en) Automobile electronic exterior rearview mirror system and control method
US20230251402A1 (en) Front blind zone perspective virtual display device based on convex lens/concave lens and method
CN211014891U (en) Light-adjusting glasses
CN110316064B (en) Vehicle blind area display system
KR20180031927A (en) Auto sun visor control method
Hwang et al. 23.4: Augmented Edge Enhancement for Vision Impairment using Google Glas

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination