Vehicle rearview mirror control method and device, vehicle and medium
By calculating the difference in light intensity inside and outside the vehicle and analyzing images, differentiated shading treatment was implemented, which solved the problem of driver vision interference caused by strong reflected glare, thus improving vehicle driving safety and driver's driving experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-23
- Publication Date
- 2026-03-24
AI Technical Summary
In the early morning or late afternoon, when a vehicle is traveling with its back to the sun, strong sunlight at a low angle can penetrate the rear window, creating intense glare on the rearview mirror inside the vehicle and secondary glare on the side mirrors outside the vehicle. This severely interferes with the driver's vision and increases the risk to driving safety.
By calculating the difference in light intensity inside and outside the vehicle, the rear window image is acquired and analyzed to determine the area and number of strong light areas. Based on the difference and threshold, the glare type is determined, and differentiated shading treatment is implemented, including adjusting the light transmittance and tilt angle of the interior and exterior rearview mirrors, in order to eliminate glare and preserve the driver's field of vision.
It effectively eliminates multiple glare, improves driver safety, ensures drivers can maintain good visibility in glare-filled environments, and reduces safety risks.
Smart Images

Figure CN121716614A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of automobiles, in particular to a control method and device of a vehicle rearview mirror, a vehicle and a medium. BACKGROUND
[0002] In the early morning or late afternoon, when the vehicle drives with the back to the sun, the low-angle strong sunlight will penetrate the rear window and form strong reflected glare on the rearview mirror in the vehicle, directly shining into the driver's eyes, and at the same time, part of the light will also form secondary reflected glare on the outside rearview mirrors. The superposition of multiple glares from the inside and outside rearview mirrors will seriously interfere with the driver's field of view, thereby increasing the driving safety risk of the driver. SUMMARY
[0003] In view of the above problems, the present disclosure provides a control method and device of a vehicle rearview mirror, a vehicle and a medium which overcome the above problems or at least partially solve the above problems, and the technical solutions are as follows: A control method of a vehicle rearview mirror, the method comprising: determining a first difference in light intensity inside and outside the vehicle at a first time; in response to the first difference being greater than a difference threshold, acquiring an image of a rear window of the vehicle at the first time, and performing image analysis on the image of the rear window to obtain a total area of a strong light region in the image of the rear window and a first number of the strong light region; and in response to the total area of the strong light region being greater than an area threshold and the first number being less than a number threshold, performing first light-shielding processing on an inside rearview mirror of the vehicle and second light-shielding processing on an outside rearview mirror of the vehicle, the processing methods of the first light-shielding processing and the second light-shielding processing being different.
[0004] The control method of a vehicle rearview mirror provided by the present disclosure calculates the first difference in light intensity inside and outside the vehicle at the current time to determine whether the current vehicle is in a glare scene according to the difference, thereby avoiding misjudgment in a non-glare scene. When the first difference is greater than the difference threshold, it indicates that the current vehicle is in a glare scene. By acquiring an image of the rear window of the vehicle and performing image analysis on the image of the rear window, the total area and number of the strong light region in the image are determined to effectively distinguish the glare type, so as to make accurate decisions according to the glare type, avoid glare for the driver, and improve the safety of vehicle driving. When the total area of the strong light region is greater than the area threshold and the number of the strong light region is greater than the number threshold, it indicates that multiple glares will be generated in the current scene. By performing differential light-shielding processing on the inside rearview mirror and the outside rearview mirror of the vehicle, the driver can better retain the driving field of view while eliminating multiple glares, and a balance is achieved between eliminating glare and ensuring the safety of the field of view, thereby improving the safety of vehicle driving.
[0005] Optionally, the image analysis of the rear window image is performed to obtain the total area of the strong light region in the rear window image and the first number of the strong light region, including: performing a grayscale processing on the rear window image to obtain a grayscale image; regarding each pixel in the grayscale image, the pixel whose grayscale value is greater than a grayscale threshold value is regarded as a strong light pixel; all continuous strong light pixels in the grayscale image are combined to obtain at least one strong light region; the strong light regions in the grayscale image are counted to obtain the total area of the strong light region and the first number of the strong light region.
[0006] In this embodiment, the three-channel color image captured by the camera is converted into a one-channel grayscale image through the grayscale processing on the rear window image, so that the image data can be simplified to reduce the subsequent calculation complexity, and the processing speed can be greatly improved; then, regarding each pixel point in the grayscale image, it is judged whether the grayscale value of each pixel point exceeds a preset grayscale threshold value, and if it exceeds, the pixel point is marked as a strong light pixel. Through the threshold judgment, the strong light region can be screened out from the complex image, and the processing speed of the image can be improved through the simple threshold judgment method, so as to meet the real-time requirement of the vehicle-mounted system; then, all continuous strong light pixels in the grayscale image are combined to obtain at least one strong light region, so as to provide a processing basis for subsequent determination of the number and total area of the strong light region by combining single isolated pixel points into a plane; finally, the total area of the strong light region and the number of the strong light region are calculated through the counting of the strong light regions in the grayscale image, so as to provide data support for subsequent judgment of the glare scene, thereby facilitating the subsequent precise light-shielding processing of the vehicle.
[0007] Optionally, the first difference between the light intensities inside and outside the vehicle at the first time is determined, including: obtaining a first light intensity of the rearview mirror inside the vehicle and a second light intensity outside the vehicle at the first time; performing a difference operation on the first light intensity and the second light intensity to obtain the first difference between the light intensities inside and outside the vehicle.
[0008] In this embodiment, the first light intensity of the rearview mirror inside the vehicle and the second light intensity outside the vehicle at the first time are obtained respectively, so that the obtained data can maintain the consistency of space and time, so as to ensure the effectiveness and comparability of the data, provide data support for subsequent data processing, and then perform a mathematical calculation on the two light intensities to determine the difference therebetween, so as to accurately calculate the difference between the light intensities inside and outside the vehicle, facilitate the subsequent accurate judgment of whether the current vehicle is in a glare scene according to the difference value, and thus realize the subsequent precise decision control of the vehicle rearview mirror.
[0009] Optionally, the first light-shielding treatment is performed on the interior rearview mirror of the vehicle, including: performing first mapping processing on the first light intensity to obtain a first light transmittance; and adjusting the light transmittance of the interior rearview mirror based on the first light transmittance.
[0010] In this embodiment, the first light intensity is converted into the first light transmittance by performing first mapping processing on the first light intensity, so that the light transmittance is dynamically adjusted according to the light intensity, thereby facilitating subsequent light-shielding treatment of the rearview mirror and improving the user experience; and then the light transmittance of the interior rearview mirror of the vehicle is adjusted according to the first light transmittance, so that the interior rearview mirror performs accurate light-shielding treatment according to the light intensity of the current scene, thereby effectively eliminating the main glare source of the driver and improving the safety of the driver driving.
[0011] Optionally, the second light-shielding treatment is performed on the exterior rearview mirror of the vehicle, including: performing second mapping processing on the first light intensity to obtain a second light transmittance; and adjusting the light transmittance of the exterior rearview mirror based on the second light transmittance.
[0012] In this embodiment, the first light intensity is converted into the second light transmittance by performing second mapping processing on the first light intensity, so that the light transmittance is dynamically adjusted according to the light intensity, thereby facilitating subsequent light-shielding treatment of the rearview mirror and improving the user experience; and then the light transmittance of the exterior rearview mirror of the vehicle is adjusted according to the second light transmittance, so that the exterior rearview mirror performs accurate light-shielding treatment according to the light intensity of the current scene, thereby effectively eliminating the secondary glare source of the driver and improving the safety of the driver driving.
[0013] Optionally, the exterior rearview mirror includes a left exterior rearview mirror and a right exterior rearview mirror; and the second light-shielding treatment is performed on the exterior rearview mirror of the vehicle, including: obtaining a third light intensity of the left exterior rearview mirror of the vehicle and a fourth light intensity of the right exterior rearview mirror of the vehicle; performing third mapping processing on the third light intensity to obtain a third light transmittance, and performing fourth mapping processing on the fourth light intensity to obtain a fourth light transmittance; adjusting the light transmittance of the left exterior rearview mirror based on the third light transmittance, and adjusting the light transmittance of the right exterior rearview mirror based on the fourth light transmittance.
[0014] In the embodiment, the light intensity of the left and right outside rearview mirrors is acquired respectively to realize the perception separation of the light intensity of the left and right outside rearview mirrors, so as to accurately capture the glare threat on both sides, and then the third light intensity is subjected to third mapping processing and the fourth light intensity is subjected to fourth mapping processing to obtain the third and fourth light transmittances, so that the independent decision of the left and right rearview mirrors can be realized, and then the light transmittance of the left and right outside rearview mirrors is adjusted according to the third and fourth light transmittances, so that the left and right outside rearview mirrors can be accurately shaded according to the real-time light intensity, thereby realizing the accurate control of the left and right outside rearview mirrors to enable the driver to better retain the driving field of view while eliminating the glare effect, thereby improving the safety of the driver driving.
[0015] Optionally, the method further includes: in response to the total area of the strong light region being less than an area threshold or the first number being greater than a number threshold, performing third shading processing on the interior rearview mirror of the vehicle.
[0016] In the embodiment, when the total area of the strong light region is less than an area threshold or the number of strong light regions is less than a number threshold, it indicates that the current scene has a single glare source, which will only produce glare effect on the driver through the interior rearview mirror. By only shading the interior rearview mirror of the vehicle, the field of view of the driver can be avoided from being affected by shading the outside rearview mirror, thereby improving the safety of driving the vehicle and enhancing the robustness of the system.
[0017] Optionally, the method further includes: in response to the steering wheel rotation angle of the vehicle being greater than an angle threshold or the turn signal of the vehicle being triggered, canceling the second shading processing of the outside rearview mirror of the vehicle; or, in response to the strong light region of the outside rearview mirror of the vehicle having a target object, warning the driver and increasing the light transmittance of the outside rearview mirror.
[0018] In the embodiment, when the steering wheel rotation angle of the vehicle is greater than an angle threshold or the turn signal of the vehicle is triggered, it can be determined that the current driver has a right turning intention, at which time the anti-glare effect currently applied to the outside rearview mirror is immediately canceled to restore the original bright state to ensure the driving field of view of the driver, so that the system can cancel the anti-glare effect of the rearview mirror in advance before the driver really needs to observe the rearview mirror, which can ensure the driving safety of the driver and improve the driving experience of the driver; then, when a key target object is detected in the strong light region of the outside rearview mirror of the vehicle, the driver is warned and the light transmittance of the outside rearview mirror is increased, so as to improve the driving field of view of the driver, which can greatly improve the success rate of dealing with potential risks, thereby greatly improving the safety of the driver driving the vehicle.
[0019] A control device of a vehicle rearview mirror, the device comprising: a determination module configured to determine a first difference between light intensities inside and outside a vehicle at a first time; an analysis module configured to, in response to the first difference being greater than a difference threshold, acquire a rear window image of the vehicle at the first time, and perform image analysis on the rear window image to obtain a total area of a strong light region in the rear window image and a first number of the strong light region; and a control module configured to, in response to the total area of the strong light region being greater than an area threshold and the first number being less than a number threshold, perform shading processing on an interior rearview mirror of the vehicle based on a first shading strategy and perform shading processing on an exterior rearview mirror of the vehicle based on a second shading strategy, the shading processing method of the first shading strategy being different from that of the second shading strategy.
[0020] A vehicle comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to determine a first difference between light intensities inside and outside a vehicle at a first time; in response to the first difference being greater than a difference threshold, acquire a rear window image of the vehicle at the first time, and perform image analysis on the rear window image to obtain a total area of a strong light region in the rear window image and a first number of the strong light region; and in response to the total area of the strong light region being greater than an area threshold and the first number being less than a number threshold, perform first shading processing on an interior rearview mirror of the vehicle and perform second shading processing on an exterior rearview mirror of the vehicle, the processing method of the first shading processing being different from that of the second shading processing.
[0021] A computer-readable storage medium storing computer-executable instructions configured to: determine a first difference between light intensities inside and outside a vehicle at a first time; in response to the first difference being greater than a difference threshold, acquire a rear window image of the vehicle at the first time, and perform image analysis on the rear window image to obtain a total area of a strong light region in the rear window image and a first number of the strong light region; and in response to the total area of the strong light region being greater than an area threshold and the first number being less than a number threshold, perform first shading processing on an interior rearview mirror of the vehicle and perform second shading processing on an exterior rearview mirror of the vehicle, the processing method of the first shading processing being different from that of the second shading processing. BRIEF DESCRIPTION OF DRAWINGS
[0022] The accompanying drawings, which are included to provide a further understanding of the present disclosure and constitute a part of the present disclosure, illustrate certain illustrative embodiments of the present disclosure and are used to explain the present disclosure, but do not limit the present disclosure. In the drawings: Figure 1 is a flowchart of a control method of a vehicle rearview mirror provided by an embodiment of the present disclosure; Figure 2 This is a system composition framework diagram of a vehicle rearview mirror control method provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this disclosure. Detailed Implementation
[0023] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0024] It is understood that in the embodiments of this disclosure, data related to user information (such as user facial images) is involved. When the embodiments of this disclosure are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of this disclosure only and is not intended to be limiting of this disclosure.
[0026] In the following description, the terms “first, second, ...” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second, ...” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0027] In the early morning or late afternoon, when a vehicle is traveling with its back to the sun, strong sunlight at a low angle can penetrate the rear window and create intense reflected glare on the rearview mirror inside the vehicle, directly shining into the driver's eyes. At the same time, some of the light will also create secondary reflected glare on the side mirrors outside the vehicle. This superposition of multiple glare from the interior and exterior mirrors can seriously interfere with the driver's vision, thereby increasing the risk to the driver's driving safety.
[0028] Therefore, this disclosure provides a method for controlling a vehicle rearview mirror. Figure 1This is a flowchart illustrating a vehicle rearview mirror control method provided in an embodiment of this disclosure. The method can be applied to different types of vehicles. The process can be executed by a computing device in the corresponding field (e.g., a controller installed in the vehicle, a vehicle-mounted system, or a server located in the cloud). Certain input parameters or intermediate results in the process allow for manual intervention and adjustment to help improve accuracy.
[0029] This disclosure provides a method for controlling a vehicle rearview mirror. It should be noted that the executing entity in these embodiments can be a server or any terminal device with data processing capabilities. For example, the server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal device can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, in-vehicle terminal, etc., but is not limited to these.
[0030] like Figure 1 As shown, this disclosure provides a method for controlling a vehicle rearview mirror, including: Step 101: Determine the first difference in light intensity inside and outside the vehicle at the first moment.
[0031] It should be noted that the first moment refers to a specific moment during the vehicle's operation when monitoring the light intensity inside and outside the vehicle; the first difference is used to characterize the difference between the light intensity inside and outside the vehicle at the first moment. The first difference can be obtained by calculating the difference between the two. When the light intensity inside the vehicle is greater than the light intensity outside the vehicle, the first difference is a positive value, and when the light intensity inside the vehicle is less than the light intensity inside the vehicle, the first difference is a negative value. The first difference can also be obtained by calculating the ratio between the two. When the light intensity inside the vehicle is greater than the light intensity outside the vehicle, the first difference is greater than 1, and when the light intensity inside the vehicle is less than the light intensity inside the vehicle, the first difference is less than 1. No specific limitation is made here.
[0032] In some embodiments, step 101 described above can be implemented by: obtaining the first light intensity of the rearview mirror inside the vehicle and the second light intensity outside the vehicle at a first moment; performing a difference calculation on the first light intensity and the second light intensity to obtain the first difference between the light intensity inside and outside the vehicle.
[0033] In this way, by acquiring the first light intensity of the rearview mirror inside the vehicle and the second light intensity outside the vehicle at the first moment, the acquired data can maintain spatiotemporal consistency, ensuring the validity and comparability of the data and providing data support for subsequent data processing. Then, the two light intensities are mathematically calculated to determine the difference between them, thereby accurately calculating the difference between the light intensity inside and outside the vehicle. This facilitates the accurate determination of whether the vehicle is in a glare scene based on the difference value, thus enabling precise decision-making and control of the vehicle's rearview mirror.
[0034] It should be noted that the light intensity inside the vehicle's rearview mirror and outside the vehicle can be obtained by light intensity sensors installed on the rearview mirror and outside the vehicle, respectively.
[0035] As an example, suppose at a certain time in the evening (e.g., 6 PM), low-angle sunlight shines directly on the rear window, and strong light floods into the car. The light sensor near the rearview mirror detects a light intensity of up to 8000 lux towards the rear window, while the ambient light sensor at the windshield detects a light intensity of 1000 lux. Calculating the difference, the first difference in light intensity between the inside and outside of the vehicle is 7000 lux. Suppose at a certain time in the morning (e.g., 7 AM), low-angle sunlight shines directly on the rear window, and strong light floods into the car. The light sensor near the rearview mirror detects a light intensity of up to 6000 lux towards the rear window, while the ambient light sensor at the windshield detects a light intensity of 2000 lux. Calculating the ratio, the first difference in light intensity between the inside and outside of the vehicle is 3, meaning the light intensity at the rearview mirror is 3 times that at the outside.
[0036] Step 102: In response to the first difference being greater than the difference threshold, acquire the rear window image of the vehicle at the first moment.
[0037] It should be noted that when the first difference is greater than the difference threshold, it indicates that the vehicle is currently in a glare scene; the rear window image of the vehicle can be obtained by a camera installed inside the vehicle.
[0038] As an example, suppose at a certain time in the evening (e.g., 6 pm), the low-angle sunlight shines directly on the rear window, and strong light floods into the car. The first difference in light intensity between the inside and outside of the vehicle is calculated to be 3, which is greater than 1.1 (difference threshold). This indicates that the vehicle is currently in a glare scene and needs to be shaded accordingly. Then, a rear-mounted camera installed on the upper edge of the rear window or integrated into the interior rearview mirror takes a high-definition picture of the rear window of the vehicle, thereby acquiring a complete rear window view image (rear window image) at the current moment.
[0039] Step 103: Perform image analysis on the rear window image to obtain the total area of the strong light region in the rear window image and the first number of the strong light regions.
[0040] It should be noted that the first quantity refers to the number of independent bright light regions identified from the back window image after image processing; the total area refers to the sum of the number of pixels in the image that are identified as bright light regions; image analysis of the back window image can be achieved through traditional image processing methods (such as thresholding, edge detection, color space analysis, etc.) or through machine learning / deep learning methods (such as semantic segmentation, object detection, etc.), without specific limitations here.
[0041] In some embodiments, step 103 described above can be implemented as follows: the rear window image is converted to grayscale to obtain a grayscale image; for each pixel in the grayscale image, pixels with grayscale values greater than a grayscale threshold are designated as strong light pixels; all consecutive strong light pixels in the grayscale image are combined to obtain at least one strong light region; the strong light regions in the grayscale image are statistically analyzed to obtain the total area of the strong light regions and the first number of strong light regions.
[0042] Thus, by converting the rear window image to grayscale, the three-channel color image captured by the camera is transformed into a single-channel grayscale image, simplifying the image data and reducing subsequent computational complexity, thereby significantly improving processing speed. Then, for each pixel in the grayscale image, it is determined whether the grayscale value of each pixel exceeds a preset grayscale threshold. If it does, the pixel is marked as a strong light pixel. Thresholding allows for the filtering of strong light areas from complex images, and this simple thresholding method improves image processing speed, meeting the real-time requirements of the vehicle system. Next, all consecutive strong light pixels in the grayscale image are combined to obtain at least one strong light area. By combining isolated pixels into surfaces, a basis is provided for determining the number and total area of strong light areas. Finally, by statistically analyzing the strong light areas in the grayscale image, the total area and number of strong light areas can be calculated, providing data support for subsequent glare scene assessment and facilitating precise shading of the vehicle.
[0043] It should be noted that this disclosure analyzes the rear window image to obtain the area and number of strong light areas in the image, so as to accurately identify the type of glare source in the current glare scene based on the area and number. For example, sunlight is parallel diffused light, which will form a large area of light spot in the rear window. Therefore, the area of strong light areas that sunlight shines on the rear window is large and the number is small. On the other hand, the high beam of the vehicle is a discrete point light source, which forms a small area of strong light areas in the rear window and the number is large.
[0044] As an example, suppose the acquired back window image A is a bright spot with yellow and orange halos. By converting back window image A to grayscale, all color information is stripped away, resulting in a corresponding grayscale image B. Then, each pixel in grayscale image B is traversed, and the grayscale value of each pixel is compared with a grayscale threshold (e.g., 245). Pixels with grayscale values greater than the grayscale threshold are marked as strong light pixels. Next, consecutive strong light pixels in grayscale image B are combined into surfaces to obtain at least one strong light region, and each strong light region contains multiple strong light pixels. Finally, the combined strong light regions in the grayscale image are counted, and the number of strong light regions in the image is found to be 1, with a total area of 8000 pixels.
[0045] Step 104: In response to the fact that the total area of the strong light region is greater than the area threshold and the first quantity is less than the quantity threshold, the interior rearview mirror of the vehicle is subjected to a first light-blocking treatment.
[0046] It should be noted that the interior and exterior rearview mirrors can use electrochromic lenses, which are smart materials whose light transmittance can be changed by applying voltage. These lenses can be widely used in automatic anti-glare rearview mirrors. The total area can refer to the number of pixels in the strong light area or the area ratio of the strong light area in the image. When the total area of the strong light area is greater than the area threshold and the first number is less than the number threshold, it indicates that the glare source type in the current scene is sunlight. In this case, differentiated shading treatments need to be applied to the vehicle's interior and exterior rearview mirrors. The first shading treatment can be achieved by controlling the overall light transmittance of the interior rearview mirror, or by controlling only the light transmittance of the strong light area of the interior rearview mirror, or by fine-tuning the flip angle of the interior rearview mirror. No specific limitations are made here.
[0047] As an example, assuming the area threshold is 15% and the quantity threshold is 2, image analysis of the rear window image reveals that the total area of the strong light region in the rear window image is 20%, and the quantity of the strong light region is 1. This indicates that the glare source type in the current vehicle scene is sunlight. In this case, the glare effect on the driver can be eliminated by controlling the depth of the rearview mirror to darken it (e.g., reducing the light transmittance by 70%). Alternatively, the area that needs to be shaded can be determined based on the driver's line of sight and the strong light region in the rearview mirror. Darkening the depth of that local area in the rearview mirror can eliminate the glare effect on the driver while ensuring the driver's driving vision. Furthermore, the light transmittance and tilt angle of the rearview mirror can be adjusted simultaneously to minimize the impact on the driver's driving vision, thereby improving vehicle driving safety.
[0048] In some embodiments, the first light-blocking treatment of the vehicle's interior rearview mirror in step 104 above can be achieved by: performing a first mapping process on the first light intensity to obtain a first light transmittance; and adjusting the light transmittance of the interior rearview mirror based on the first light transmittance.
[0049] Thus, by performing a first mapping process on the first light intensity and converting it into a first transmittance, the transmittance can be dynamically adjusted according to the light intensity, so as to better shield the rearview mirror and improve the user experience. Subsequently, based on the first transmittance, the transmittance of the vehicle's interior rearview mirror is adjusted, so that the interior rearview mirror can accurately shield the light according to the light intensity of the current scene, thereby effectively eliminating the main source of glare for the driver and improving the driver's driving safety.
[0050] It should be noted that the first mapping of light intensity can be achieved through a simple linear function or other mapping methods (such as mapping tables, models, etc.), and no specific limitation is made here.
[0051] As an example, assuming the first light intensity is 5000 lux, by querying the corresponding mapping table (e.g., light intensity < 1000 lux: target transmittance 70%; 1000 ≤ light intensity < 3000: target transmittance 50%; 3000 ≤ light intensity < 4500: target transmittance 35%; light intensity ≥ 4500 lux: target transmittance 20%), the corresponding first transmittance can be obtained as 20%. Subsequently, the ECU controls the interior rearview mirror through the vehicle's control circuitry to adjust its transmittance to 20% to effectively eliminate the driver's glare.
[0052] Step 105: Perform a second light-shielding treatment on the exterior rearview mirrors of the vehicle.
[0053] Here, the methods for the first shading treatment and the second shading treatment are different.
[0054] It should be noted that the second shading treatment can be achieved by controlling the overall light transmittance of the exterior rearview mirror, or by controlling only the light transmittance of the strong light area of the exterior rearview mirror, or by finely adjusting the flip angle of the exterior rearview mirror. No specific limitations are made here.
[0055] As an example, glare to the driver can be eliminated by slightly darkening the exterior rearview mirror (e.g., reducing its light transmittance by 20%). Alternatively, the area requiring shading can be determined based on the driver's line of sight and the bright areas in the exterior rearview mirror. By darkening that area in the exterior rearview mirror, glare to the driver can be eliminated while ensuring the driver's visibility. Furthermore, the light transmittance and tilt angle of the exterior rearview mirror can be adjusted simultaneously to minimize any impact on the driver's visibility, thereby improving vehicle safety.
[0056] In some embodiments, step 105 described above can be implemented by performing a second mapping process on the first light intensity to obtain a second transmittance; and adjusting the transmittance of the exterior rearview mirror based on the second transmittance.
[0057] Thus, by performing a second mapping process on the first light intensity, converting it into a second transmittance, the transmittance can be dynamically adjusted according to the light intensity. This allows for better subsequent shading of the rearview mirror, improving the user experience. Subsequently, based on the second transmittance, the transmittance of the vehicle's exterior rearview mirror is adjusted, enabling the mirror to precisely shade the light according to the current scene's light intensity. This effectively eliminates secondary glare sources for the driver, thereby enhancing driving safety.
[0058] It should be noted that the second mapping process for light intensity can be implemented using a simple linear function or other mapping methods (such as mapping tables, models, etc.), without any specific limitations here; the mapping rules for the first mapping process and the second mapping process are different, that is, the first mapping process is a mapping rule adapted to the adjustment of the transmittance of the interior rearview mirror, while the second mapping process is a mapping rule adapted to the adjustment of the transmittance of the exterior rearview mirror.
[0059] As an example, assuming the first light intensity is 5000 lux, by consulting the corresponding mapping table (e.g., light intensity < 1000 lux: target transmittance 90%; 1000 ≤ light intensity < 3000: target transmittance 70%; 3000 ≤ light intensity < 4500: target transmittance 65%; light intensity ≥ 4500 lux: target transmittance 50%), the corresponding second transmittance of 50% can be obtained. Subsequently, the ECU controls the exterior rearview mirror through the vehicle's control circuitry to adjust its transmittance to 50% to effectively eliminate the driver's glare.
[0060] In some embodiments, the exterior rearview mirror includes a left exterior rearview mirror and a right exterior rearview mirror; step 105 described above can also be implemented in the following manner: obtaining the third light intensity of the left exterior rearview mirror and the fourth light intensity of the right exterior rearview mirror of the vehicle; performing a third mapping process on the third light intensity to obtain a third transmittance, and performing a fourth mapping process on the fourth light intensity to obtain a fourth transmittance; adjusting the transmittance of the left exterior rearview mirror based on the third transmittance, and adjusting the transmittance of the right exterior rearview mirror based on the fourth transmittance.
[0061] Thus, by separately acquiring the light intensity of the left and right exterior rearview mirrors, the perception of light intensity in the left and right exterior rearview mirrors is separated, thereby accurately capturing the threat of glare from both sides. Subsequently, a third mapping process is performed on the third light intensity, and a fourth mapping process is performed on the fourth light intensity to obtain the third and fourth transmittance, respectively. This allows for independent decision-making for the left and right rearview mirrors. Then, the transmittance of the left and right exterior rearview mirrors is adjusted according to the third and fourth transmittance, enabling the left and right exterior rearview mirrors to perform precise shading treatment based on real-time light intensity. This achieves precise control of the left and right exterior rearview mirrors, allowing the driver to better maintain their driving vision while eliminating the impact of glare, thereby improving driving safety.
[0062] It should be noted that the third and fourth light intensities can be obtained by light intensity sensors installed near the left and right exterior rearview mirrors of the vehicle, respectively. The third and fourth mapping processes of the light intensity can be implemented by a simple linear function or by other mapping methods (such as mapping tables, models, etc.). The mapping rules for the third and fourth mapping processes can be the same or different, and no specific restrictions are made here.
[0063] As an example, suppose the light intensity sensor on the left exterior rearview mirror detects a third light intensity of 4800 lux, and the light intensity sensor on the right exterior rearview mirror detects a fourth light intensity of 2300 lux. The mapping tables corresponding to the third and fourth mapping processes are the same, both stating that "by querying the corresponding mapping table, light intensity < 1000 lux: target transmittance 90%; 1000 ≤ light intensity < 3000: target transmittance 70%; 3000 ≤ light intensity < 4500: target transmittance 65%; light intensity ≥ 4500 units: target transmittance 50%", the corresponding third transmittance is 65% and the fourth transmittance is 70%. Subsequently, the ECU controls the left and right exterior rearview mirrors respectively through the vehicle's control circuit, adjusting the transmittance of the left exterior rearview mirror to 65% and the transmittance of the right exterior rearview mirror to 70%, thereby achieving precise control of the left and right exterior rearview mirrors. This allows the driver to better maintain their driving vision while eliminating glare, thus improving driving safety.
[0064] In some embodiments, after step 105, the following process may also be performed: in response to the total area of the strong light region being less than an area threshold or the first quantity being greater than a quantity threshold, a third light-blocking process is applied to the interior rearview mirror of the vehicle.
[0065] Thus, when the total area of the strong light region is less than the area threshold or the number of strong light regions is less than the number threshold, it indicates that the current scene has a single glare source, which will only affect the driver through the interior rearview mirror. By only shading the interior rearview mirror, the driver's vision can be avoided by shading the exterior rearview mirror, thereby improving the safety of driving the vehicle and enhancing the robustness of the system.
[0066] As an example, when the total area of the strong light area is less than the area threshold or the first quantity is greater than the quantity threshold, it indicates that the glare source type in the current scene is the vehicle's high beam. At this time, it is only necessary to perform shading treatment on the vehicle's interior rearview mirror. The third shading treatment can be achieved by controlling the overall light transmittance of the interior rearview mirror, or by controlling only the light transmittance of the strong light area of the interior rearview mirror, or by finely adjusting the flip angle of the interior rearview mirror. No specific limitations are made here.
[0067] As an example, assuming the area threshold is 15% and the quantity threshold is 2, image analysis of the rear window image reveals that the total area of the strong light region in the rear window image is 10%, and the number of strong light regions is 4. This indicates that the glare source type in the current vehicle scene is the vehicle's high beam. In this case, the glare effect on the driver can be eliminated by controlling the depth of the rearview mirror to darken it (e.g., reducing the light transmittance by 70%). Alternatively, the area that needs to be shaded can be determined based on the driver's line of sight and the strong light region in the rearview mirror. Darkening the depth of that local area in the rearview mirror can eliminate the glare effect on the driver while ensuring the driver's driving vision. Furthermore, the light transmittance and tilt angle of the rearview mirror can be adjusted simultaneously to minimize the impact on the driver's driving vision, thereby improving vehicle driving safety.
[0068] In some embodiments, after step 105, the following processes may also be performed: in response to the steering wheel rotation angle of the vehicle being greater than an angle threshold, or the turn signal of the vehicle being triggered, the second shading process of the vehicle's exterior rearview mirror is eliminated; or, in response to the presence of a target object in the bright light area of the vehicle's exterior rearview mirror, a warning is given to the driver, and the light transmittance of the exterior rearview mirror is increased.
[0069] Thus, when the steering wheel rotation angle exceeds a threshold or the vehicle's turn signal is triggered, the driver's intention to turn right can be determined. At this point, the anti-glare effect currently applied to the exterior rearview mirror is immediately canceled, restoring it to its original bright state to ensure the driver's visibility. This allows the system to eliminate the anti-glare effect before the driver actually needs to observe the exterior rearview mirror, ensuring driving safety and improving the driving experience. Subsequently, if a critical target is detected in the bright area of the vehicle's exterior rearview mirror, a warning will be issued to the driver, and the light transmittance of the exterior rearview mirror will be increased to enhance the driver's visibility, greatly increasing the success rate of dealing with potential risks and significantly improving driving safety.
[0070] As an example, when the system detects a right turn signal from the turn signal sensor, or when the steering wheel sensor detects that the steering wheel rotation angle is greater than a preset threshold angle (e.g., 15°), the system can determine that the driver intends to turn right. The system will then detect the light transmittance of the vehicle's exterior rearview mirrors. If the light transmittance of the exterior rearview mirrors was previously reduced due to shading, the shading will be removed, for example, restoring the light transmittance of the exterior rearview mirrors to their original 100%. In addition, using the rear-view camera, if a vehicle or pedestrian or other key target is detected in the glare area of a certain exterior rearview mirror, the system will urgently remind the driver to drive carefully and increase the light transmittance of the other exterior rearview mirror to balance glare suppression and the visibility of the target object, thereby effectively improving the safety of vehicle driving.
[0071] In some embodiments, different glare source types can also be distinguished by: calculating the rate of change of light intensity at the current moment; when the rate of change of light intensity is less than the rate of change threshold, determining that the current glare source type is sunlight, otherwise it is vehicle high beam; or, based on the vehicle's GPS positioning and the current time, calculating the current solar altitude angle and azimuth angle, and obtaining the vehicle's current heading angle; if the solar altitude angle is lower than a first preset angle (e.g., 30°) and the difference between the azimuth angle and the heading angle is less than a second preset angle (e.g., 60°), then determining that the current glare source type is sunlight, otherwise it is vehicle high beam.
[0072] The following will describe an exemplary application of the embodiments of this disclosure in a practical application scenario.
[0073] In the early morning or late afternoon, when a vehicle is traveling with its back to the sun, strong sunlight at a low angle can penetrate the rear window and create intense reflected glare on the rearview mirror inside the vehicle, directly shining into the driver's eyes. At the same time, some of the light will also create secondary reflected glare on the side mirrors outside the vehicle. This superposition of multiple glare from the interior and exterior mirrors can seriously interfere with the driver's vision, thereby increasing the risk to the driver's driving safety.
[0074] Therefore, this disclosure provides a method for controlling a vehicle rearview mirror. Through a central coordinated control strategy, when backlight glare is detected, the inner rearview mirror is darkened more deeply to eliminate the main glare, while the outer rearview mirror is differentially maintained or slightly darkened to ensure lateral visibility. This achieves an optimal balance between eliminating glare and maintaining visibility, thereby effectively improving the safety of vehicle driving.
[0075] In some embodiments, see Figure 2 , Figure 2 This is a system composition framework diagram of a vehicle rearview mirror control method provided in this disclosure embodiment, such as... Figure 2As shown, the environmental perception module continuously monitors the system. When the light intensity detected by the first light intensity sensor near the interior rearview mirror is significantly higher than that detected by the second light intensity sensor (ambient light reference) located outside the vehicle, the central control module (ECU) determines that a backlight glare condition has been entered. Here, the backlight glare condition refers to a scenario where the vehicle's driving direction is opposite to the direction of sunlight incidence, resulting in strong sunlight shining from behind the vehicle and causing severe reflected glare on the rearview mirror. Subsequently, according to a priority strategy, the ECU immediately instructs the interior rearview mirror anti-glare unit (electrochromic lens) to darken its depth (e.g., reduce light transmittance by 70%) to eliminate the most direct frontal glare to the driver. At the same time, according to the lateral vision protection strategy, the ECU performs one or more of the following differentiated controls on the exterior rearview mirrors: (1) Keep the left and right rearview mirrors constantly lit or only slightly darkened (e.g., light transmittance reduced by only 0-20%). (2) When a steering wheel angle sensor or turn signal is received (indicating that the driver intends to turn), the dimming state of the exterior rearview mirror is forcibly deactivated or significantly reduced to ensure that the driver's vision is clear; (3) Using the rear camera, if a vehicle or pedestrian or other key target is detected in the glare area of the exterior rearview mirror, the darkening degree of the exterior rearview mirror is adjusted accordingly to balance glare suppression and target visibility, thereby improving the safety of vehicle driving.
[0076] In summary, the embodiments disclosed herein solve the problem of independent operation and lack of coordination among the three components in traditional solutions by using a unified strategy to systematically control the anti-glare function of the interior and exterior rearview mirrors. Furthermore, by employing a clear hierarchy strategy, while eliminating the main glare source (interior rearview mirror), the system also ensures the crucial lateral visibility (exterior rearview mirror) for lane changing and turning safety, thereby significantly improving vehicle driving safety. In addition, by dynamically adjusting the anti-glare strategy in conjunction with the driver's steering intentions, the system response is more intelligent and better meets actual driving needs, effectively improving the applicability of various scenarios.
[0077] The following description continues to illustrate the exemplary structure of the vehicle rearview mirror control device provided in the embodiments of this disclosure as a software module. In some embodiments, the software module in the vehicle rearview mirror control device may include: a determination module, an analysis module, and a control module.
[0078] The system includes a determination module for determining a first difference in light intensity between the interior and exterior of the vehicle at a first moment; an analysis module for acquiring a rear window image of the vehicle at the first moment in response to the first difference being greater than a difference threshold, and performing image analysis on the rear window image to obtain the total area of the strong light regions in the rear window image and a first number of the strong light regions; and a control module for applying a first shading strategy to the interior rearview mirror of the vehicle based on a first shading strategy and applying a second shading strategy to the exterior rearview mirror of the vehicle in response to the total area of the strong light regions being greater than an area threshold and the first number being less than a number threshold, wherein the shading methods of the first shading strategy and the second shading strategy are different.
[0079] In some embodiments, the determining module is further configured to obtain a first light intensity of the rearview mirror inside the vehicle and a second light intensity outside the vehicle at a first moment; and to perform a difference calculation on the first light intensity and the second light intensity to obtain a first difference between the light intensities inside and outside the vehicle.
[0080] In some embodiments, the analysis module is further configured to perform grayscale processing on the rear window image to obtain a grayscale image; for each pixel in the grayscale image, pixels with grayscale values greater than a grayscale threshold are designated as strong light pixels; all consecutive strong light pixels in the grayscale image are combined to obtain at least one strong light region; and the strong light regions in the grayscale image are statistically analyzed to obtain the total area of the strong light regions and the first number of strong light regions.
[0081] In some embodiments, the control module is further configured to perform a first mapping process on the first light intensity to obtain a first transmittance; and adjust the transmittance of the interior rearview mirror based on the first transmittance.
[0082] In some embodiments, the control module is further configured to perform a second mapping process on the first light intensity to obtain a second transmittance; and adjust the transmittance of the exterior rearview mirror based on the second transmittance.
[0083] In some embodiments, the exterior rearview mirrors include a left exterior rearview mirror and a right exterior rearview mirror. The control module is further configured to acquire a third light intensity of the left exterior rearview mirror and a fourth light intensity of the right exterior rearview mirror; perform a third mapping process on the third light intensity to obtain a third transmittance, and perform a fourth mapping process on the fourth light intensity to obtain a fourth transmittance; adjust the transmittance of the left exterior rearview mirror based on the third transmittance, and adjust the transmittance of the right exterior rearview mirror based on the fourth transmittance.
[0084] In some embodiments, the control module is further configured to perform a third shading treatment on the interior rearview mirror of the vehicle in response to the total area of the strong light region being less than an area threshold or the first quantity being greater than a quantity threshold.
[0085] In some embodiments, the control module is further configured to, in response to the steering wheel rotation angle of the vehicle being greater than an angle threshold or the turn signal of the vehicle being triggered, eliminate the second shading treatment of the vehicle's exterior rearview mirror; or, in response to the presence of a target object in the bright light area of the vehicle's exterior rearview mirror, provide a warning to the driver and increase the light transmittance of the exterior rearview mirror.
[0086] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, so it will not be repeated.
[0087] Figure 3 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this disclosure.
[0088] For example, such as Figure 3 As shown, the vehicle 200 includes a memory 201 and a processor 202. The memory 201 stores executable program code 2011, and the processor 202 is used to call and execute the executable program code 2011 to perform a control method for the vehicle's rearview mirror.
[0089] This embodiment can divide the vehicle into functional modules according to the above method example. For example, each module can correspond to a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0090] When each functional module is divided according to its corresponding function, the vehicle may include: Determine the first difference in light intensity inside and outside the vehicle at the first moment; In response to the first difference being greater than the difference threshold, the rear window image of the vehicle at the first moment is acquired, and image analysis is performed on the rear window image to obtain the total area of the strong light region in the rear window image and the first number of the strong light regions. In response to the total area of the strong light region being greater than an area threshold and the first quantity being less than a quantity threshold, a first light-blocking treatment is applied to the interior rearview mirror of the vehicle, and a second light-blocking treatment is applied to the exterior rearview mirror of the vehicle. The processing methods of the first light-blocking treatment and the second light-blocking treatment are different.
[0091] Some embodiments of this disclosure provide corresponding toFigure 1 A computer-readable storage medium stores computer-executable instructions, the computer-executable instructions being configured to: determine a first difference in light intensity inside and outside a vehicle at a first moment; in response to the first difference being greater than a difference threshold, acquire a rear window image of the vehicle at the first moment, and perform image analysis on the rear window image to obtain the total area of strong light regions in the rear window image and a first number of strong light regions; in response to the total area of the strong light regions being greater than an area threshold and the first number being less than a number threshold, perform a first shading treatment on the interior rearview mirror of the vehicle and a second shading treatment on the exterior rearview mirror of the vehicle, wherein the processing methods of the first shading treatment and the second shading treatment are different.
[0092] The various embodiments in this disclosure are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for IoT devices and media are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0093] The vehicles and media provided in this disclosure correspond one-to-one with the methods. Therefore, the vehicles and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the vehicles and media will not be repeated here.
[0094] Those skilled in the art will understand that embodiments of this disclosure can be provided as vehicles, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can 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, etc.) containing computer-usable program code.
[0095] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, vehicles (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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 a mechanism for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0096] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0098] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0099] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0100] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0101] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0102] The above description is merely an embodiment of this disclosure and is not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.
Claims
1. A method for controlling a vehicle rearview mirror, characterized in that, The method includes: Determine the first difference in light intensity inside and outside the vehicle at the first moment; In response to the first difference being greater than the difference threshold, the rear window image of the vehicle at the first moment is acquired, and image analysis is performed on the rear window image to obtain the total area of the strong light region in the rear window image and the first number of the strong light regions. In response to the total area of the strong light region being greater than an area threshold and the first quantity being less than a quantity threshold, a first light-blocking treatment is applied to the interior rearview mirror of the vehicle, and a second light-blocking treatment is applied to the exterior rearview mirror of the vehicle. The processing methods of the first light-blocking treatment and the second light-blocking treatment are different.
2. The method for controlling a vehicle rearview mirror according to claim 1, characterized in that, The step of performing image analysis on the rear window image to obtain the total area of the strong light regions in the rear window image and the first number of the strong light regions includes: The rear window image is converted to grayscale to obtain a grayscale image; For each pixel in the grayscale image, pixels with grayscale values greater than a grayscale threshold are designated as strong light pixels. By combining all consecutive bright pixels in the grayscale image, at least one bright region is obtained. The strong light regions in the grayscale image are statistically analyzed to obtain the total area of the strong light regions and the first number of the strong light regions.
3. The method for controlling a vehicle rearview mirror according to claim 1, characterized in that, The determination of the first difference in light intensity inside and outside the vehicle at the first moment includes: The first light intensity of the rearview mirror inside the vehicle and the second light intensity outside the vehicle are obtained at a first moment. The difference between the first light intensity and the second light intensity is calculated to obtain the first difference between the light intensity inside and outside the vehicle.
4. The method for controlling a vehicle rearview mirror according to claim 3, characterized in that, The first shading treatment of the vehicle's interior rearview mirror includes: The first light intensity is subjected to a first mapping process to obtain a first transmittance; Based on the first transmittance, the transmittance of the rearview mirror is adjusted; The second shading treatment for the vehicle's exterior rearview mirrors includes: The first light intensity is subjected to a second mapping process to obtain a second transmittance. Based on the second transmittance, the transmittance of the exterior rearview mirror is adjusted.
5. The method for controlling a vehicle rearview mirror according to claim 1, characterized in that, The exterior rearview mirrors include a left exterior rearview mirror and a right exterior rearview mirror; The second shading treatment for the vehicle's exterior rearview mirrors includes: The third light intensity of the left exterior rearview mirror and the fourth light intensity of the right exterior rearview mirror of the vehicle are obtained. The third light intensity is subjected to a third mapping process to obtain a third transmittance, and the fourth light intensity is subjected to a fourth mapping process to obtain a fourth transmittance; Based on the third transmittance, the transmittance of the left exterior rearview mirror is adjusted, and based on the fourth transmittance, the transmittance of the right exterior rearview mirror is adjusted.
6. The method for controlling a vehicle rearview mirror according to claim 1, characterized in that, The method further includes: In response to the total area of the strong light region being less than an area threshold, or the first quantity being greater than a quantity threshold, a third light-blocking treatment is applied to the interior rearview mirror of the vehicle.
7. The method for controlling a vehicle rearview mirror according to claim 1, characterized in that, The method further includes: In response to the vehicle's steering wheel rotation angle exceeding a threshold angle, or the activation of the vehicle's turn signal, the second shading treatment of the vehicle's exterior rearview mirror is eliminated; or, In response to the presence of a target object in the bright light area of the vehicle's exterior rearview mirror, a warning is issued to the driver, and the light transmittance of the exterior rearview mirror is increased.
8. A control device for a vehicle rearview mirror, characterized in that, The device includes: The determination module is used to determine the first difference in light intensity inside and outside the vehicle at the first moment. The analysis module is used to, in response to the first difference being greater than the difference threshold, acquire the rear window image of the vehicle at the first moment, and perform image analysis on the rear window image to obtain the total area of the strong light region in the rear window image and the first number of the strong light regions. The control module is configured to respond to a situation where the total area of the strong light region is greater than an area threshold and the first quantity is less than a quantity threshold, perform light-blocking processing on the interior rearview mirror of the vehicle based on a first light-blocking strategy, and perform light-blocking processing on the exterior rearview mirror of the vehicle based on a second light-blocking strategy, wherein the light-blocking processing methods of the first light-blocking strategy and the second light-blocking strategy are different.
9. A vehicle, characterized in that, The vehicles include: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform a vehicle rearview mirror control method as described in any one of claims 1-7.
10. A computer storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed, a vehicle rearview mirror control method as described in any one of claims 1-7 is implemented.