Camera system, control method, apparatus, and storage medium

By configuring the camera's exposure time according to the brightness value, the problem of image distortion in high-brightness and low-brightness scenes is solved, and clear image acquisition and display under different brightness conditions are achieved.

CN122053977APending Publication Date: 2026-05-15FAURECIA COAGENT ELECTRONICS (FENGCHENG) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FAURECIA COAGENT ELECTRONICS (FENGCHENG) CO LTD
Filing Date
2024-11-13
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In high-brightness and low-brightness scenarios, the images captured by the electronic rearview mirror will be distorted, resulting in poor image quality displayed on the in-vehicle screen.

Method used

By acquiring the brightness information of the images captured by the camera, the camera's exposure time is configured according to the brightness value. The exposure time is negatively correlated with the brightness value. A shorter exposure time is configured in high-brightness scenes and a longer exposure time is configured in low-brightness scenes to avoid image distortion.

Benefits of technology

It effectively avoids image distortion in high-brightness and low-brightness scenarios, improves the image quality of the in-vehicle display screen, and ensures clear acquisition of environmental images even in low-brightness conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122053977A_ABST
    Figure CN122053977A_ABST
Patent Text Reader

Abstract

The invention discloses a camera system, a control method, equipment and a storage medium, and relates to the technical field of automobiles, and the camera system comprises an acquisition module which is used for acquiring brightness information of an image shot by a camera. And the determination module is used for determining the brightness value of the image according to the brightness information. And the scene configuration module is used for configuring the exposure time of the camera according to the brightness value. The exposure time of the camera is negatively correlated with the brightness value. The method and the device are used for avoiding the situation that in a high-brightness scene or a low-brightness scene, an image collected by an electronic rearview mirror is distorted, so that an image picture displayed by an in-vehicle display screen is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive technology, and more particularly to a camera system, control method, device, and storage medium. Background Technology

[0002] Electronic rearview mirrors use cameras instead of traditional exterior rearview mirrors to display the captured image information on an in-vehicle display screen, providing real-time visibility of the road conditions behind the vehicle and helping users better observe the situation behind the vehicle.

[0003] However, in high-brightness or low-brightness scenarios, the images captured by the electronic rearview mirror can become distorted, resulting in poor image quality on the in-car display screen. For example, in high-brightness scenarios, the excessive brightness affects the visibility of the images captured by the camera; in low-brightness scenarios, the dim light leads to poor visibility and significant noise in the images captured by the camera. Summary of the Invention

[0004] This invention provides a camera system, control method, device, and storage medium that can prevent the images captured by the electronic rearview mirror from being distorted in high-brightness or low-brightness scenes, resulting in poor image quality on the in-vehicle display screen.

[0005] To achieve the above objectives, the present invention adopts the following technical solution:

[0006] Firstly, a camera system is provided, comprising: an acquisition module for acquiring brightness information of an image captured by the camera; a determination module for determining the brightness value of the image based on the brightness information; and a scene configuration module for configuring the camera's exposure time based on the brightness value. The camera's exposure time is negatively correlated with the brightness value.

[0007] In one possible implementation, the scene configuration module is specifically used to: configure the camera's exposure time as a first exposure time when the brightness value is greater than or equal to a first brightness threshold; configure the camera's exposure time as a second exposure time when the brightness value is less than the first brightness threshold but greater than a second brightness threshold; and configure the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold; and configure the second exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold.

[0008] In one possible implementation, the scene configuration module is specifically used to configure the camera's exposure time based on the brightness value and the speed of the vehicle in which the camera is located.

[0009] In one possible implementation, the scene configuration module is specifically used to configure the camera's exposure time to a third exposure time when the vehicle speed is greater than a first vehicle speed but less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold.

[0010] In one possible implementation, the scene configuration module is specifically used to: configure the camera's exposure time as a fourth exposure time when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time. When the brightness value is less than or equal to the third brightness threshold and the vehicle speed is less than or equal to a first vehicle speed, configure the camera's exposure time as a fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0011] In one possible implementation, the determining module is specifically used to: statistically analyze the pixel distribution data of the image based on the brightness information, and determine the brightness value of the image based on the pixel distribution data.

[0012] In one possible implementation, the camera system is applied to the vehicle's electronic mirror system.

