Method and system for combining stepped exposure and optical coating
By combining step exposure and optical coating technology in the camera, dynamically adjusting the exposure parameters and filter transmittance, the overexposure and information intermittent caused by brightness differences and frequency mismatch during shooting of electronic displays is solved, and the problem of overexposure and information intermittent is achieved. Clear image capture under various lighting conditions.
Patent Information
- Application Number
- CN202411595605.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-07
AI Technical Summary
The brightness of the electronic display is quite different from the surrounding environment, which causes the camera to overexpose the screen due to adjustment of the exposure strategy during shooting, unable to clearly display the target information, and the frequency mismatch leads to the intermittent information and the display content cannot be recognized.
Using a combination of step exposure and optical coating, the camera collects the image information of the instrument and dashboard through the camera, converts the light signals of different brightness into grayscale differences, calculates the refresh frequency, and automatically adjusts the synchronization between the shutter opening and closing time and the refresh frequency. At the same time, it is determined whether it is necessary to adjust the light transmittance and exposure time of the filter, and dynamically adjust it according to the environmental information.
Ensure that the camera can accurately capture the content displayed on the dashboard, avoid information loss caused by image overexposure and frequency mismatch, ensure that the content displayed is clearly visible under various lighting conditions, and improve shooting quality and ability to adapt to complex environments.
Smart Images

