A light supplement intensity adjustment method and device, a storage medium, and a monitoring device
By determining the sharpness evaluation value in the monitoring equipment and adjusting the supplementary light intensity, the problem of image sharpness in monitoring equipment under supplementary light and reflection scenarios was solved, and the image quality was improved.
Patent Information
- Application Number
- CN202111412596.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2041-11-25
AI Technical Summary
The monitoring equipment may cause excessive brightness due to glare from supplementary lighting at night or in special environments, which affects the monitoring effect. Existing sunshade solutions cannot completely solve the problem of glare from supplementary lighting.
By determining the clarity evaluation value of the monitoring equipment in the current scene, it is determined whether it is a scene with strong supplementary lighting and reflection, and when a scene with strong supplementary lighting and reflection is identified, the supplementary lighting intensity is adjusted to a reasonable range.
It effectively improves the clarity and quality of surveillance images, solving the problem of poor surveillance results caused by supplementary lighting and reflections.
Smart Images

Figure CN116193237B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, apparatus, storage medium and monitoring device for adjusting supplementary light intensity. Background Technology
[0002] When using surveillance equipment such as cameras for monitoring at night, the environment is often too dark, resulting in insufficient brightness for proper monitoring. To address this issue, supplemental lighting is typically used to illuminate the monitoring scene. However, in rainy weather, raindrops near the camera lens cause severe glare from the supplemental lighting, resulting in a foggy and washed-out image, thus affecting normal monitoring. Similar scenarios include: obstructions from objects, smog, sandstorms, and strong reflections from road signs, all of which cause glare from the supplemental lighting. This glare from the supplemental lighting makes the foreground too bright, reducing the clarity and detail of the actual background scene, thus hindering normal monitoring.
[0003] The common solution currently is to extend the sunshade of the surveillance equipment beyond the camera lens, such as... Figure 1 The diagram shows the structure of the monitoring equipment. The sunshade design ensures that raindrops are a certain distance from the lens, slightly reducing glare from the supplementary lighting. However, this solution is limited by the fact that the sunshade cannot extend infinitely beyond the lens of the monitoring equipment. Therefore, the monitoring equipment will always have the problem of glare from the supplementary lighting in scenarios with strong reflections, such as rainy days. Summary of the Invention
[0004] This invention provides a method, apparatus, storage medium, and monitoring equipment for adjusting supplementary light intensity, which can effectively improve the clarity and quality of the monitoring images.
[0005] In a first aspect, embodiments of the present invention provide a method for adjusting supplementary lighting intensity, comprising:
[0006] Determine the image sharpness evaluation value of the images captured by the monitoring equipment in the current scene;
[0007] Based on the sharpness evaluation value, determine whether the current scene is a scene with strong reflection due to supplemental lighting;
[0008] When the current scene is determined to be a scene with strong reflective illumination, the illumination intensity of the monitoring device is adjusted.
[0009] Secondly, embodiments of the present invention also provide a supplementary light intensity adjustment device, comprising:
[0010] The sharpness evaluation value determination module is used to determine the sharpness evaluation value of the images captured by the monitoring equipment in the current scene;
[0011] a scene judgment module, configured to judge whether the current scene is a strong-reflection scene according to the definition value;
[0012] a light intensity adjustment module, configured to adjust the light intensity of the monitoring device when it is determined that the current scene is a strong-reflection scene.
[0013] In a third aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the light intensity adjustment method provided by the embodiment of the present application.
[0014] In a fourth aspect, an embodiment of the present application provides a monitoring device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the light intensity adjustment method provided by the embodiment of the present application when executing the computer program.
[0015] The embodiment of the present application provides a light intensity adjustment scheme, determines the definition value of an image captured by a monitoring device in a current scene, judges whether the current scene is a strong-reflection scene according to the definition value, and adjusts the light intensity of the monitoring device when it is determined that the current scene is a strong-reflection scene. The technical scheme provided by the embodiment of the present application not only solves the technical problem that the monitoring picture is seriously reflected by light and the monitoring effect is poor when the monitoring device performs light compensation in a strong-reflection scene, but also adjusts the light intensity of the monitoring device to a reasonable range when the current scene is identified as a strong-reflection scene through the definition value, thereby effectively improving the definition of the monitoring picture of the monitoring device and improving the quality of the monitoring picture. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 FIG. 1 is a structural schematic diagram of a monitoring device in the prior art;
[0017] Figure 2 FIG. 2 is a flowchart of a light intensity adjustment method provided by an embodiment of the present application;
[0018] Figure 3 FIG. 3 is a flowchart of a light intensity adjustment method provided by an embodiment of the present application;
[0019] Figure 4A FIG. 4 is an effect diagram of an image captured without adjusting the current light intensity in a non-strong-reflection scene according to the embodiment of the present application;
[0020] Figure 4B FIG. 5 is an effect diagram of an image captured without adjusting the current light intensity in a strong-reflection scene according to the embodiment of the present application;
[0021] Figure 4C An effect diagram of a photographed image after adjusting a current light supplement intensity in a strong reflection scene with light supplement provided by an embodiment of the present application;
[0022] Figure 5A A trend diagram of light supplement intensity and definition evaluation value in a conventional scene provided by an embodiment of the present application;
[0023] Figure 5B A trend diagram of light supplement intensity and definition evaluation value in a pre-set strong reflection scene with light supplement;
[0024] Figure 6 A flow chart of a light supplement intensity adjustment method provided by an embodiment of the present application;
[0025] Figure 7 A structural schematic diagram of a light supplement intensity adjustment device provided by another embodiment of the present application;
[0026] Figure 8 A structural schematic diagram of a monitoring device in another embodiment of the present application. DETAILED DESCRIPTION
[0027] Embodiments of the present application will be described in more detail by referring to the attached drawings. Although some embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, but rather the embodiments are provided to make the present application more thorough and complete. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and should not be construed as limiting the scope of the present application.
[0028] It should be understood that each step described in the method embodiments of the present application can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present application is not limited in this respect.
[0029] The term “comprising” and variations thereof as used herein are open-ended, that is, “including but not limited to”. The term “based on” is “based, at least in part, on”. The term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Related definitions will be given in the description below.
[0030] It should be noted that the concepts of “first”, “second”, etc. mentioned in the present application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modification of "one", "multiple" mentioned in the present application is illustrative but not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present application are only for illustrative purposes, and are not used to limit the scope of the messages or information.
[0033] Figure 2 A flowchart of a light supplement intensity adjustment method provided by an embodiment of the present application, the embodiment of the present application can be applicable to the case of adjusting the light supplement intensity, the method can be executed by a light supplement intensity adjustment device, the device can be composed of hardware and / or software, and can generally be integrated in a monitoring device. As shown in the figure, the method specifically includes the following steps: Figure 2 As shown in the figure, the method specifically includes the following steps:
[0034] Step 210, determine the sharpness evaluation value of the image taken by the monitoring device in the current scene.
[0035] The monitoring device can include a spherical camera, a gun-shaped camera, and other different forms of cameras. The current scene can be understood as the monitoring scene of the monitoring device at the current time. In the embodiment of the present application, the image taken by the monitoring device in the current scene is obtained, and the sharpness evaluation value (EV) of the taken image is determined, wherein the sharpness evaluation value is an evaluation index for measuring the image quality. In the embodiment of the present application, the gradient information function method or the image frequency domain analysis method can be used to determine the sharpness evaluation value of the taken image, and it should be noted that the determination method of the sharpness evaluation value is not limited in the embodiment of the present application.
[0036] In the embodiment of the present application, the current light supplement intensity of the monitoring device in the current scene can be determined, wherein the current light supplement intensity can be understood as the light supplement intensity set by the monitoring device at the current time in the current scene, and then the sharpness evaluation value of the image taken by the monitoring device in the current scene based on the current light supplement intensity is determined. Optionally, the sharpness evaluation values of the images taken by the monitoring device in the current scene based on a plurality of different light supplement intensities can also be determined, that is, a plurality of sharpness evaluation values of the images taken by the monitoring device in the current scene are determined, wherein each sharpness evaluation value corresponds to a different light supplement intensity.
[0037] Step 220, determine whether the current scene is a light supplement intensity reflection scene according to the sharpness evaluation value.
[0038] The light-supplementing strong reflection scene can include special scenes such as foreign matter shielding, foggy weather, sandstorm weather, rainy weather, and light-supplementing reflection of a road sign. In the above special scenes, the monitoring device causes the image foreground brightness to be too high and the image detail feature clarity to obviously decrease due to the strong light supplement (high light supplement intensity) of the light supplement lamp.
[0039] In the embodiment of the present application, when the clarity evaluation value of the image captured by the monitoring device based on the current light supplement intensity in the current scene is determined, the current scene can be determined to be a light-supplementing strong reflection scene by judging whether the clarity evaluation value is less than a clarity evaluation value threshold. The clarity evaluation value threshold is a threshold corresponding to the current light supplement intensity. It can be understood that different current light supplement intensities correspond to different clarity evaluation value thresholds. For example, when the clarity evaluation value is less than the clarity evaluation value threshold, the current scene can be determined to be a light-supplementing strong reflection scene. Alternatively, when the clarity evaluation values corresponding to images captured by the monitoring device in the current scene based on multiple different light supplement intensities are respectively determined, the current scene can be determined to be a light-supplementing strong reflection scene by analyzing the law shown by the clarity evaluation values corresponding to different light supplement intensities. When the clarity evaluation value in the current scene first decreases and then tends to be stable with the continuous increase of the light supplement intensity, the current scene can be determined to be a light-supplementing strong reflection scene; and when the clarity evaluation value in the current scene first increases and then tends to be stable with the continuous increase of the light supplement intensity, the current scene can be determined to be a non-light-supplementing strong reflection scene (i.e., a regular scene).
[0040] Step 230, when the current scene is determined to be a light-supplementing strong reflection scene, the light supplement intensity of the monitoring device is adjusted.
[0041] In the embodiment of the present application, when the clarity evaluation value of the image captured based on the current light supplement intensity determines the current scene to be a light-supplementing strong reflection scene, the current light supplement intensity of the monitoring device is adjusted, and the current light supplement intensity can be adjusted to a reasonable light supplement intensity range. Alternatively, when the clarity evaluation values corresponding to images captured based on multiple different light supplement intensities determine the current scene to be a light-supplementing strong reflection scene, the corresponding relatively appropriate light supplement intensity of the monitoring device in the current scene is determined, and the current light supplement intensity of the monitoring device is adjusted to a suitable light supplement intensity range.
[0042] The embodiment of the present application provides a light supplement intensity adjusting method, determines a definition evaluation value of an image captured by a monitoring device in a current scene, judges whether the current scene is a light supplement intensity reflection scene according to the definition evaluation value, and adjusts the light supplement intensity of the monitoring device when it is determined that the current scene is the light supplement intensity reflection scene. The technical scheme provided by the embodiment of the present application not only solves the technical problem that the monitoring picture is seriously reflected by light supplement and the monitoring effect is poor when the monitoring device supplements light in the light supplement intensity reflection scene, but also identifies the current scene through the definition evaluation value, adjusts the light supplement intensity of the monitoring device to a reasonable range when it is identified that the current scene is the light supplement intensity reflection scene, and effectively improves the definition of the monitoring picture of the monitoring device and the quality of the monitoring picture.
[0043] In some embodiments, the definition evaluation value of the image captured by the monitoring device in the current scene includes: determining the current light supplement intensity of the monitoring device; determining the definition evaluation value of the image captured by the monitoring device in the current scene based on the current light supplement intensity; and adjusting the light supplement intensity of the monitoring device when it is determined that the current scene is the light supplement intensity reflection scene, including: adjusting the current light supplement intensity of the monitoring device when it is determined that the current scene is the light supplement intensity reflection scene.
[0044] Optionally, before judging whether the current scene is the strong light compensation reflection scene according to the definition value, the method further comprises: determining a basic definition value of the monitoring device in the current scene based on the current strong light compensation intensity; judging whether the current scene is the strong light compensation reflection scene according to the definition value comprises: judging whether the current scene is the strong light compensation reflection scene according to the definition value and the basic definition value. The basic definition value can be understood as the definition value of the monitoring device in the current scene based on the current strong light compensation intensity. The basic definition value of the monitoring device in different strong light compensation intensities is different. For example, the definition value of the monitoring device in the current scene can be taken as the basic definition value after the monitoring device is stably operated for a preset time length in the current strong light compensation intensity. Optionally, judging whether the current scene is the strong light compensation reflection scene according to the definition value and the basic definition value comprises: calculating a definition value ratio according to the definition value and the basic definition value; wherein the definition value ratio is the ratio of the definition value to the basic definition value; determining a definition value ratio threshold corresponding to the current strong light compensation intensity; judging whether the definition value ratio is less than the definition value ratio threshold; and determining that the current scene is the strong light compensation reflection scene when the definition value ratio is less than the definition value ratio threshold. wherein EV R represents the definition value ratio, EV Cur represents the definition value, EV base represents the basic definition value. The definition value ratio threshold corresponding to the current strong light compensation intensity of the monitoring device can be understood as that the definition value ratio threshold corresponding to the current strong light compensation intensity of the monitoring device is different in different current strong light compensation intensities. The definition value ratio is judged whether it is less than the corresponding definition value ratio threshold. If yes, it can be determined that the current scene is the strong light compensation reflection scene, otherwise, it can be determined that the current scene is the non-strong light compensation reflection scene (i.e. the normal scene). That is, whether the current scene is the strong light compensation reflection scene or the normal scene can be judged according to the following formula:
[0045]
[0046] wherein EVRatio(LED x) represents the ratio threshold of the definition evaluation value corresponding to the current light compensation intensity.
[0047] Optionally, determining the basic definition evaluation value of the monitoring device in the current scene for shooting images based on the current light compensation intensity comprises: continuously collecting at least two images shot by the monitoring device in the current scene based on the current light compensation intensity; calculating a first definition evaluation value of each of the at least two images; calculating a standard deviation of the definition evaluation value based on the first definition evaluation values; when the standard deviation is less than a preset standard deviation threshold, calculating an average value of the first definition evaluation values and taking the average value as the basic definition evaluation value of the monitoring device in the current scene for shooting images based on the current light compensation intensity; and when the standard deviation is greater than or equal to the preset standard deviation threshold, returning to continuously collect at least two images shot by the monitoring device in the current scene based on the current light compensation intensity until the standard deviation is less than the preset standard deviation threshold. For example, numl images shot by the monitoring device in the current scene based on the current light compensation intensity are continuously collected, and a definition evaluation value corresponding to each of the numl images is calculated. For the convenience of subsequent description, the definition evaluation value corresponding to each of the numl images can be referred to as a first definition evaluation value. In this embodiment of the present application, the numl first definition evaluation values form a definition evaluation value EV sequence: EV{EV1, EV2, …, EVnum1}, and then a standard deviation of the definition evaluation value corresponding to the EV sequence is calculated. wherein, When the standard deviation σ of the definition evaluation value is less than the preset standard deviation threshold, the average value of the first definition evaluation values in the EV sequence is taken as the basic definition evaluation value of the monitoring device in the current scene for shooting images based on the current light compensation intensity. When the standard deviation σ of the definition evaluation value is less than the preset standard deviation threshold, the average value of the first definition evaluation values in the EV sequence is taken as the basic definition evaluation value of the monitoring device in the current scene for shooting images based on the current light compensation intensity. When the standard deviation σ of the definition evaluation value is greater than or equal to the preset standard deviation threshold, the numl images shot by the monitoring device in the current scene based on the current light compensation intensity are re-collected until the standard deviation is less than the preset standard deviation threshold.
[0048] Optionally, before determining the ratio threshold of the definition evaluation values corresponding to the current light supplement intensity, the method further comprises: obtaining second definition evaluation values of images captured by the monitoring device based on at least two light supplement intensities in a preset light supplement intensity reflection scene; obtaining third definition evaluation values of images captured by the monitoring device based on the at least two light supplement intensities in a preset non-light supplement intensity reflection scene; the preset light supplement intensity reflection scene and the preset non-light supplement intensity reflection scene correspond to the same shooting environment; and calculating the ratio threshold of the definition evaluation values corresponding to the at least two light supplement intensities according to the second definition evaluation values and the third definition evaluation values; the ratio threshold of the definition evaluation values corresponding to the same light supplement intensity is the ratio of the second definition evaluation value and the third definition evaluation value. This setting has the advantage that the ratio threshold of the definition evaluation values corresponding to different light supplement intensities in the light supplement intensity reflection scene of the monitoring device can be determined.
[0049] The preset light supplement intensity reflection scene can be any one of special scenes such as foreign matter obstruction, foggy weather, sandstorm weather, rainy weather, and street sign light supplement reflection. The images captured by the monitoring device based on at least two light supplement intensities in the preset light supplement intensity reflection scene are obtained respectively, and the definition evaluation values of the images are calculated. For the convenience of subsequent description, the definition evaluation values are referred to as second definition evaluation values. For example, the second definition evaluation values of images captured by the monitoring device based on n different light supplement intensities in the preset light supplement intensity reflection scene can be obtained, where each light supplement intensity can be represented as LED i ={LED1, LED2, …, LEDn}, (i = 1, …, n), where the light supplement intensity increases as the value of i increases. The second definition evaluation values of images captured by the monitoring device based on the light supplement intensity LED i can be represented as: EVBlur(LED i ) = {EV1, EV2, …, EVn}, (i = 1, …, n). The images captured by the monitoring device based on at least two light supplement intensities in the preset non-light supplement intensity reflection scene are obtained respectively, and the definition evaluation values of the images are calculated. For the convenience of subsequent description, the definition evaluation values are referred to as third definition evaluation values. For example, the third definition evaluation values of images captured by the monitoring device based on n different light supplement intensities in the preset non-light supplement intensity reflection scene can be obtained, where each light supplement intensity can be represented as LED i ={LED1, LED2, …, LEDn}, (i = 1, …, n), where the light supplement intensity increases as the value of i increases. The third definition evaluation values of images captured by the monitoring device based on the light supplement intensity LED i can be represented as: EVNorm(LED i) = {EV1, EV2, …, EVn}, (i = 1, …, n). Wherein, the preset light- supplemented intensity reflection scene and the preset non-light-supplemented intensity reflection scene correspond to the same shooting environment, and the preset non-light-supplemented intensity reflection scene can be a scene other than the special scenes such as foreign matter obstruction, foggy day, sandstorm weather, rainy weather, and road sign light-supplemented reflection. According to the second sharpness evaluation value and the third sharpness evaluation value corresponding to the same light-supplemented intensity, the sharpness evaluation value ratio threshold value corresponding to the light-supplemented intensity is calculated. Wherein, the monitoring device adjusts the light-supplemented intensity LED i The sharpness evaluation value ratio threshold value corresponding to the light-supplemented intensity can be expressed as: Therefore, the sharpness evaluation value ratio threshold value corresponding to the current light-supplemented intensity can be found from the sharpness evaluation value ratio threshold values corresponding to multiple light-supplemented intensities.
[0050] In some embodiments, before judging whether the current scene is a light-supplemented intensity reflection scene according to the sharpness evaluation value, it further includes: judging whether the current light-supplemented intensity is greater than a first preset light-supplemented intensity; and judging whether the current scene is a light-supplemented intensity reflection scene according to the sharpness evaluation value includes: when the current light-supplemented intensity is greater than the first preset light-supplemented intensity, judging whether the current scene is a light-supplemented intensity reflection scene according to the sharpness evaluation value. The advantage of such setting is that the effectiveness and necessity of the light-supplemented intensity adjustment of the monitoring device can be effectively guaranteed. Specifically, when the current light-supplemented intensity of the monitoring device is very small, even if the current scene is a light-supplemented intensity reflection scene, the light-supplemented reflection phenomenon in the monitoring picture will not be too serious, and the impact on the image quality collected by the monitoring device will also not be too large. Therefore, before judging whether the current scene is a light-supplemented intensity reflection scene according to the sharpness evaluation value, it is judged whether the current light-supplemented intensity is greater than the first preset light-supplemented intensity. If so, it means that if the current scene is a light-supplemented intensity reflection scene, if the light-supplemented intensity is too large, it will cause the light-supplemented reflection phenomenon in the monitoring picture, resulting in poor sharpness of the captured image, and it is necessary to further judge whether the current scene is a light-supplemented intensity reflection scene according to the sharpness evaluation value to determine whether the current light-supplemented intensity needs to be adjusted. Wherein, the first preset light-supplemented intensity is the light-supplemented intensity at which the image captured by the monitoring device begins to become unclear under the preset light-supplemented intensity reflection scene. Optionally, when the current light-supplemented intensity is less than or equal to the first preset light-supplemented intensity, the current light-supplemented intensity can be directly maintained, and the light-supplemented intensity of the monitoring device is not adjusted.
[0051] Optionally, when it is determined that the current scene is the light compensation strong reflection scene, the current light compensation intensity of the monitoring device is adjusted, including: when it is determined that the current scene is the light compensation strong reflection scene, the current light compensation intensity of the monitoring device is adjusted to be within a first preset light compensation intensity range; wherein the first preset light compensation intensity range is 0 to a second preset light compensation intensity, and the second preset light compensation intensity is less than the first preset light compensation intensity. In the embodiment of the application, when the current light compensation intensity is greater than the first preset light compensation intensity, and whether the current scene is the light compensation strong reflection scene is determined according to the definition value, the current light compensation intensity of the monitoring device is adjusted to be within the first preset light compensation intensity range, wherein the first preset light compensation intensity range is 0 to the second preset light compensation intensity, and the second preset light compensation intensity is less than the first preset light compensation intensity, that is, the current light compensation intensity of the monitoring device is adjusted to be not higher than the second preset light compensation intensity. The second preset light compensation intensity is the light compensation intensity at which the monitoring device can take an image in the preset light compensation strong reflection scene, and the light compensation effect and the image blur degree can be considered.
[0052] Figure 3 A flowchart of a light compensation intensity adjustment method provided by an embodiment of the application is shown in FIG. 3, and the method specifically includes the following steps: Figure 3
[0053] Step 310: Determine the current light compensation intensity of the monitoring device.
[0054] Step 320: Determine whether the current light compensation intensity is greater than the first preset light compensation intensity. If yes, execute step 330; otherwise, execute step 390.
[0055] Step 330: Determine the definition value of the image taken by the monitoring device in the current scene based on the current light compensation intensity.
[0056] Step 340: Determine the basic definition value of the image taken by the monitoring device in the current scene based on the current light compensation intensity.
[0057] Step 350: Calculate the definition value ratio according to the definition value and the basic definition value; wherein the definition value ratio is the ratio of the definition value to the basic definition value.
[0058] Step 360: Determine the definition value ratio threshold corresponding to the current light compensation intensity.
[0059] Step 370: Determine whether the definition value ratio is less than the definition value ratio threshold. If yes, execute step 380; otherwise, execute step 390.
[0060] In step 380, it is determined that the current scene is a lighted strong reflection scene, and the current lighted intensity of the monitoring device is adjusted to a first preset lighted intensity range; wherein the first preset lighted intensity range is 0 to a second preset lighted intensity, and the second preset lighted intensity is less than the first preset lighted intensity.
[0061] In step 390, the current lighted intensity of the monitoring device is kept unchanged.
[0062] Exemplarily, Figure 4A An effect diagram of the image captured when the current lighted intensity is not adjusted in the no lighted strong reflection scene is provided for the embodiment of the present application; Figure 4B An effect diagram of the image captured when the current lighted intensity is not adjusted in the lighted strong reflection scene is provided for the embodiment of the present application; Figure 4C An effect diagram of the image captured after the current lighted intensity is adjusted in the lighted strong reflection scene is provided for the embodiment of the present application. Figure 4A And Figure 4B It can be known that the quality of the image captured when the current lighted intensity is not adjusted in the lighted strong reflection scene is obviously less than that in the no lighted strong reflection scene; according to Figure 4B And Figure 4C It can be known that the quality of the image captured after the current lighted intensity is adjusted in the lighted strong reflection scene is obviously better than that when the current lighted intensity is not adjusted in the lighted strong reflection scene.
[0063] The embodiment of the present application provides a lighted intensity adjustment method, when the current lighted intensity of the monitoring device is greater than a first preset lighted intensity, the current scene is identified through the definition evaluation value, when the current scene is identified as a lighted strong reflection scene, the lighted intensity of the monitoring device is adjusted to a preset lighted intensity range, wherein the preset lighted intensity range is 0 to a second preset lighted intensity, and the second preset lighted intensity is less than the first preset lighted intensity, which not only solves the technical problem that the monitoring picture is seriously lighted and reflected and the monitoring effect is poor when the monitoring device is strongly lighted in the lighted strong reflection scene, but also effectively improves the definition of the monitoring picture of the monitoring device and improves the quality of the monitoring picture.
[0064] In some embodiments, the method for determining the sharpness evaluation value of an image captured by a monitoring device in a current scene includes: determining the sharpness evaluation value of an image captured by the monitoring device in the current scene based on at least two light compensation intensities, respectively; determining whether the current scene is a light compensation intensity reflection scene according to the sharpness evaluation values, including: determining whether the current scene is a light compensation intensity reflection scene according to the at least two light compensation intensities and the corresponding sharpness evaluation values; and adjusting the light compensation intensity of the monitoring device when it is determined that the current scene is a light compensation intensity reflection scene, including: adjusting the light compensation intensity of the monitoring device to be within a second preset light compensation intensity range when it is determined that the current scene is a light compensation intensity reflection scene.
[0065] In the embodiments of the present application, the sharpness evaluation values of images captured by the monitoring device in the current scene based on m different light compensation intensities are determined, respectively, so as to obtain m sharpness evaluation values. The data of the m sharpness evaluation values and the corresponding light compensation intensities can be represented as: LED-EV(LEDi, EVi) = {(LED1, EV1), (LED2, EV2), …, (LEDm, EVm)}, (i = 1, 2, …, m). The current scene is determined to be a light compensation intensity reflection scene according to the m light compensation intensities and the corresponding sharpness evaluation values. For example, a relationship curve of the sharpness evaluation value and the light compensation intensity in the current scene can be drawn according to the m light compensation intensities and the corresponding sharpness evaluation values; a trend graph of the light compensation intensity and the sharpness evaluation value in different scenes (pre-set light compensation intensity reflection scenes and regular scenes) is obtained; and the similarity of the relationship curve and each trend graph is determined to determine whether the current scene is a light compensation intensity reflection scene. Figure 5A The trend graph of the light compensation intensity and the sharpness evaluation value in a regular scene provided by the embodiments of the present application is shown in FIG. 2. Figure 5B The trend graph of the light compensation intensity and the sharpness evaluation value in a pre-set light compensation intensity reflection scene is shown in FIG. 3. Figure 5B As shown in the light compensation reflection scene in FIG. 3, as the light compensation intensity increases, the monitoring device receives strong reflection light sources, the monitoring image is too bright, the automatic exposure suppresses the image brightness, the brightness of the reflection surface decreases, the background details in the monitoring image decrease, and the sharpness evaluation value of the monitoring image decreases.
[0066] Optionally, determining whether the current scene is a scene with strong supplementary light reflection based on the at least two supplementary light intensities and their corresponding sharpness evaluation values includes: determining a target supplementary light intensity range where the sharpness evaluation value changes fastest with the supplementary light intensity based on the at least two supplementary light intensities and their corresponding sharpness evaluation values; determining the maximum and minimum supplementary light intensities corresponding to the target supplementary light intensity range; and determining the current scene as a scene with strong supplementary light reflection when the sharpness evaluation value corresponding to the minimum supplementary light intensity is greater than the sharpness evaluation value corresponding to the maximum supplementary light intensity. For example, based on m supplementary light intensities and their corresponding sharpness evaluation values, determining the target supplementary light intensity range (LED) where the sharpness evaluation value changes fastest with the supplementary light intensity from the m supplementary light intensities. num-min ,LED num-max This can be achieved by plotting a graph showing the relationship between the sharpness rating and the supplementary light intensity in the current scene. The supplementary light intensity range corresponding to the target curve segment in the graph where the sharpness rating changes most rapidly with the supplementary light intensity is taken as the target supplementary light intensity range where the sharpness rating changes most rapidly with the supplementary light intensity. The minimum supplementary light intensity LED within the target supplementary light intensity range is then determined. num-min The corresponding sharpness rating value EV num-min and maximum fill light intensity LED num-max The corresponding sharpness rating value EV num-max Among them, EV num-min Only represents the smallest LED num-min The sharpness rating corresponding to the fill light intensity does not represent a numerical value, EV. num-max This only represents the maximum EV. num-max The sharpness evaluation value corresponding to the supplementary light intensity does not represent a numerical value. In this embodiment of the invention, the relationship between the sharpness evaluation value corresponding to the minimum supplementary light intensity and the sharpness evaluation value corresponding to the maximum supplementary light intensity is determined according to... Figure 5B As shown in the trend chart, when the sharpness evaluation value corresponding to the minimum fill light intensity is greater than the sharpness evaluation value corresponding to the maximum fill light intensity, the current scene is determined to be a scene with strong fill light reflection.
[0067] Optionally, the second preset supplementary light intensity range is the target supplementary light intensity range. It is understood that when the current scene is determined to be a scene with strong supplementary light reflection based on the sharpness evaluation value corresponding to the minimum supplementary light intensity and the sharpness evaluation value corresponding to the maximum supplementary light intensity within the target supplementary light intensity range, the supplementary light intensity of the current scene is adjusted to the target supplementary light intensity range. This is because when the supplementary light intensity is less than the minimum supplementary light intensity within the target supplementary light intensity range, the current scene brightness is insufficient, and without sufficient supplementary light intensity, the overall image will be dark; while when the supplementary light intensity is greater than the maximum supplementary light intensity within the target supplementary light intensity range, due to the influence of strong supplementary light reflection, the background of the image will be generally dark, while the foreground will be overexposed. In this embodiment of the invention, the supplementary light intensity of the monitoring device is adjusted to the target supplementary light intensity range (LED). num-min ,LED num-max It can take into account both the brightness of the captured image and the impact of strong reflections from the fill light on the image blur, thus improving the overall quality of the captured image.
[0068] Optionally, when the sharpness evaluation value corresponding to the minimum supplementary light intensity is less than the sharpness evaluation value corresponding to the maximum supplementary light intensity, the current scene is determined to be a scene with strong reflection without supplementary light; when the current scene is determined to be a scene with strong reflection without supplementary light, the supplementary light intensity of the monitoring device is adjusted to the target supplementary light intensity range. For example, according to... Figure 5A The trend chart shows that when the sharpness evaluation value corresponding to the minimum supplementary light intensity is less than the sharpness evaluation value corresponding to the maximum supplementary light intensity, the current scene is determined to be a scene with strong reflection and no supplementary light. In this case, the supplementary light intensity of the monitoring equipment is adjusted to within the target supplementary light intensity range. The reason for this setting is that, according to... Figure 5A It is known that in scenarios with strong reflections and no supplementary lighting (normal scenarios), increasing the supplementary lighting intensity does not significantly improve the brightness of the image captured by the monitoring equipment, but it will greatly increase the power consumption of the monitoring equipment. Therefore, in scenarios with strong reflections and no supplementary lighting, the supplementary lighting intensity of the monitoring equipment should be adjusted to the target supplementary lighting intensity range (LED). num-min ,LED num-max Within this range, the power consumption of the monitoring equipment can be reduced while ensuring the overall brightness of the captured image.
[0069] Figure 6 A flowchart of a method for adjusting supplementary lighting intensity according to an embodiment of the present invention is shown below. Figure 6 As shown, the method specifically includes the following steps:
[0070] Step 610: Determine the clarity evaluation value of the images captured by the monitoring device in the current scene based on at least two supplementary light intensities.
[0071] At step 620, based on the at least two light compensation intensities and the corresponding definition evaluation values, a target light compensation intensity range in which the definition evaluation value changes fastest with the light compensation intensity is determined.
[0072] At step 630, the maximum light compensation intensity and the minimum light compensation intensity corresponding to the target light compensation intensity range are determined.
[0073] At step 640, it is judged whether the definition evaluation value corresponding to the minimum light compensation intensity is greater than the definition evaluation value corresponding to the maximum light compensation intensity, if yes, step 650 is executed, otherwise, step 660 is executed.
[0074] At step 650, it is determined that the current scene is a light compensation intensity reflection scene, and the light compensation intensity of the monitoring device is adjusted to be within the target light compensation intensity range.
[0075] At step 660, it is determined that the current scene is a non-light compensation intensity reflection scene, and the light compensation intensity of the monitoring device is adjusted to be within the target light compensation intensity range.
[0076] The embodiment of the present application provides a light compensation intensity adjustment method, definition evaluation values of images captured by a monitoring device in a current scene based on at least two light compensation intensities are determined respectively, a target light compensation intensity range in which the definition evaluation value changes fastest with the light compensation intensity is determined based on the at least two light compensation intensities and the corresponding definition evaluation values, when the definition evaluation value corresponding to the minimum light compensation intensity in the target light compensation intensity range is greater than the definition evaluation value corresponding to the maximum light compensation intensity, it is determined that the current scene is a light compensation intensity reflection scene, and the light compensation intensity of the monitoring device is adjusted to be within the target light compensation intensity range, which not only solves the technical problem that the monitoring picture is seriously reflected by light compensation and the monitoring effect is poor when the monitoring device is strongly light compensated in the light compensation intensity reflection scene, but also effectively improves the definition of the monitoring picture of the monitoring device and improves the quality of the monitoring picture.
[0077] Figure 7 A structural schematic diagram of a light compensation intensity adjustment device provided for another embodiment of the present application is shown in FIG. 7. Figure 7 As shown in the figure, the device comprises a definition evaluation value determination module 710, a scene judgment module 720 and a light compensation intensity adjustment module 730.
[0078] The definition evaluation value determination module 710 is configured to determine the definition evaluation value of an image captured by a monitoring device in a current scene.
[0079] The scene judgment module 720 is configured to judge whether the current scene is a light compensation intensity reflection scene according to the definition evaluation value.
[0080] The light compensation intensity adjustment module 730 is configured to adjust the light compensation intensity of the monitoring device when it is determined that the current scene is a light compensation intensity reflection scene.
[0081] The embodiment of the present application provides a light supplement intensity adjusting device, determines a definition evaluation value of an image captured by a monitoring device under a current scene, judges whether the current scene is a light supplement intensity reflection scene according to the definition evaluation value, and adjusts a light supplement intensity of the monitoring device when it is determined that the current scene is a light supplement intensity reflection scene. The technical scheme provided by the embodiment of the present application not only solves the technical problem that a monitoring picture is seriously reflected by light supplement and the monitoring effect is poor when the monitoring device supplements light in a light supplement intensity reflection scene, but also adjusts the light supplement intensity of the monitoring device to a reasonable range when the current scene is identified as a light supplement intensity reflection scene through the definition evaluation value, so that the definition of the monitoring picture of the monitoring device can be effectively improved and the quality of the monitoring picture can be improved.
[0082] Optionally, the definition evaluation value determining module is used for:
[0083] determining a current light supplement intensity of the monitoring device;
[0084] determining a definition evaluation value of an image captured by the monitoring device under the current scene based on the current light supplement intensity;
[0085] The light supplement intensity adjusting module is used for:
[0086] adjusting the current light supplement intensity of the monitoring device when it is determined that the current scene is a light supplement intensity reflection scene.
[0087] Optionally, the device further comprises:
[0088] a basic definition evaluation value determining module used for determining a basic definition evaluation value of an image captured by the monitoring device under the current scene based on the current light supplement intensity before judging whether the current scene is a light supplement intensity reflection scene according to the definition evaluation value;
[0089] The scene judging module comprises:
[0090] a first scene judging unit used for judging whether the current scene is a light supplement intensity reflection scene according to the definition evaluation value and the basic definition evaluation value.
[0091] Optionally, the first scene judging unit is used for:
[0092] calculating a definition evaluation value ratio according to the definition evaluation value and the basic definition evaluation value; wherein the definition evaluation value ratio is a ratio of the definition evaluation value to the basic definition evaluation value;
[0093] determining a definition evaluation value ratio threshold corresponding to the current light supplement intensity;
[0094] judging whether the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold value;
[0095] when the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold value, determining that the current scene is a light-supplemented strong reflection scene.
[0096] Optionally, the base sharpness evaluation value determination module is configured to:
[0097] continuously collecting at least two images captured by the monitoring device in the current scene based on the current light-supplemented intensity;
[0098] calculating a first sharpness evaluation value of each of the at least two images;
[0099] calculating a standard deviation of the sharpness evaluation values based on the first sharpness evaluation values, when the standard deviation is less than a preset standard deviation threshold value, calculating an average value of the first sharpness evaluation values, and taking the average value as a base sharpness evaluation value of an image captured by the monitoring device in the current scene based on the current light-supplemented intensity;
[0100] when the standard deviation is greater than or equal to the preset standard deviation threshold value, returning to continuously collect the at least two images captured by the monitoring device in the current scene based on the current light-supplemented intensity until the standard deviation is less than the preset standard deviation threshold value.
[0101] Optionally, the device further comprises:
[0102] a second sharpness evaluation value acquisition unit configured to, before determining the sharpness evaluation value ratio threshold value corresponding to the current light-supplemented intensity, acquire a second sharpness evaluation value of an image captured by the monitoring device in a preset light-supplemented strong reflection scene based on at least two light-supplemented intensities, respectively;
[0103] a second sharpness evaluation value acquisition unit configured to acquire a third sharpness evaluation value of an image captured by the monitoring device in a preset non-light-supplemented strong reflection scene based on the at least two light-supplemented intensities, respectively; wherein the preset light-supplemented strong reflection scene and the preset non-light-supplemented strong reflection scene correspond to the same shooting environment;
[0104] a sharpness evaluation value ratio threshold value calculation unit configured to calculate the sharpness evaluation value ratio threshold value corresponding to the at least two light-supplemented intensities according to the second sharpness evaluation values and the third sharpness evaluation values; wherein the sharpness evaluation value ratio threshold value is a ratio of the second sharpness evaluation value to the third sharpness evaluation value corresponding to the same light-supplemented intensity.
[0105] Optionally, the device further comprises:
[0106] The light compensation intensity determination module is configured to determine whether the current light compensation intensity is greater than a first preset light compensation intensity before determining whether the current scene is a light compensation intensity reflection scene according to the definition evaluation value.
[0107] The scene determination module is configured to:
[0108] When the current light compensation intensity is greater than the first preset light compensation intensity, determine whether the current scene is a light compensation intensity reflection scene according to the definition evaluation value.
[0109] Optionally, the light compensation intensity adjustment module is configured to:
[0110] When it is determined that the current scene is a light compensation intensity reflection scene, adjust the current light compensation intensity of the monitoring device to be within a first preset light compensation intensity range, wherein the first preset light compensation intensity range is from 0 to a second preset light compensation intensity, and the second preset light compensation intensity is less than the first preset light compensation intensity.
[0111] Optionally, the definition evaluation value determination module is configured to:
[0112] Determine definition evaluation values of images captured by the monitoring device under the current scene based on at least two light compensation intensities, respectively.
[0113] The scene determination module includes:
[0114] The second scene determination unit is configured to determine whether the current scene is a light compensation intensity reflection scene according to the at least two light compensation intensities and the corresponding definition evaluation values.
[0115] The light compensation intensity adjustment module is configured to:
[0116] When it is determined that the current scene is a light compensation intensity reflection scene, adjust the light compensation intensity of the monitoring device to be within a second preset light compensation intensity range.
[0117] Optionally, the second scene determination unit is configured to:
[0118] Determine a target light compensation intensity range in which a definition evaluation value changes most quickly with a light compensation intensity based on the at least two light compensation intensities and the corresponding definition evaluation values.
[0119] Determine a maximum light compensation intensity and a minimum light compensation intensity corresponding to the target light compensation intensity range.
[0120] When the definition evaluation value corresponding to the minimum light compensation intensity is greater than the definition evaluation value corresponding to the maximum light compensation intensity, determine that the current scene is a light compensation intensity reflection scene.
[0121] Optionally, the second preset light compensation intensity range is the target light compensation intensity range.
[0122] Optionally, further comprising:
[0123] The no-light-intensity-reflection scene determination module is configured to determine that the current scene is a no-light-intensity-reflection scene when the sharpness evaluation value corresponding to the minimum light intensity is less than the sharpness evaluation value corresponding to the maximum light intensity, and adjust the light intensity of the monitoring device to the target light intensity range when it is determined that the current scene is a no-light-intensity-reflection scene.
[0124] The device can perform the method provided by any of the foregoing embodiments of the present application, and has the corresponding function modules and advantages of performing the foregoing method. Technical details not described in the embodiments of the present application can be referred to the method provided by any of the foregoing embodiments of the present application.
[0125] The embodiments of the present application also provide a storage medium containing computer executable instructions, which are used to execute the light intensity adjustment method provided by the embodiments of the present application when executed by a computer processor.
[0126] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include an installation medium, e.g., a CD-ROM, floppy disks, or tape device; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; or a non-volatile memory such as a magnetic medium (e.g., a hard disk or optical storage); registers, or other similar types of memory elements, etc. The storage medium can also include other types of storage medium and combinations thereof. Additionally, the storage medium can be located in a first computer system in which the programs are executed, or it can be located in a second different computer system which connects to the first computer system over a network such as the Internet. The second computer system can provide program instructions to the first computer system for execution. The term "storage medium" can include two or more storage mediums that can reside in different locations, e.g., in different computer systems that are connected over a network. The storage medium can store program instructions (e.g., as an installed program) that can be executed by one or more processors.
[0127] Of course, the storage medium provided by the embodiments of the present application contains computer executable instructions, which are not limited to the light intensity adjustment operation as described above, but can also perform the related operations in the light intensity adjustment method provided by any of the embodiments of the present application.
[0128] The embodiments of the present application provide a monitoring device, which can integrate the light intensity adjustment device provided by the embodiments of the present application. Figure 8A structural block diagram of a monitoring device is provided in the embodiments of the present application. The monitoring device 800 can include a memory 801, a processor 802, and a computer program stored in the memory 801 and executable by the processor. When the processor executes the computer program, the method for adjusting light compensation intensity is implemented.
[0129] The monitoring device provided in the embodiments of the present application determines the definition evaluation value of the image captured by the monitoring device in the current scene, judges whether the current scene is a light compensation intensity reflection scene according to the definition evaluation value, and adjusts the light compensation intensity of the monitoring device when the current scene is determined to be a light compensation intensity reflection scene. The technical solution provided in the embodiments of the present application not only solves the technical problem that the monitoring picture is seriously reflected by light compensation and the monitoring effect is poor when the monitoring device performs light compensation in a light compensation intensity reflection scene, but also adjusts the light compensation intensity of the monitoring device to a reasonable range when the current scene is identified to be a light compensation intensity reflection scene, thereby effectively improving the definition of the monitoring picture of the monitoring device and improving the quality of the monitoring picture.
[0130] The light compensation intensity adjustment device, the storage medium and the monitoring device provided in the above embodiments can execute the light compensation intensity adjustment method provided in any of the embodiments of the present application, and have the corresponding function modules and beneficial effects of executing the method. The technical details not described in the above embodiments can be referred to the light compensation intensity adjustment method provided in any of the embodiments of the present application.
[0131] Note that the above are only the preferred embodiments of the present application and the technical principles applied. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments, and can include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for adjusting supplemental lighting intensity, characterized in that, include: Determine the image sharpness evaluation value of the images captured by the monitoring equipment in the current scene; The clarity evaluation value is used to determine whether the current scene is a scene with strong supplementary lighting and reflection. Specifically, when the clarity evaluation value is the clarity evaluation value of images captured by the monitoring device in the current scene based on multiple different supplementary lighting intensities, the trend of the clarity evaluation value with the supplementary lighting intensity is used to determine whether the current scene is a scene with strong supplementary lighting and reflection. Specifically, when the clarity evaluation value first decreases and then stabilizes as the supplementary lighting intensity increases, the current scene is determined to be a scene with strong supplementary lighting and reflection. When the clarity evaluation value first increases and then stabilizes as the supplementary lighting intensity increases, the current scene is determined to be a scene without strong supplementary lighting and reflection. When the current scene is determined to be a scene with strong reflective illumination, the illumination intensity of the monitoring device is adjusted; Alternatively, determining whether the current scene is a scene with strong reflection due to supplementary lighting based on the sharpness evaluation value includes: The sharpness evaluation value ratio is calculated based on the sharpness evaluation value and the baseline sharpness evaluation value; wherein, the sharpness evaluation value ratio is the ratio of the sharpness evaluation value to the baseline sharpness evaluation value; Determine the threshold value for the sharpness rating corresponding to the current supplemental lighting intensity; Determine whether the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold; When the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold, the current scene is determined to be a scene with strong supplemental lighting and reflection. Alternatively, determining whether the current scene is a scene with strong reflection due to supplementary lighting based on the sharpness evaluation value includes: Based on at least two fill light intensities and their corresponding sharpness evaluation values, determine the target fill light intensity range in which the sharpness evaluation value changes the fastest with the fill light intensity; Determine the maximum and minimum supplementary light intensities corresponding to the target supplementary light intensity range; When the sharpness evaluation value corresponding to the minimum supplementary light intensity is greater than the sharpness evaluation value corresponding to the maximum supplementary light intensity, the current scene is determined to be a scene with strong supplementary light reflection.
2. The method according to claim 1, determining the sharpness evaluation value of the image captured by the monitoring device in the current scene, includes: Determine the current supplemental lighting intensity of the monitoring device; Determine the clarity evaluation value of the image captured by the monitoring device in the current scene based on the current supplementary light intensity; When the current scene is determined to be a scene with strong reflective illumination, the illumination intensity of the monitoring device is adjusted, including: When the current scene is determined to be a scene with strong reflective supplementary light, the current supplementary light intensity of the monitoring device is adjusted.
3. The method according to claim 2, characterized in that, Before determining whether the current scene is a scene with strong reflection due to supplementary lighting based on the sharpness evaluation value, the process also includes: Determine the basic sharpness evaluation value of the image captured by the monitoring device in the current scene based on the current supplementary light intensity.
4. The method according to claim 3, characterized in that, Determining the basic sharpness evaluation value of the image captured by the monitoring device in the current scene based on the current supplementary light intensity includes: Continuously acquire at least two images captured by the monitoring device in the current scene based on the current supplementary light intensity; Calculate the first sharpness evaluation value for each of the at least two images; The standard deviation of the clarity evaluation value is calculated based on the first clarity evaluation value. When the standard deviation is less than a preset standard deviation threshold, the average value of the first clarity evaluation value is calculated, and the average value is used as the basic clarity evaluation value of the image captured by the monitoring device in the current scene based on the current supplementary light intensity. When the standard deviation is greater than or equal to the preset standard deviation threshold, return to continuously collect at least two images taken by the monitoring device in the current scene based on the current supplementary light intensity, until the standard deviation is less than the preset standard deviation threshold.
5. The method according to claim 1, characterized in that, Before determining the sharpness rating threshold corresponding to the current fill light intensity, the following steps are also included: The second sharpness evaluation value of the images captured by the monitoring device under a preset supplementary light intensity reflection scenario is obtained based on at least two supplementary light intensities. The third sharpness evaluation value of the images captured by the monitoring device under a preset scenario without supplementary light and strong reflection is obtained based on the at least two supplementary light intensities; wherein the preset scenario with strong supplementary light and the preset scenario without strong supplementary light and strong reflection correspond to the same shooting environment; Based on the second sharpness evaluation value and the third sharpness evaluation value, a sharpness evaluation value ratio threshold corresponding to the at least two supplementary light intensities is calculated; wherein, the sharpness evaluation value ratio threshold is the ratio of the second sharpness evaluation value to the third sharpness evaluation value corresponding to the same supplementary light intensity.
6. The method according to any one of claims 2-5, characterized in that, Before determining whether the current scene is a scene with strong reflection due to supplementary lighting based on the sharpness evaluation value, the process also includes: Determine whether the current supplemental light intensity is greater than the first preset supplemental light intensity; Determining whether the current scene is a scene with strong reflection and supplementary lighting based on the sharpness evaluation value includes: When the current supplementary light intensity is greater than the first preset supplementary light intensity, the current scene is determined to be a scene with strong supplementary light reflection based on the sharpness evaluation value.
7. The method according to claim 6, characterized in that, When the current scene is determined to be a scene with strong reflective illumination, the current illumination intensity of the monitoring device is adjusted, including: When the current scene is determined to be a scene with strong reflective supplementary light, the current supplementary light intensity of the monitoring device is adjusted to a first preset supplementary light intensity range; wherein, the first preset supplementary light intensity range is from 0 to a second preset supplementary light intensity, and the second preset supplementary light intensity is less than the first preset supplementary light intensity.
8. The method according to claim 1, characterized in that, Determine the image sharpness evaluation value of the images captured by the monitoring equipment in the current scene, including: Determine the clarity evaluation value of the images captured by the monitoring equipment in the current scene based on at least two supplementary lighting intensities; When the current scene is determined to be a scene with strong reflective illumination, the illumination intensity of the monitoring device is adjusted, including: When the current scene is determined to be a scene with strong reflective illumination, the illumination intensity of the monitoring device is adjusted to the range of the second preset illumination intensity.
9. The method according to claim 8, characterized in that, The second preset supplementary light intensity range is the target supplementary light intensity range.
10. The method according to claim 1, characterized in that, Also includes: When the sharpness evaluation value corresponding to the minimum supplementary light intensity is less than the sharpness evaluation value corresponding to the maximum supplementary light intensity, the current scene is determined to be a scene with strong reflection without supplementary light. When the current scene is determined to be a scene with strong reflection without supplementary light, the supplementary light intensity of the monitoring device is adjusted to the range of the target supplementary light intensity.
11. A supplementary lighting intensity adjustment device, characterized in that, include: The sharpness evaluation value determination module is used to determine the sharpness evaluation value of the images captured by the monitoring equipment in the current scene; The scene judgment module is used to determine whether the current scene is a scene with strong supplementary lighting and reflection based on the clarity evaluation value. Specifically, when the clarity evaluation value is the clarity evaluation value of images captured by the monitoring device in the current scene based on multiple different supplementary lighting intensities, the module determines whether the current scene is a scene with strong supplementary lighting and reflection based on the changing trend of the clarity evaluation value with the supplementary lighting intensity. Specifically, when the clarity evaluation value first decreases and then stabilizes as the supplementary lighting intensity increases, the current scene is determined to be a scene with strong supplementary lighting and reflection; when the clarity evaluation value first increases and then stabilizes as the supplementary lighting intensity increases, the current scene is determined to be a scene without strong supplementary lighting and reflection. The supplementary lighting intensity adjustment module is used to adjust the supplementary lighting intensity of the monitoring device when the current scene is determined to be a scene with strong supplementary lighting reflection; Alternatively, the scene judgment module is used for: The sharpness evaluation value ratio is calculated based on the sharpness evaluation value and the baseline sharpness evaluation value; wherein, the sharpness evaluation value ratio is the ratio of the sharpness evaluation value to the baseline sharpness evaluation value; Determine the threshold value for the sharpness rating corresponding to the current supplemental lighting intensity; Determine whether the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold; When the sharpness evaluation value ratio is less than the sharpness evaluation value ratio threshold, the current scene is determined to be a scene with strong supplemental lighting and reflection. Alternatively, the scene judgment module is used for: Based on at least two fill light intensities and their corresponding sharpness evaluation values, determine the target fill light intensity range in which the sharpness evaluation value changes the fastest with the fill light intensity; Determine the maximum and minimum supplementary light intensities corresponding to the target supplementary light intensity range; When the sharpness evaluation value corresponding to the minimum supplementary light intensity is greater than the sharpness evaluation value corresponding to the maximum supplementary light intensity, the current scene is determined to be a scene with strong supplementary light reflection.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processing device, it implements the supplementary light intensity adjustment method as described in any one of claims 1-10.
13. A monitoring device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the supplementary light intensity adjustment method as described in any one of claims 1-10.
Citation Information
Patent Citations
Vehicle camera defrosting device and defrosting method
CN111762106A
Power adjusting method and device of light supplementing lamp, computer equipment and storage medium
CN113056068A