[0013] Secondly, a camera control method is provided, comprising: acquiring brightness information of an image captured by the camera, and determining the brightness value of the image based on the brightness information; configuring the camera's exposure time based on the brightness value; and wherein the camera's exposure time is negatively correlated with the brightness value.

[0014] In one possible implementation, configuring the camera's exposure time based on the brightness value includes: configuring the camera's exposure time as a first exposure time when the brightness value is greater than or equal to a first brightness threshold; configuring the camera's exposure time as a second exposure time when the brightness value is less than the first brightness threshold but greater than a second brightness threshold; and configuring the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold; and configuring the second exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold.

[0015] In one possible implementation, configuring the camera's exposure time based on the brightness value includes configuring the camera's exposure time based on the brightness value and the speed of the vehicle in which the camera is located.

[0016] In one possible implementation, the camera's exposure time is configured based on the brightness value and the vehicle speed at which the camera is located, including: when the vehicle speed is greater than a first vehicle speed but less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold, the camera's exposure time is configured as a third exposure time.

[0017] In one possible implementation, the camera's exposure time is configured based on the brightness value and the vehicle speed, including: when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed, the camera's exposure time is configured as a fourth exposure time. The third exposure time is greater than the fourth exposure time. When the brightness value is less than or equal to a third brightness threshold and the vehicle speed is less than or equal to a first vehicle speed, the camera's exposure time is configured as a fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0018] In one possible implementation, determining the brightness value of an image based on brightness information includes: statistically analyzing the pixel distribution data of the image based on the brightness information, and determining the brightness value of the image based on the pixel distribution data.

[0019] Thirdly, a camera control device is provided, comprising: an acquisition unit, a determination unit, and a processing unit. The acquisition unit acquires brightness information of an image captured by the camera. The determination unit determines the brightness value of the image based on the brightness information. The processing unit configures the camera's exposure time based on the brightness value. The camera's exposure time is negatively correlated with the brightness value.

[0020] In one possible implementation, the processing unit is specifically configured to: configure the camera's exposure time as a first exposure time when the brightness value is greater than or equal to a first brightness threshold; configure the camera's exposure time as a second exposure time when the brightness value is less than the first brightness threshold but greater than a second brightness threshold; and configure the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold; and configure the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold; and configure the second exposure time as a third exposure time.

[0021] In one possible implementation, the processing unit is specifically configured to: configure the camera's exposure time based on the brightness value and the speed of the vehicle in which the camera is located.

[0022] In one possible implementation, the processing unit is specifically configured to: configure the camera's exposure time to a third exposure time when the vehicle speed is greater than a first vehicle speed and less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold.

[0023] In one possible implementation, the processing unit is specifically configured to: configure the camera's exposure time as a fourth exposure time when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time. When the brightness value is less than or equal to the third brightness threshold and the vehicle speed is less than or equal to a first vehicle speed, configure the camera's exposure time as a fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0024] In one possible implementation, the determining unit is specifically used to: statistically analyze the pixel distribution data of the image based on the brightness information, and determine the brightness value of the image based on the pixel distribution data.

[0025] Fourthly, an electronic device is provided, including a memory and a processor. The memory and the processor are coupled. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, it causes the electronic device to perform the method as described in the second aspect.

[0026] Fifthly, a computer-readable storage medium is provided, which stores computer instructions. When the computer instructions are executed on an electronic device, they cause the electronic device to perform the method as described in the second aspect.

[0027] This invention provides a camera system that determines the brightness value of an image based on pixel distribution data captured by the camera, and configures the camera's exposure time accordingly. The camera's exposure time is negatively correlated with the brightness value. Thus, in high-brightness scenes, a shorter exposure time is configured for the camera to avoid large overexposed areas that affect the visibility of bright areas due to excessive exposure time; conversely, in low-brightness scenes, a longer exposure time is configured for the camera to avoid poor image visibility and severe noise due to underexposure. This avoids image distortion in both high-brightness and low-brightness scenes, preventing poor image quality displayed on the vehicle's in-vehicle display screen. Attached Figure Description

[0028] Figure 1 This is a schematic diagram of a camera system architecture provided by an embodiment of the present invention;