Figure CN119402756A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a method and system combining step exposure and optical coating. Background Art
[0002] Step exposure is a photographic technique that takes a series of images with different brightness levels by shooting the same scene multiple times, each time using different exposure settings. These images can then be combined to extend the dynamic range of the image, capture more details and improve the overall quality of the image. This technique is particularly suitable for high-contrast scenes, and can effectively avoid overexposure or underexposure problems under a single exposure, ensuring that rich details are preserved in both bright and dark areas. Optical coating is a technology that applies a thin layer of film on the surface of optical components to improve the transmission characteristics of light and reduce light reflection. These films are usually composed of multiple layers of materials with different refractive indices, and adjust and optimize the transmittance and reflectivity of light through the principle of interference. Optical coating is widely used in optical devices such as lenses, glasses, and displays to improve optical performance, reduce glare, increase image clarity, and protect the surface from scratches and contamination. Scene machine technology is a technology that simulates and displays complex visual scenes in display devices through optical and electronic means. It is widely used in automotive dashboards, industrial control panels, home appliance display panels, and virtual reality and augmented reality devices. It creates a three-dimensional, multi-layered visual effect through technical means such as backlight, multi-layer display, and optical coating, thereby improving user experience and the accuracy of information communication, and meeting the needs of modern display devices for high-quality, complex display effects.
[0003] With the rapid development of electronic technology products, electronic display devices are widely used in industrial automation, energy, transportation and other fields. Electronic displays on industrial machinery and equipment reflect the operating status and parameters. Since electronic displays are refreshed, they cannot be unified with the exposure time of the camera. When viewing the electronic screen with an ordinary camera, there is a big difference between the brightness of the electronic screen and the brightness of the surrounding objects. In addition, the electronic screen is very small, and the camera's exposure strategy adjusts the gain and exposure time according to the brightness of the surrounding objects, resulting in overexposure of the electronic screen and unclear target information. When the electronic screen scans and displays, the frequency cannot be synchronized with the camera shutter frequency, resulting in intermittent information displayed on the screen and inability to recognize the displayed content.
[0004] Therefore, it is necessary to provide a method and system combining step exposure and optical coating to solve the problem that the information displayed on the screen is intermittent and the displayed content cannot be recognized. Summary of the invention
[0005] In view of this, the present invention proposes a method and system combining step exposure and optical coating, aiming to solve the problem that the information displayed on the screen is intermittent and the displayed content cannot be recognized.
[0006] On the one hand, the present invention provides a method combining step exposure and optical coating, comprising:
[0007] The camera collects instrument panel image information, converts light signals of different brightness in the image information into grayscale differences, and calculates the refresh frequency of the instrument panel according to the grayscale differences. The camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel;
[0008] The camera collects image information of the instrument panel again to determine whether the filter in the camera needs to be adjusted. When it is determined that the filter needs to be adjusted, the light intensity of the environment around the instrument panel is collected, and the light transmittance of the filter in the camera is adjusted according to the light intensity;
[0009] The camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted;
[0010] When it is determined that the exposure time of the camera needs to be adjusted, the environmental information of the camera is obtained, and the exposure time of the camera is adjusted according to the environmental information; wherein the environmental information includes light color temperature, background brightness and light reflection.
[0011] Furthermore, the method of collecting instrument panel image information through a camera, converting light signals of different brightness in the image information into grayscale differences, and calculating the refresh frequency of the instrument panel according to the grayscale differences includes:
[0012] The camera continuously captures color images of the instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images;
[0013] Calculate the grayscale change of each pixel in the image between multiple consecutive grayscale images, and calculate the root mean square of the grayscale change value of the pixel using the following formula:
[0014]
[0015] In the above formula, RMS represents the root mean square of the grayscale change value of the pixel, Gi represents the grayscale value of the i-th frame, represents the average gray value of the pixel, i represents the frame number, and n represents the total number of frames;
[0016] The change of the root mean square value of each pixel over time is analyzed to obtain the frequency of grayscale change. Among all the calculated grayscale change frequencies, the grayscale change frequency with the largest root mean square value is selected as the refresh frequency of the instrument panel.
[0017] Furthermore, the camera continuously captures color images of the instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images, including:
[0018] Performing convolution processing on the grayscale image to smooth the image and reduce high-frequency noise in the grayscale image, using the median of the pixel values in the window to replace the central pixel value to remove the salt and pepper noise in the grayscale image, and smoothing the image by averaging the pixel values in the neighborhood to reduce random noise;
[0019] The edges in the grayscale image are enhanced by edge detection algorithm.
[0020] Furthermore, when the camera collects the image information of the instrument panel again and determines whether the filter in the camera needs to be adjusted, the method includes:
[0021] When overexposure occurs in the image, it is determined that the transmittance of the filter needs to be adjusted;
[0022] When there is no overexposure phenomenon in the image, it is determined that there is no need to adjust the transmittance of the filter.
[0023] Furthermore, when it is determined that the filter needs to be adjusted, the light intensity of the surrounding environment of the instrument panel is collected, and the light transmittance of the filter in the camera is adjusted according to the light intensity, including:
[0024] The standard ambient light intensity is preset, the light intensity of the current surrounding environment of the instrument panel is collected, and the current light transmittance of the filter in the camera is adjusted according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel.
[0025] Furthermore, the adjusting the current light transmittance of the filter in the camera according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel includes:
[0026] The transmittance calculation formula of the filter after adjustment is:
[0027] T1 = T × (I 1 / I 2);
[0028] In the above formula, T1 represents the transmittance of the filter after adjustment, T represents the current light transmittance of the filter, I1 represents the standard ambient light intensity, and I2 represents the light intensity of the current surrounding environment of the instrument panel.
[0029] Furthermore, when the camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted, the method includes:
[0030] Presetting a standard image brightness range, and if the current image brightness is within the standard image brightness range, determining that there is no need to adjust the current exposure time of the camera;
[0031] If the current image brightness is not within the standard image brightness range, it is determined that the current exposure time of the camera needs to be adjusted.
[0032] Further, if the current image brightness is not within the standard image brightness range, it is determined that the current exposure time of the camera needs to be adjusted, including:
[0033] The standard light color temperature and the standard background brightness value are preset. If the current image brightness is less than the standard image brightness range, the exposure time of the camera is adjusted according to the following formula:
[0034] S1=S×(Lmin / L)×(T2 / T3)×(I 3 / I4)×(1 / R);
[0035] In the above formula, S1 represents the adjusted exposure time, S represents the current exposure time, Lmin represents the lower limit of the standard image brightness range, L represents the current image brightness, T2 represents the light color temperature, T3 represents the standard light color temperature, I3 represents the standard background brightness value, I4 represents the background brightness, and R represents the light reflection intensity.
[0036] Further, if the current image brightness is not within the standard image brightness range, when it is determined that the current exposure time of the camera needs to be adjusted, it also includes:
[0037] If the current image brightness is greater than the standard image brightness range, the exposure time of the camera is adjusted according to the following formula:
[0038] S2=S×(Lmax / L)×(T3 / T2)×(I4 / I 3)×R;
[0039] In the above formula, S2 represents the adjusted exposure time, S represents the current exposure time, Lmax represents the upper limit of the standard image brightness range, L represents the current image brightness, T3 represents the standard light color temperature, T2 represents the light color temperature, I4 represents the background brightness, I3 represents the standard background brightness value, and R represents the light reflection intensity.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention first collects the image information of the instrument panel through a camera, converts the light signals of different brightness into grayscale differences, and calculates the refresh frequency of the instrument panel based on these grayscale differences. The camera can automatically adjust the opening and closing time of the shutter according to the refresh frequency to keep it synchronized with the refresh frequency of the instrument panel, ensuring that the camera can accurately capture the content displayed on the instrument panel, and will not cause image distortion or content loss due to frequency mismatch. After the refresh frequency is synchronized, the camera collects the image information of the instrument panel again, determines whether it is necessary to adjust the filter in the camera, and automatically adjusts the light transmittance of the filter. By controlling the light transmittance, the amount of light entering the camera is balanced to prevent overexposure of the image, ensure that the image brightness is moderate, and make the display content of the instrument panel clearly visible under various lighting conditions. The camera will continue to collect image information of the dashboard in real time and determine whether the exposure time needs to be further adjusted. Specifically, the color temperature of the light will affect the accurate presentation of the color, the background brightness will affect the overall exposure of the image, and the light reflection may cause local overexposure or underexposure. By analyzing these environmental information, the exposure time of the camera is adjusted to adapt to the current lighting conditions, ensuring that the captured image can not only clearly display the content of the dashboard, but also reflect the true situation of the surrounding environment. This application effectively solves the common problems of overexposure, image blur, and frequency asynchrony in dashboard shooting through a multi-dimensional parameter adjustment mechanism. It not only improves the shooting quality, but also enhances the adaptability of the camera in complex environments, ensuring that accurate and clear image data can be obtained under various lighting conditions. It has important application value in industrial automation, traffic monitoring and other fields.
[0042] On the other hand, the present application also provides a system combining step exposure and optical coating, comprising:
[0043] A frequency control module is configured to collect instrument panel image information through a camera, convert light signals of different brightness in the image information into grayscale differences, and calculate the refresh frequency of the instrument panel according to the grayscale differences, and the camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel;
[0044] A judgment module is configured to collect image information of the instrument panel again with a camera, judge whether it is necessary to adjust the filter in the camera, and when it is determined that the filter needs to be adjusted, collect the light intensity of the surrounding environment of the instrument panel, and adjust the light transmittance of the filter in the camera according to the light intensity;
[0045] The judgment module is further configured to determine whether it is necessary to adjust the exposure time of the camera while the camera continues to collect image information of the instrument panel;
[0046] The adjustment module is configured to obtain environmental information of the camera when it is determined that the exposure time of the camera needs to be adjusted, and adjust the exposure time of the camera according to the environmental information; wherein the environmental information includes light color temperature, background brightness and light reflection.
[0047] It is understandable that the method and system combining step exposure and optical coating provided in the present application have the same beneficial effects, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0049] Figure 1 A flow chart of a method for combining step exposure and optical coating provided by an embodiment of the present invention;
[0050] Figure 2 A functional block diagram of a system combining step exposure and optical coating provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0052] In some embodiments of the present application, see Figure 1 As shown, this embodiment provides a method combining step exposure and optical coating, including the following steps:
[0053] S100, collecting instrument panel image information through a camera, converting light signals of different brightness in the image information into grayscale differences, and calculating the refresh frequency of the instrument panel according to the grayscale differences, and the camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel;
[0054] S200, the camera collects the image information of the instrument panel again, determines whether the filter in the camera needs to be adjusted, and when it is determined that the filter needs to be adjusted, collects the light intensity of the environment around the instrument panel, and adjusts the light transmittance of the filter in the camera according to the light intensity;
[0055] S300, the camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted;
[0056] S400: When it is determined that the exposure time of the camera needs to be adjusted, obtain the environmental information of the camera, and adjust the exposure time of the camera according to the environmental information; wherein the environmental information includes light color temperature, background brightness, and light reflection.
[0057] It is understandable that the present invention first collects the image information of the instrument panel through the camera, converts the light signals of different brightness into grayscale differences, and calculates the refresh frequency of the instrument panel based on these grayscale differences. The camera can automatically adjust the opening and closing time of the shutter according to the refresh frequency to keep it synchronized with the refresh frequency of the instrument panel, ensuring that the camera can accurately capture the content displayed on the instrument panel and will not cause image distortion or content loss due to frequency mismatch. After the refresh frequency is synchronized, the camera collects the image information of the instrument panel again, determines whether it is necessary to adjust the filter in the camera, and automatically adjusts the light transmittance of the filter. By controlling the light transmittance, the amount of light entering the camera is balanced to prevent overexposure of the image, ensure that the image brightness is moderate, and make the display content of the instrument panel clearly visible under various lighting conditions. The camera will continue to collect image information of the dashboard in real time and determine whether the exposure time needs to be further adjusted. Specifically, the color temperature of the light will affect the accurate presentation of the color, the background brightness will affect the overall exposure of the image, and the light reflection may cause local overexposure or underexposure. By analyzing these environmental information, the exposure time of the camera is adjusted to adapt to the current lighting conditions, ensuring that the captured image can not only clearly display the content of the dashboard, but also reflect the true situation of the surrounding environment. This application effectively solves the common problems of overexposure, image blur, and frequency asynchrony in dashboard shooting through a multi-dimensional parameter adjustment mechanism. It not only improves the shooting quality, but also enhances the adaptability of the camera in complex environments, ensuring that accurate and clear image data can be obtained under various lighting conditions. It has important application value in industrial automation, traffic monitoring and other fields.
[0058] Specifically, in the present application, the combination of step exposure and optical coating is achieved by dynamically adjusting the exposure parameters of the camera and the transmittance of the filter. First, the camera collects the image of the instrument panel, converts the brightness signal into grayscale difference, and calculates the refresh frequency of the instrument panel, thereby automatically adjusting the shutter opening and closing time to synchronize with the refresh frequency to complete the step exposure. Secondly, the filter in the camera adjusts its transmittance according to the overexposure of the image and the intensity of the ambient light, which is equivalent to achieving the effect of optical coating. This combination enables the camera to adaptively optimize the image quality under different lighting conditions, ensuring that clear and accurate images can be obtained in various environments. In addition, it can be understood that a thin film is provided on the lens and filter of the camera of the present application to reduce light reflection, that is, optical coating, which is a prior art.
[0059] In some embodiments of the present application, when collecting instrument panel image information through a camera, converting light signals of different brightness in the image information into grayscale differences, and calculating the refresh frequency of the instrument panel according to the grayscale differences, the method includes:
[0060] The camera continuously captures color images of the instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images;
[0061] Calculate the grayscale change of each pixel in the image between multiple consecutive grayscale images, and calculate the root mean square of the grayscale change value of the pixel using the following formula:
[0062]
[0063] In the above formula, RMS represents the root mean square of the grayscale change value of the pixel, Gi represents the grayscale value of the i-th frame, represents the average gray value of the pixel, i represents the frame number, and n represents the total number of frames;
[0064] The change of the root mean square value of each pixel over time is analyzed to obtain the frequency of grayscale change. Among all the calculated grayscale change frequencies, the grayscale change frequency with the largest root mean square value is selected as the refresh frequency of the instrument panel.
[0065] It is understandable that converting color images into grayscale images and performing preprocessing can reduce noise and unnecessary detail interference and ensure the accuracy of the calculation results. By continuously shooting and calculating the grayscale changes of each pixel between multiple frames of grayscale images, the frequency of grayscale changes can be calculated using the root mean square (RMS), and the refresh frequency of the instrument can be accurately identified. On this basis, selecting the maximum grayscale change frequency as the final refresh frequency can synchronize the camera's exposure time with the instrument refresh frequency, avoiding image blur or distortion caused by mismatch between different frequencies, and ensuring that the camera can automatically adjust the exposure time under different lighting environments, so that the captured image is not only clear and visible, but also accurately reflects the important information on the instrument panel, enhancing the camera's adaptability under various lighting conditions, improving image quality, and ensuring accurate capture of information, which is of great significance for automated monitoring and data recording in instrument panel scenes.
[0066] In some embodiments of the present application, a camera continuously captures color images of an instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images, including:
[0067] Convolution is performed on grayscale images to smooth the images and reduce high-frequency noise in grayscale images. The median of the pixel values in the window is used to replace the central pixel value to remove salt and pepper noise in the grayscale image. The image is smoothed and random noise is reduced by averaging the pixel values in the neighborhood.
[0068] The edges in the grayscale image are enhanced by edge detection algorithm.
[0069] It can be understood that the image is smoothed by convolution processing to reduce the interference of high-frequency noise, and the salt and pepper noise is removed by median filtering, and the image is smoothed by averaging the pixel values in the neighborhood to reduce the influence of random noise. After the above preprocessing steps, the quality of the grayscale image can be significantly improved, making the subsequent image analysis more accurate and reliable. In addition, by enhancing the edges in the grayscale image through the edge detection algorithm, the key information in the image can be further highlighted, thereby improving the display clarity and detail expression of the instrument panel. The combination of these processing steps not only optimizes the image quality, but also enhances the ability to extract and analyze the instrument panel information, thereby helping to improve the accurate recognition of image signals in complex environments.
[0070] In some embodiments of the present application, when the camera collects the image information of the instrument panel again and determines whether the filter in the camera needs to be adjusted, the process includes:
[0071] When overexposure occurs in the image, it is determined that the transmittance of the filter needs to be adjusted;
[0072] When there is no overexposure phenomenon in the image, it is determined that there is no need to adjust the transmittance of the filter.
[0073] In some embodiments of the present application, when it is determined that the filter needs to be adjusted, the light intensity of the surrounding environment of the instrument panel is collected, and the light transmittance of the filter in the camera is adjusted according to the light intensity, including:
[0074] The standard ambient light intensity is preset, the light intensity of the current surrounding environment of the instrument panel is collected, and the current light transmittance of the filter in the camera is adjusted according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel.
[0075] In some embodiments of the present application, when adjusting the current light transmittance of the filter in the camera according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel, it includes:
[0076] The transmittance calculation formula of the adjusted filter is:
[0077] T1 = T × (I 1 / I 2);
[0078] In the above formula, T1 represents the transmittance of the filter after adjustment, T represents the current light transmittance of the filter, I1 represents the standard ambient light intensity, and I2 represents the light intensity of the current surrounding environment of the instrument panel.
[0079] It is understandable that the camera collects the image information of the instrument panel again to determine whether the filter in the camera needs to be adjusted. In particular, when the image is overexposed, the filter transmittance is automatically adjusted based on the comparison between the set standard ambient light intensity and the current ambient light intensity, ensuring the appropriate control of the image brightness, so that the camera can continue to provide clear and accurate image information under different lighting conditions. By using a formula to adjust the transmittance of the filter, the amount of light entering can be dynamically optimized according to real-time environmental changes, thereby effectively avoiding overexposure and improving the clarity and detail of the image. It not only improves the adaptability to complex lighting environments, but also enhances the readability of the instrument panel image, helping to maintain a consistent display effect under various lighting conditions.
[0080] Specifically, assuming that the current light transmittance of the filter is T = 50%, the current ambient light intensity of the instrument panel is I2 = 600 l ux, and the standard ambient light intensity is I1 = 300 l ux, the light transmittance of the filter after adjustment is calculated as follows:
[0081] T1=T×(I 1 / I2)=50%×(300l ux / 600l ux)=25%;
[0082] Through this calculation, the transmittance of the filter is reduced from 50% to 25%, reducing excessive light entering the camera lens and avoiding overexposure of the image.
[0083] In some embodiments of the present application, when the camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted, the process includes:
[0084] A standard image brightness range is preset, and if the current image brightness is within the standard image brightness range, it is determined that there is no need to adjust the current exposure time of the camera;
[0085] If the current image brightness is not within the standard image brightness range, it is determined that the current exposure time of the camera needs to be adjusted.
[0086] In some embodiments of the present application, if the current image brightness is not within the standard image brightness range, determining that the current exposure time of the camera needs to be adjusted includes:
[0087] The standard light color temperature and standard background brightness value are preset. If the current image brightness is less than the standard image brightness range, the camera exposure time is adjusted according to the following formula:
[0088] S1=S×(Lmin / L)×(T2 / T3)×(I 3 / I4)×(1 / R);
[0089] In the above formula, S1 represents the adjusted exposure time, S represents the current exposure time, Lmin represents the lower limit of the standard image brightness range, L represents the current image brightness, T2 represents the light color temperature, T3 represents the standard light color temperature, I3 represents the standard background brightness value, I4 represents the background brightness, and R represents the light reflection intensity.
[0090] Specifically, assuming that the current exposure time S = 1 / 60 second, the lower limit value of the standard image brightness range Lmin = 100 nits, the current image brightness L = 80 nits, the current light color temperature T2 = 4500 Kelvin, the standard light color temperature T3 = 5000 Kelvin, the standard background brightness value = 200 nits, the current background brightness I4 = 150 nits, and the light reflection intensity R = 0.8, the adjusted camera exposure time S1 is:
[0091] S1=S×(Lmin / L)×(T2 / T3)×(I 3 / I4)×(1 / R)=1 / 60×1.25×0.9×1.33×1.25≈0.03125;
[0092] Therefore, the adjusted exposure time S1 is approximately 0.03125 seconds, or 1 / 32 seconds.
[0093] In some embodiments of the present application, if the current image brightness is not within the standard image brightness range, when it is determined that the current exposure time of the camera needs to be adjusted, it also includes:
[0094] If the current image brightness is greater than the standard image brightness range, adjust the camera exposure time according to the following formula:
[0095] S2=S×(Lmax / L)×(T3 / T2)×(I4 / I 3)×R;
[0096] In the above formula, S2 represents the adjusted exposure time, S represents the current exposure time, Lmax represents the upper limit of the standard image brightness range, L represents the current image brightness, T3 represents the standard light color temperature, T2 represents the light color temperature, I4 represents the background brightness, I3 represents the standard background brightness value, and R represents the light reflection intensity.
[0097] Specifically, assuming that the current exposure time S = 1 / 60 second, the upper limit value of the standard image brightness range Lmax = 200 nits, the current image brightness L = 250 nits, the current light color temperature T2 = 5500 Kelvin, the standard light color temperature T3 = 5000 Kelvin, the standard background brightness value I3 = 150 nits, the current background brightness I4 = 100 nits, and the light reflection intensity R = 0.7, the adjusted camera exposure time S2 is:
[0098] S2=S×(Lmax / L)×(T3 / T2)×(I4 / I 3)×R=1 / 60×0.8×0.909×0.667×0.7≈0.005675 seconds;
[0099] Therefore, the adjusted exposure time S2 is approximately 0.005675 seconds, approximately 1 / 176 seconds.
[0100] It is understandable that the image brightness is always within the standard range by dynamically adjusting the camera exposure time. By presetting the standard image brightness range, light color temperature, background brightness value, and light reflection intensity, when the image brightness deviates from the standard range, accurate calculations and adjustments are performed based on these parameters. For example, when the image brightness is lower than the standard range, the exposure time is extended according to the formula to increase the brightness. Conversely, when the image brightness is too high, the exposure time is shortened according to the formula to reduce the brightness, automatically adapt to different ambient light conditions and reflection intensity, optimize the exposure time, and enable the camera to capture clear and qualified images in complex lighting environments, effectively avoiding over-darkness or overexposure, and improving image quality and display stability.
[0101] On the other hand, see Figure 2As shown, the present application also provides a system combining step exposure and optical coating, which is used to apply the method combining step exposure and optical coating, including:
[0102] The frequency control module is configured to collect instrument panel image information through a camera, convert light signals of different brightness in the image information into grayscale differences, and calculate the refresh frequency of the instrument panel according to the grayscale differences. The camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel;
[0103] The judgment module is configured to collect the image information of the instrument panel again with the camera, judge whether the filter in the camera needs to be adjusted, and when it is judged that the filter needs to be adjusted, collect the light intensity of the surrounding environment of the instrument panel, and adjust the light transmittance of the filter in the camera according to the light intensity;
[0104] The judgment module is further configured to allow the camera to continue to collect image information of the instrument panel and to judge whether it is necessary to adjust the exposure time of the camera;
[0105] The adjustment module is configured to obtain environmental information of the camera when it is determined that the exposure time of the camera needs to be adjusted, and adjust the exposure time of the camera according to the environmental information; wherein the environmental information includes light color temperature, background brightness and light reflection.
[0106] It is understandable that the present application includes a frequency control module, a judgment module and an adjustment module. The frequency control module collects image information and converts it into grayscale differences, accurately calculates the refresh frequency of the instrument panel, and automatically adjusts the shutter opening and closing time of the camera to keep in sync with the instrument refresh frequency, thereby ensuring the clarity and consistency of the image. The judgment module is responsible for detecting whether it is necessary to adjust the light transmittance of the filter after the camera collects the image, to prevent the impact of overexposure or insufficient light on the image quality, and to optimize the image brightness by adjusting the light transmittance; in addition, the judgment module also monitors whether it is necessary to adjust the exposure time of the camera to adapt to different environmental conditions. The adjustment module dynamically adjusts the exposure time according to environmental information (including light color temperature, background brightness, and light reflection) to ensure that the image brightness meets the standard range, comprehensively considering the refresh frequency, ambient light intensity, and exposure parameters, and providing a comprehensive and flexible solution that can maintain image quality and clarity under complex lighting conditions, greatly improving the readability and accuracy of the instrument panel image.
[0107] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0108] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method combining step exposure and optical coating, characterized in that: include: The camera collects instrument panel image information, converts light signals of different brightness in the image information into grayscale differences, and calculates the refresh frequency of the instrument panel according to the grayscale differences. The camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel; The camera collects image information of the instrument panel again to determine whether the filter in the camera needs to be adjusted. When it is determined that the filter needs to be adjusted, the light intensity of the environment around the instrument panel is collected, and the light transmittance of the filter in the camera is adjusted according to the light intensity; The camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted; When it is determined that the exposure time of the camera needs to be adjusted, the environmental information of the camera is obtained, and the exposure time of the camera is adjusted according to the environmental information; wherein the environmental information includes light color temperature, background brightness and light reflection.
2. The method according to claim 1, characterized in that The method of collecting instrument panel image information by a camera, converting light signals of different brightness in the image information into grayscale differences, and calculating the refresh frequency of the instrument panel according to the grayscale differences includes: The camera continuously captures color images of the instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images; Calculate the grayscale change of each pixel in the image between multiple consecutive grayscale images, and calculate the root mean square of the grayscale change value of the pixel using the following formula: In the above formula, RMS represents the root mean square of the grayscale change value of the pixel, Gi represents the grayscale value of the i-th frame, represents the average gray value of the pixel, i represents the frame number, and n represents the total number of frames; The change of the root mean square value of each pixel over time is analyzed to obtain the frequency of grayscale change. Among all the calculated grayscale change frequencies, the grayscale change frequency with the largest root mean square value is selected as the refresh frequency of the instrument panel.
3. The method according to claim 2, characterized in that The camera continuously captures color images of the instrument panel, converts the captured color images into grayscale images, and preprocesses the grayscale images, including: Performing convolution processing on the grayscale image to smooth the image and reduce high-frequency noise in the grayscale image, using the median of the pixel values in the window to replace the central pixel value to remove the salt and pepper noise in the grayscale image, and smoothing the image by averaging the pixel values in the neighborhood to reduce random noise; The edges in the grayscale image are enhanced by edge detection algorithm.
4. The method according to claim 3, characterized in that When the camera collects the image information of the instrument panel again and determines whether the filter in the camera needs to be adjusted, it includes: When overexposure occurs in the image, it is determined that the transmittance of the filter needs to be adjusted; When there is no overexposure phenomenon in the image, it is determined that there is no need to adjust the transmittance of the filter.
5. The method according to claim 4, characterized in that When it is determined that the filter needs to be adjusted, the light intensity of the surrounding environment of the instrument panel is collected, and the light transmittance of the filter in the camera is adjusted according to the light intensity, including: The standard ambient light intensity is preset, the light intensity of the current surrounding environment of the instrument panel is collected, and the current light transmittance of the filter in the camera is adjusted according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel.
6. The method according to claim 5, characterized in that The adjusting the current light transmittance of the filter in the camera according to the relationship between the standard ambient light intensity and the light intensity of the surrounding environment of the instrument panel includes: The transmittance calculation formula of the filter after adjustment is: T1 = T × (I 1 / I 2); In the above formula, T1 represents the transmittance of the filter after adjustment, T represents the current light transmittance of the filter, I1 represents the standard ambient light intensity, and I2 represents the light intensity of the current surrounding environment of the instrument panel.
7. The method according to claim 6, characterized in that When the camera continues to collect image information of the instrument panel and determines whether the exposure time of the camera needs to be adjusted, the method includes: Presetting a standard image brightness range, and if the current image brightness is within the standard image brightness range, determining that there is no need to adjust the current exposure time of the camera; If the current image brightness is not within the standard image brightness range, it is determined that the current exposure time of the camera needs to be adjusted.
8. The method according to claim 7, characterized in that If the current image brightness is not within the standard image brightness range, determining that the current exposure time of the camera needs to be adjusted includes: The standard light color temperature and the standard background brightness value are preset. If the current image brightness is less than the standard image brightness range, the exposure time of the camera is adjusted according to the following formula: S1=S×(Lmin / L)×(T2 / T3)×(I 3 / I4)×(1 / R); In the above formula, S1 represents the adjusted exposure time, S represents the current exposure time, Lmin represents the lower limit of the standard image brightness range, L represents the current image brightness, T2 represents the light color temperature, T3 represents the standard light color temperature, I3 represents the standard background brightness value, I4 represents the background brightness, and R represents the light reflection intensity.
9. The method according to claim 8, characterized in that If the current image brightness is not within the standard image brightness range, when it is determined that the current exposure time of the camera needs to be adjusted, the method further includes: If the current image brightness is greater than the standard image brightness range, the exposure time of the camera is adjusted according to the following formula: S2=S×(Lmax / L)×(T3 / T2)×(I4 / I 3)×R; In the above formula, S2 represents the adjusted exposure time, S represents the current exposure time, Lmax represents the upper limit of the standard image brightness range, L represents the current image brightness, T3 represents the standard light color temperature, T2 represents the light color temperature, I4 represents the background brightness, I3 represents the standard background brightness value, and R represents the light reflection intensity.
10. A system combining step exposure and optical coating, used for applying the method according to any one of claims 1 to 9, characterized in that: include: A frequency control module is configured to collect instrument panel image information through a camera, convert light signals of different brightness in the image information into grayscale differences, and calculate the refresh frequency of the instrument panel according to the grayscale differences, and the camera automatically adjusts the shutter opening and closing time according to the refresh frequency, so that the shutter opening and closing time of the camera is synchronized with the refresh frequency of the instrument panel; A judgment module is configured to collect image information of the instrument panel again with a camera, judge whether it is necessary to adjust the filter in the camera, and when it is determined that the filter needs to be adjusted, collect the light intensity of the surrounding environment of the instrument panel, and adjust the light transmittance of the filter in the camera according to the light intensity; The judgment module is further configured to determine whether it is necessary to adjust the exposure time of the camera while the camera continues to collect image information of the instrument panel; The adjustment module is configured to obtain environmental information of the camera when it is determined that the exposure time of the camera needs to be adjusted, and adjust the exposure time of the camera according to the environmental information; wherein the environmental information includes light color temperature, background brightness and light reflection.