[0029] Figure 2 This is one of the flowcharts illustrating a camera control method according to an exemplary embodiment;

[0030] Figure 3 This is a second schematic flowchart illustrating a camera control method according to an exemplary embodiment;

[0031] Figure 4 This is a third flowchart illustrating a camera control method according to an exemplary embodiment;

[0032] Figure 5 This is a block diagram illustrating a camera control device according to an exemplary embodiment;

[0033] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0034] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention.

[0035] In the description of this invention, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" and "more than one" refer to two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.

[0036] The inventive concept of this invention is described below:

[0037] Electronic rearview mirrors use cameras instead of traditional exterior rearview mirrors to display the captured image information on an in-vehicle display screen, providing real-time visibility of the road conditions behind the vehicle and helping users better observe the situation behind the vehicle.

[0038] However, in high-brightness or low-brightness scenarios, the images captured by the electronic rearview mirror will be distorted, resulting in poor image quality displayed on the in-vehicle screen.

[0039] Specifically, the exposure time of the camera in current electronic rearview mirrors is configured based on normal lighting conditions. Furthermore, with the camera's exposure time set, it captures images at a fixed exposure time. Consequently, in both high-brightness and low-brightness scenarios, the image captured by the electronic rearview mirror will be distorted, resulting in a poor image displayed on the in-car screen. For example, in high-brightness scenarios, the excessive brightness affects the visibility of the image captured by the camera; in low-brightness scenarios, the insufficient light leads to poor visibility and significant noise in the image captured by the camera.

[0040] To address the aforementioned technical problems, this invention provides a camera system comprising: an acquisition module for acquiring brightness information of an image captured by the camera; a determination module for determining the brightness value of the image based on the brightness information; and a scene configuration module for configuring the camera's exposure time based on the brightness value. The camera's exposure time is negatively correlated with the brightness value.

[0041] Therefore, the camera's exposure time is configured based on the brightness value. The camera's exposure time is negatively correlated with the brightness value. In high brightness (overly bright scenes), a shorter exposure time is configured for the camera to avoid large overexposed areas that affect the visibility of bright areas due to excessive exposure time. In low brightness (low brightness scenes), a longer exposure time is configured for the camera to avoid poor image visibility and severe noise due to underexposure in low brightness scenes. This avoids the situation where the image captured by the electronic rearview mirror is distorted in high or low brightness scenes, resulting in a poor image displayed on the in-vehicle screen.

[0042] Based on the above inventive concept, such as Figure 1 As shown, the camera system 10 of the present invention includes: an acquisition module 101, a determination module 102, and a scene configuration module 103.

[0043] The acquisition module 101 is used to acquire the brightness information of the image captured by the camera.

[0044] In some embodiments, the acquisition module 101 is used to extract brightness information from the image information of an image captured by a camera.

[0045] For example, taking brightness information as a brightness histogram, the acquisition module 101 is used to convert the image into a grayscale image and determine the range and number of brightness histograms. Furthermore, the acquisition module 101 is also used to traverse each pixel in the grayscale image and count the number of times each pixel value appears, thereby plotting the statistical results into a brightness histogram.

[0046] The determination module 102 is used to determine the brightness value of the image based on the brightness information.

[0047] In some embodiments, the determining module 102 is used to statistically analyze the pixel distribution data of the image based on the brightness information, and to determine the brightness value of the image based on the pixel distribution data.

[0048] For example, the brightness information is used as a brightness histogram. The determination module 102 is used to determine the distribution data of pixel values ​​in the image based on the brightness histogram. For example, if the pixel values ​​in the image are mainly concentrated between 0 and 128, the image is determined to be relatively dark. If the pixel values ​​are mainly concentrated around 255, the image is determined to be relatively bright.

[0049] In some embodiments, the determining module 102 is used to statistically analyze the pixel distribution data of the image based on red-green-blue (RGB) information.

[0050] In some embodiments, the determining module 102 is used to input the pixel distribution data of brightness into a preset brightness determining model to obtain the brightness value of the image.

[0051] In another case, the determining module 102 is used to determine the brightness value of the image based on the signal-to-noise ratio of the image.

[0052] It should be noted that the preset brightness determination model is pre-set by maintenance personnel in the camera system. The brightness values ​​in this embodiment of the invention can characterize the brightness level of the image.

[0053] Scene configuration module 103 is used to configure the camera's exposure time based on the brightness value.

[0054] Among them, the camera's exposure time is negatively correlated with the brightness value.

[0055] As one possible implementation, the scene configuration module 103 is used to determine the camera's exposure time based on the brightness value and configure the camera based on the determined exposure time.

[0056] In some embodiments, the scene configuration module 103 is configured to set the camera's exposure time to a first exposure time when the brightness value is greater than or equal to a first brightness threshold; and to set the camera's exposure time to a second exposure time when the brightness value is less than the first brightness threshold but greater than a second brightness threshold. The first exposure time is less than the second exposure time. When the brightness value is less than or equal to the second brightness threshold, the camera's exposure time is configured to a third exposure time. The second exposure time is less than the third exposure time.

[0057] In some embodiments, the scene configuration module 103 is used to input the brightness value into a first determination function to obtain the exposure time corresponding to the brightness value, and configure the exposure time corresponding to the brightness value as the exposure time of the camera.

[0058] It should be noted that the first determination function is preset in the camera system 10 by the maintenance personnel.

[0059] In other embodiments, the scene configuration module 103 is used to determine the brightness level of the image based on the brightness value, and to determine the exposure time corresponding to the brightness level based on the brightness level and a time mapping relationship. The time mapping relationship includes multiple brightness levels and the exposure time corresponding to each brightness level. Further, the scene configuration module 103 is used to configure the exposure time corresponding to the brightness level as the camera's exposure time.

[0060] Furthermore, before configuring the camera's exposure time based on the brightness value, this embodiment of the invention does not limit the initial exposure time of the camera.

[0061] For example, when the vehicle is started, the electronic mirror system is activated and the camera's exposure time is configured to the second exposure time.

[0062] For example, when the vehicle starts, the electronic mirror system is activated, and a time is randomly selected from a preset time interval as the camera's initial exposure time. The preset time interval is pre-set in the electronic equipment by maintenance personnel.

[0063] For example, when the vehicle is started, the electronic mirror system is activated and the current time is acquired. Furthermore, the initial exposure time of the camera is determined based on the current time.

[0064] For example, taking the current time as 12:10 as an example, the electronic device sets the camera's initial exposure time to the first exposure time when it determines the current time is 12:10. Taking the current time as 12:10 as another example, the electronic device sets the camera's initial exposure time to the third exposure time when it determines the current time is 23:10.

[0065] As another possible approach, the camera's exposure time can be configured based on the brightness value and the speed of the vehicle in which the camera is located.

[0066] In one design, the scene configuration module 103 is specifically used for:

[0067] If the brightness value is greater than or equal to the first brightness threshold, the camera's exposure time is configured as the first exposure time.

[0068] If the brightness value is less than a first brightness threshold but greater than a second brightness threshold, the camera's exposure time is configured to the second exposure time. The first exposure time is less than the second exposure time.

[0069] If the brightness value is less than or equal to the second brightness threshold, the camera's exposure time is configured as the third exposure time. The second exposure time is less than the third exposure time.

[0070] In some embodiments, the scene configuration module 103 is specifically configured to: determine whether the brightness value is greater than or equal to a first brightness threshold. If yes, then configure the camera's exposure time to the first exposure time. If no, then determine whether the brightness value is less than the first brightness threshold and greater than a second brightness threshold. If yes, then configure the camera's exposure time to the second exposure time. If no, then configure the camera's exposure time to the third exposure time.

[0071] In other embodiments, the scene configuration module 103 is specifically used to: determine the brightness range in which the brightness value lies. If the brightness value is greater than or equal to a first brightness threshold, then the brightness range in which the brightness value lies is determined to be the first brightness range. Further, the exposure time corresponding to the first brightness range is determined: the first exposure time, and the camera's exposure time is configured as the first exposure time.

[0072] If the brightness value is less than the first brightness threshold but greater than the second brightness threshold, then the brightness range containing the brightness value is determined as the second brightness range. Further, the exposure time corresponding to the second brightness range is determined: the second exposure time, and the camera's exposure time is configured as the second exposure time.

[0073] If the brightness value is less than or equal to the second brightness threshold, the brightness range containing the brightness value is determined as the third brightness range. Further, the exposure time corresponding to the third brightness range is determined: the third exposure time, and the camera's exposure time is configured as the third exposure time.

[0074] In one design, the scene configuration module 103 is specifically used to configure the camera's exposure time based on the brightness value and the speed of the vehicle where the camera is located.

[0075] In some embodiments, when the vehicle speed is greater than a first vehicle speed and less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold, the camera's exposure time is configured as a third exposure time. When the brightness value is less than or equal to the second brightness threshold, and the vehicle speed is greater than or equal to the second vehicle speed, the camera's exposure time is configured as a fourth exposure time. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time. When the brightness value is less than or equal to the third brightness threshold, and the vehicle speed is less than or equal to the first vehicle speed, the camera's exposure time is configured as a fifth exposure time. The third exposure time is less than the fifth exposure time.

[0076] In some embodiments, the scene configuration module 103 is used to configure the camera's exposure time to a sixth exposure time when the vehicle speed is greater than a second vehicle speed and the brightness value is greater than a first brightness threshold. The sixth exposure time is less than the first exposure time.

[0077] In some embodiments, the scene configuration module 103 is used to input the brightness value and vehicle speed into a second determination function to obtain the exposure time corresponding to the brightness value, and configure the exposure time corresponding to the brightness value as the exposure time of the camera.

[0078] In other embodiments, the scene configuration module 103 is used to determine the brightness level of the image based on the brightness value, and to determine the exposure time corresponding to the brightness level based on the brightness level, vehicle speed, and a second mapping relationship. The second mapping relationship is used to characterize the correspondence between multiple brightness levels, multiple vehicle speeds, and multiple exposure times. Further, the scene configuration module 103 is used to configure the exposure time corresponding to the brightness level as the camera's exposure time.

[0079] It should be noted that the second determination function is preset in the camera system 10 by the maintenance personnel.

[0080] In one design, the scene configuration module 103 is specifically used to: configure the camera's exposure time to a third exposure time when the vehicle speed is greater than a first vehicle speed and less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold.

[0081] The scene configuration module 103 is specifically used to: determine whether the vehicle speed is greater than the first vehicle speed and less than the second vehicle speed when the brightness value is determined to be less than or equal to the second brightness threshold. If so, the camera's exposure time is determined to be the third exposure time. Furthermore, the camera's exposure time is configured to be the third exposure time.

[0082] In one design, the scene configuration module 103 is specifically used to: configure the camera's exposure time as a fourth exposure time when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time. When the brightness value is less than or equal to a third brightness threshold and the vehicle speed is less than or equal to a first vehicle speed, configure the camera's exposure time as a fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0083] In one design, the camera system 10 is used in the vehicle's electronic mirror system.

[0084] It should be noted that the first brightness threshold, the second brightness threshold, the first exposure time, the second exposure time, the third exposure time, the fourth exposure time, the fifth exposure time, the first vehicle speed, and the second vehicle speed are preset in the electronic equipment by the maintenance personnel. This application embodiment does not specifically limit the values ​​of the first brightness threshold, the second brightness threshold, the first exposure time, the second exposure time, the third exposure time, the fourth exposure time, the fifth exposure time, the first vehicle speed, and the second vehicle speed.

[0085] Understandably, the camera system 10 is a subsystem of the electronic mirror system.

[0086] For ease of understanding, the following detailed description of a camera control method provided by the present invention is given in conjunction with the accompanying drawings.

[0087] Figure 2 A flowchart illustrating a camera control method according to an exemplary embodiment is shown, such as... Figure 2 As shown, a camera control method includes: S201-S203.

[0088] S201. Obtain the brightness information of the image captured by the camera.

[0089] S202. Determine the brightness value of the image based on the brightness information.

[0090] S203. Configure the camera's exposure time according to the brightness value.

[0091] Among them, the camera's exposure time is negatively correlated with the brightness value.

[0092] Understandably, the camera's exposure time is configured based on the brightness value. The camera's exposure time is negatively correlated with the brightness value. In high-brightness scenes, a shorter exposure time is configured for the camera to avoid large overexposed areas due to excessive exposure time, which would affect the visibility of bright areas. In low-brightness scenes, a longer exposure time is configured for the camera to avoid poor image visibility and severe noise due to underexposure. This avoids image distortion in both high-brightness and low-brightness scenes, resulting in a poor image displayed on the in-vehicle screen.

[0093] In one possible implementation, S203 above includes: S2031-S2033.

[0094] S2031. When the brightness value is greater than or equal to the first brightness threshold, the camera's exposure time is configured as the first exposure time.

[0095] S2032. When the brightness value is less than the first brightness threshold but greater than the second brightness threshold, configure the camera's exposure time to the second exposure time. The first exposure time is less than the second exposure time.

[0096] S2033. When the brightness value is less than or equal to the second brightness threshold, configure the camera's exposure time to the third exposure time. The second exposure time is less than the third exposure time.

[0097] Understandably, when the brightness value is greater than or equal to the first brightness threshold, the current scene is determined to be overbright, and a short first exposure time is configured for the camera to avoid large overexposed areas due to excessively long exposure times, which would affect the visibility of bright areas. When the brightness value is less than the first brightness threshold but greater than the second brightness threshold, the current scene is determined to be normally bright, and a second exposure time is configured for the camera. When the brightness value is less than or equal to the second brightness threshold, the current scene is determined to be low-brightness, and a longer third exposure time is configured for the camera to avoid poor image visibility and severe noise due to underexposure in low-brightness scenes.

[0098] In one possible implementation, S203 above includes: S2034.

[0099] S2034. Configure the camera's exposure time according to the brightness value and the speed of the vehicle in which the camera is located.

[0100] It's understandable that vehicle speed affects camera image quality. For example, excessive vehicle speed can cause image blurring. Therefore, vehicle speed is taken into account when setting the camera's exposure time to minimize its impact on image quality.

[0101] In one possible implementation, the camera's exposure time is configured based on the brightness value and the vehicle speed at which the camera is located, including: when the vehicle speed is greater than a first vehicle speed but less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold, the camera's exposure time is configured as a third exposure time.

[0102] In one possible implementation, the camera's exposure time is configured based on the brightness value and the vehicle speed, including: when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed, configuring the camera's exposure time as a fourth exposure time. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time.

[0103] When the brightness value is less than or equal to the third brightness threshold and the vehicle speed is less than or equal to the first vehicle speed, the camera's exposure time is configured as the fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0104] Understandably, when the vehicle speed is too high, shortening the camera's exposure time is necessary to avoid motion blur caused by the high speed, thus preventing the vehicle speed from affecting the image quality. When the vehicle speed is less than or equal to the initial speed, there will be no motion blur, and the camera's exposure time can be increased to avoid problems such as poor image visibility and severe noise due to underexposure in low-light scenes.

[0105] In one possible implementation, S202 includes: S2021-S2022.

[0106] S2021. Calculate the pixel distribution data of the image based on the brightness information.

[0107] S2022. Determine the brightness value of the image based on the pixel distribution data.

[0108] To better understand the camera control method provided in the embodiments of the present invention, such as Figure 3 As shown, a flowchart of a camera control method is illustrated, including: S11-S14.

[0109] S11. Obtain the image.

[0110] In some embodiments, the electronic device acquires images captured by a camera.

[0111] S12. Determine the brightness information of the image.

[0112] In some embodiments, the electronic device determines image brightness information.

[0113] S13. Determine the image brightness and vehicle speed.

[0114] In some embodiments, the electronic device determines the brightness of an image based on image brightness information. The electronic device also determines the vehicle speed.

[0115] S14. Determining the exposure time.

[0116] exist Figure 3 The diagram shows five exposure times: first exposure time T1, second exposure time T2, third exposure time T3, fourth exposure time T4, and fifth exposure time T5.

[0117] In some embodiments, the electronic device determines the camera's exposure time based on the image brightness and vehicle speed. This step is detailed in S203-S207 above.

[0118] To better understand the camera control method provided in the embodiments of the present invention, such as Figure 4 The diagram shows a flowchart of a camera control method, including steps S21-S32.

[0119] S21. Acquire image data.

[0120] S22. Determine the brightness information of the image.

[0121] S23. Determine the image brightness value.

[0122] S24. Determine whether the image brightness value is greater than or equal to the first brightness threshold.

[0123] If yes, proceed to step S25. If no, proceed to step S26.

[0124] S25. Determine the exposure time as the first exposure time.

[0125] S26. Determine whether the image brightness value is less than or equal to the second brightness threshold.

[0126] If not, proceed to S27. If yes, proceed to S28.

[0127] S27. Determine the exposure time as the second exposure time.

[0128] S28. Determine whether the vehicle speed is greater than or equal to the second vehicle speed.

[0129] If yes, proceed to S29. If no, proceed to S30.

[0130] S29. Determine the exposure time as the fourth exposure time.

[0131] S30. Determine whether the vehicle speed is less than or equal to the first vehicle speed, and the first vehicle speed is much less than the second vehicle speed.

[0132] If yes, then execute S31. If no, then execute S32.

[0133] S31. Determine the exposure time as the fifth exposure time.

[0134] S32. Determine the exposure time as the third exposure time.

[0135] The camera control method provided in this embodiment of the invention offers at least the following beneficial effects: The camera system determines the brightness value of the image based on the pixel distribution data of the image captured by the camera, and configures the camera's exposure time as a first exposure time when the brightness value is greater than or equal to a first brightness threshold. When the brightness value is less than the first brightness threshold but greater than a second brightness threshold, the camera's exposure time is configured as a second exposure time. When the brightness value is less than or equal to the second brightness threshold, the camera's exposure time is configured as a third exposure time. Thus, in overly bright scenes, a shorter exposure time is configured for the camera to avoid large overexposed areas due to excessively long exposure times, which would affect the visibility of bright areas; in low-brightness scenes, a longer exposure time is configured for the camera to avoid poor image visibility and severe noise due to insufficient exposure. This avoids the situation where the image captured by the electronic rearview mirror is distorted in either high-brightness or low-brightness scenes, resulting in a poor image displayed on the in-vehicle screen.

[0136] Furthermore, by analyzing captured images in real time and configuring the camera's exposure time accordingly, real-time monitoring and automatic image quality improvement are achieved. By increasing the exposure time in low-light scenes, environmental images can be captured even in light conditions below 0.1 lux, enabling users to obtain relevant information. The camera automatically switches frame rates online, maintaining good image quality.

[0137] The foregoing primarily describes the solutions provided by the embodiments of the present invention from a methodological perspective. To achieve the aforementioned functions, the control device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0138] Figure 5 This is a camera control device illustrated according to an exemplary embodiment. (Refer to...) Figure 6 The camera control device 30 includes: an acquisition unit 301, a determination unit 302, and a processing unit 303.

[0139] The acquisition unit 301 is used to acquire the brightness information of the image captured by the camera.

[0140] The determining unit 302 is used to determine the brightness value of the image based on the brightness information.

[0141] The processing unit 303 is used to configure the camera's exposure time based on the brightness value. The camera's exposure time is negatively correlated with the brightness value.

[0142] In one possible implementation, processing unit 303 is specifically configured to: configure the camera's exposure time as a first exposure time when the brightness value is greater than or equal to a first brightness threshold; configure the camera's exposure time as a second exposure time when the brightness value is less than the first brightness threshold but greater than a second brightness threshold; and configure the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold; and configure the camera's exposure time as a third exposure time when the brightness value is less than or equal to the second brightness threshold.

[0143] In one possible implementation, the processing unit 303 is specifically configured to: configure the camera's exposure time based on the brightness value and the speed of the vehicle in which the camera is located.

[0144] In one possible implementation, the processing unit 303 is specifically configured to: configure the camera's exposure time to a third exposure time when the vehicle speed is greater than a first vehicle speed and less than a second vehicle speed, and the brightness value is less than or equal to a second brightness threshold.

[0145] In one possible implementation, processing unit 303 is specifically configured to: configure the camera's exposure time as a fourth exposure time when the brightness value is less than or equal to a second brightness threshold and the vehicle speed is greater than or equal to a second vehicle speed. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time. When the brightness value is less than or equal to a third brightness threshold and the vehicle speed is less than or equal to a first vehicle speed, configure the camera's exposure time as a fifth exposure time. The fourth exposure time is less than the fifth exposure time.

[0146] In one possible implementation, the determining unit 302 is specifically used to: statistically analyze the pixel distribution data of the image based on the brightness information, and determine the brightness value of the image based on the pixel distribution data.

[0147] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Figure 6 As shown, the electronic device includes, but is not limited to, a processor 401 and a memory 402.

[0148] The memory 402 described above is used to store the executable instructions of the processor 401. It is understood that the processor 401 is configured to execute instructions to implement the model training method and SOC estimation method in the above embodiments.

[0149] It should be noted that those skilled in the art will understand that Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 6 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.

[0150] Processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 402, and by calling data stored in memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Processor 401 may include one or more processing units. Optionally, processor 401 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 401.

[0151] The memory 402 can be used to store software programs and various data. The memory 402 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0152] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 402 including instructions, which can be executed by a processor 401 of an electronic device to implement the methods in the above embodiments.

[0153] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.

[0154] In an exemplary embodiment, the present invention also provides a computer program product including one or more instructions, which can be executed by a processor 501 of a processing device to perform the methods described above.

[0155] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of the processing device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.

[0156] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0157] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0158] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0159] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0160] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present invention, essentially, or the part that contributes to the prior art, or the entirety or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute the entirety or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0161] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A camera system, characterized in that, The camera system includes: The acquisition module is used to acquire the brightness information of the image captured by the camera; A determining module is used to determine the brightness value of the image based on the brightness information; The scene configuration module is used to configure the exposure time of the camera according to the brightness value; the exposure time of the camera is negatively correlated with the brightness value.

2. The camera system according to claim 1, characterized in that, The scenario configuration module is specifically used for: When the brightness value is greater than or equal to the first brightness threshold, the exposure time of the camera is configured as the first exposure time; When the brightness value is less than the first brightness threshold and greater than the second brightness threshold, the exposure time of the camera is configured as the second exposure time. The first exposure time is shorter than the second exposure time; If the brightness value is less than or equal to the second brightness threshold, the exposure time of the camera is configured as the third exposure time; The second exposure time is shorter than the third exposure time.

3. The camera system according to claim 1, characterized in that, The scenario configuration module is specifically used for: The exposure time of the camera is configured according to the brightness value and the speed of the vehicle in which the camera is located.

4. The camera system according to claim 3, characterized in that, The scenario configuration module is specifically used for: When the vehicle speed is greater than the first vehicle speed but less than the second vehicle speed, and the brightness value is less than or equal to the second brightness threshold, the camera's exposure time is configured as the third exposure time.

5. The camera system according to claim 4, characterized in that, The scenario configuration module is specifically used for: When the brightness value is less than or equal to the second brightness threshold and the vehicle speed is greater than or equal to the second vehicle speed, the camera's exposure time is configured as the fourth exposure time. The fourth exposure time is greater than or equal to the second exposure time and less than the third exposure time; When the brightness value is less than or equal to the third brightness threshold and the vehicle speed is less than or equal to the first vehicle speed, the camera's exposure time is configured as the fifth exposure time; the fourth exposure time is less than the fifth exposure time.

6. The camera system according to any one of claims 1-5, characterized in that, The determining module is specifically used for: The pixel distribution data of the image is statistically analyzed based on the brightness information, and the brightness value of the image is determined based on the pixel distribution data.

7. The camera system according to any one of claims 1-5, characterized in that, The camera system is used in the vehicle's electronic mirror system.

8. A method for controlling a camera, characterized in that, The method includes: Obtain the brightness information of the image captured by the camera, and determine the brightness value of the image based on the brightness information; The camera's exposure time is configured according to the brightness value; the camera's exposure time is negatively correlated with the brightness value.

9. The method according to claim 8, characterized in that, The step of configuring the camera's exposure time based on the brightness value includes: When the brightness value is greater than or equal to the first brightness threshold, the exposure time of the camera is configured as the first exposure time; When the brightness value is less than the first brightness threshold and greater than the second brightness threshold, the camera's exposure time is configured as the second exposure time; the first exposure time is less than the second exposure time. If the brightness value is less than or equal to the second brightness threshold, the camera's exposure time is configured as a third exposure time; the second exposure time is less than the third exposure time.

10. An electronic device, characterized in that, The device includes a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code including computer instructions; wherein, when the processor executes the computer instructions, the electronic device performs the method as described in claim 8 or 9.