CN116193237A - Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment - Google Patents

Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment Download PDF

Info

Publication number
CN116193237A
CN116193237A CN202111412596.2A CN202111412596A CN116193237A CN 116193237 A CN116193237 A CN 116193237A CN 202111412596 A CN202111412596 A CN 202111412596A CN 116193237 A CN116193237 A CN 116193237A
Authority
CN
China
Prior art keywords
intensity
light
evaluation value
scene
light supplementing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111412596.2A
Other languages
Chinese (zh)
Inventor
毛栊哗
毛强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202111412596.2A priority Critical patent/CN116193237A/en
Publication of CN116193237A publication Critical patent/CN116193237A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Projection Apparatus (AREA)

Abstract

The embodiment of the invention discloses a method and a device for adjusting the intensity of light supplement, a storage medium and monitoring equipment, wherein the method comprises the following steps: determining a definition evaluation value of a shot image of the monitoring equipment in a current scene; judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value; and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment. The technical scheme provided by the embodiment of the invention not only solves the technical problems of serious light supplementing reflection and poor monitoring effect in the monitoring picture caused by the fact that the monitoring equipment supplements light in the light supplementing intensity reflection scene, but also identifies the current scene through the definition evaluation value, and adjusts the light supplementing intensity of the monitoring equipment to a reasonable range when the current scene is identified as the light supplementing intensity reflection scene, so that the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.

Description

Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a device for adjusting the intensity of light supplement, a storage medium and monitoring equipment.
Background
When monitoring is performed by using monitoring equipment such as a camera in a night environment, the monitoring cannot be performed normally due to insufficient brightness of a picture caused by too dark environment. In order to solve the problem of insufficient illumination of a scene at night, a light supplementing lamp is usually started to supplement light to a monitored scene. However, when rainy days are met, the raindrops are close to the lenses of the monitoring equipment, the light supplement and reflection are serious, and the whole monitoring picture is fogged and whitened, so that the normal monitoring scene is affected. Similar scenarios also exist: foreign matter shielding, haze days, sand storm weather, guideboard light supplementing reflection and other light supplementing reflection scenes can all lead to the light supplementing reflection of the monitoring equipment picture. The monitoring equipment can lead the foreground brightness to be too high because of light supplementing and light reflecting, and the definition details of the real background monitoring scene picture are reduced, thereby influencing the normal monitoring.
A common solution is to extend the sunshade of the monitoring device beyond the lens of the monitoring device, as shown in the schematic structural diagram of the monitoring device in fig. 1. The setting of sunshade makes the raindrop fall time apart from the camera lens certain distance, can make light filling reflection of light can weaken slightly. However, the scheme is limited in that the sunshade cannot infinitely exceed the lens of the monitoring device, so that the monitoring device always has the problem of light supplementing and reflecting existing in light supplementing and reflecting scenes such as rainy days.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting the intensity of light supplement, a storage medium and monitoring equipment, which can effectively improve the definition of a monitoring picture of the monitoring equipment and improve the quality of the monitoring picture.
In a first aspect, an embodiment of the present invention provides a method for adjusting a light intensity of a light supplement, including:
determining a definition evaluation value of a shot image of the monitoring equipment in a current scene;
judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value;
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment.
In a second aspect, an embodiment of the present invention further provides a device for adjusting a light intensity, including:
the definition evaluation value determining module is used for determining a definition evaluation value of a shot image of the monitoring equipment in the current scene;
the scene judging module is used for judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value;
and the light supplementing intensity adjusting module is used for adjusting the light supplementing intensity of the monitoring equipment when the current scene is determined to be a light supplementing intensity reflection scene.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method for adjusting intensity of light compensation as provided by the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a monitoring device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for adjusting the intensity of the light supplement provided in the embodiment of the present invention when executing the computer program.
The embodiment of the invention provides a light supplementing intensity adjusting scheme, which is used for determining a definition evaluation value of a shot image of monitoring equipment in a current scene; judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value; and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment. The technical scheme provided by the embodiment of the invention not only solves the technical problems of serious light supplementing reflection and poor monitoring effect in the monitoring picture caused by the fact that the monitoring equipment supplements light in the light supplementing intensity reflection scene, but also identifies the current scene through the definition evaluation value, and adjusts the light supplementing intensity of the monitoring equipment to a reasonable range when the current scene is identified as the light supplementing intensity reflection scene, so that the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
Drawings
FIG. 1 is a schematic diagram of a prior art monitoring device;
FIG. 2 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention;
FIG. 4A is a diagram showing the effect of an image captured when the current intensity of the light is not adjusted in the reflection scene without intensity of the light provided by the embodiment of the invention;
FIG. 4B is a diagram showing the effect of an image captured when the current intensity of the light is not adjusted in the light-compensating intensity reflection scene according to the embodiment of the present invention;
fig. 4C is an effect diagram of a captured image after adjusting a current light intensity under the light intensity compensation reflection scene provided by the embodiment of the present invention;
fig. 5A is a trend chart of the light intensity and the sharpness evaluation value in a conventional scene according to an embodiment of the present invention;
FIG. 5B is a trend chart of the intensity of the light supplement and the sharpness evaluation value under a preset light supplement intensity reflection scene;
FIG. 6 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a light intensity compensating device according to another embodiment of the invention;
fig. 8 is a schematic structural view of a monitoring device according to another embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While the invention is susceptible of embodiment in the drawings, it is to be understood that the invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the invention. It should be understood that the drawings and embodiments of the invention are for illustration purposes only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., 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 of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Fig. 2 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention, where the method may be performed by an apparatus for adjusting the intensity of light, and the apparatus may be composed of hardware and/or software and may be generally integrated in a monitoring device. As shown in fig. 2, the method specifically includes the following steps:
step 210, determining a sharpness evaluation value of the photographed image of the monitoring device in the current scene.
The monitoring equipment can comprise cameras in different forms such as spherical cameras, gun-shaped cameras and the like. The current scenario may be understood as a monitoring scenario of the monitoring device at the current moment. In the embodiment of the invention, an image shot by monitoring equipment in a current scene is acquired, and a definition Evaluation Value (EV) of the shot image is determined, wherein the definition Evaluation Value is an Evaluation index for measuring the quality of the image. In the embodiment of the invention, the definition evaluation value of the shot image can be determined by adopting a gradient information function method or an image frequency domain analysis method, and the determination mode of the definition evaluation value is not limited.
In the embodiment of the invention, the current light supplementing intensity of the monitoring equipment in the current scene can be determined, wherein the current light supplementing intensity can be understood as the light supplementing intensity set by the monitoring equipment at the current moment in the current scene, and then the definition evaluation value of the image shot by the monitoring equipment in the current scene based on the current light supplementing intensity is determined. Optionally, the definition evaluation values corresponding to the photographed images of the monitoring device under the current scene based on the plurality of different light intensity of the light supplement can be determined respectively, that is, the definition evaluation values corresponding to the photographed images of the monitoring device under the current scene are determined respectively, wherein each definition evaluation value corresponds to different light intensity of the light supplement respectively.
And 220, judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value.
The light supplementing intensity reflection scene can comprise special scenes such as shielding due to foreign matters, haze days, sand storm weather, rainy days, guideboard light supplementing reflection and the like, and under the characteristic scenes, the monitoring equipment is high in brightness due to strong light supplementing (higher light supplementing intensity) of the light supplementing lamp, so that the image foreground shot by the monitoring equipment is too high, and the definition of the detail characteristics of the image is obviously reduced.
In the embodiment of the invention, when determining the sharpness evaluation value of the image shot by the monitoring equipment based on the current light supplementing intensity under the current scene, whether the current scene is a light supplementing intensity reflection scene can be judged by judging whether the sharpness evaluation value is smaller than the sharpness evaluation value threshold value. The definition evaluation value threshold is a threshold corresponding to the current light supplementing intensity. It can be understood that different current light intensity and corresponding sharpness evaluation value thresholds are different. For example, when the sharpness evaluation value is smaller than the sharpness evaluation value threshold, it may be determined that the current scene is a light-compensating intensity-reflecting scene. Optionally, when determining that the monitoring device captures the sharpness evaluation values corresponding to the images based on the plurality of different light intensity supplements in the current scene respectively, whether the current scene is a light intensity reflection scene may be determined by analyzing the rules presented by the sharpness evaluation values corresponding to the different light intensity supplements. When the definition evaluation value is continuously enhanced along with the intensity of the light supplement under the current scene, the current scene can be determined to be the light supplement intensity reflection scene when the definition evaluation value is firstly reduced and then tends to be stable; and when the sharpness evaluation value is continuously enhanced along with the intensity of the light supplement under the current scene, and the sharpness evaluation value is firstly increased and then tends to be stable, the current scene can be determined to be a reflection scene without the intensity of the light supplement (namely a conventional scene).
And step 230, when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment.
In the embodiment of the invention, when the current scene is determined to be the light intensity reflection scene based on the definition evaluation value of the current light intensity shooting image, the current light intensity of the monitoring equipment is adjusted, wherein the current light intensity can be adjusted to be within a reasonable light intensity range. Optionally, when determining that the current scene is the light intensity reflection scene based on the sharpness evaluation values corresponding to the plurality of photographed images with different light intensity, determining the corresponding relative proper light intensity of the monitoring device in the current scene, and adjusting the current light intensity of the monitoring device to be within the proper light intensity range.
The embodiment of the invention provides a method for adjusting the intensity of light supplement, which is used for determining a definition evaluation value of a shot image of monitoring equipment in a current scene; judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value; and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment. The technical scheme provided by the embodiment of the invention not only solves the technical problems of serious light supplementing reflection and poor monitoring effect in the monitoring picture caused by the fact that the monitoring equipment supplements light in the light supplementing intensity reflection scene, but also identifies the current scene through the definition evaluation value, and adjusts the light supplementing intensity of the monitoring equipment to a reasonable range when the current scene is identified as the light supplementing intensity reflection scene, so that the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
In some embodiments, determining a sharpness evaluation value of an image captured by a monitoring device in a current scene includes: determining the current light supplementing intensity of the monitoring equipment; determining a definition evaluation value of the image shot by the monitoring equipment under the current scene based on the current light supplementing intensity; when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment, wherein the method comprises the following steps: and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the current light supplementing intensity of the monitoring equipment.
Optionally, before judging whether the current scene is a light intensity compensating reflection scene according to the sharpness evaluation value, the method further includes: determining a basic definition evaluation value of the monitoring equipment in a current scene based on the current light supplementing intensity shooting image; judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps: and judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value and the basic definition evaluation value. The basic definition evaluation value can be understood as a definition evaluation value of stable corresponding pictures of the monitoring equipment under the current light intensity, and the corresponding basic definition evaluation values of the monitoring equipment under different light intensity are different. For example, after the monitoring device is stably operated for a preset period of time under the current intensity of the light supplement, the clear evaluation value of the image shot by the monitoring device under the current scene may be used as the basic clear evaluation value. Optionally, according to the definition evaluation value and the basic definition evaluation value, judging whether the current scene is a light-compensating intensity reflection scene. Judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value and the basic definition evaluation value, comprising: calculating a definition evaluation value ratio according to the definition evaluation value and the basic definition evaluation value; the definition evaluation value ratio is the ratio of the definition evaluation value to the basic definition evaluation value; determining a definition evaluation value ratio threshold corresponding to the current light supplementing intensity; judging whether the ratio of the definition evaluation value is smaller than the definition evaluation value A ratio threshold; and when the definition evaluation value ratio is smaller than the definition evaluation value ratio threshold, determining that the current scene is a light supplementing intensity reflection scene. In the embodiment of the invention, the definition evaluation value ratio corresponding to the image shot by the monitoring equipment based on the current light supplementing intensity in the current scene is calculated, wherein the definition evaluation value ratio is the ratio of the definition evaluation value to the basic definition evaluation value of the image shot by the monitoring equipment based on the current light supplementing intensity in the current scene, namely
Figure BDA0003374732990000081
Wherein EV is R Represents the ratio of the sharpness evaluation values, EV Cur Represents the sharpness evaluation value, EV base The base sharpness evaluation value is represented. The corresponding definition evaluation value ratio threshold value of the monitoring equipment under the current light supplementing intensity is determined, and it can be understood that the corresponding definition evaluation value ratio threshold value of the monitoring equipment under different current light supplementing intensities is different. Judging whether the definition evaluation value ratio is smaller than the corresponding definition evaluation value ratio threshold, if yes, determining that the current scene is a light-compensating intensity reflection scene, otherwise, determining that the current scene is a light-compensating intensity reflection scene (namely a conventional scene). That is, whether the current scene is a light-compensating intensity reflection scene or a conventional scene can be judged according to the following formula: / >
Figure BDA0003374732990000082
Wherein EVRatio (LED) x ) And the definition evaluation value ratio threshold corresponding to the current light supplementing intensity is represented.
Optionally, determining the basic definition evaluation value of the monitoring device in the current scene based on the current light intensity, includes: continuously acquiring at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity; respectively calculating first definition evaluation values of the at least two images; calculating a standard deviation of the sharpness evaluation value based on the first sharpness evaluation value, when the standard deviation is smaller than a preset standard deviation threshold,calculating an average value of the first definition evaluation values, and taking the average value as a basic definition evaluation value of an image shot by the monitoring equipment under the current scene based on the current light intensity; and when the standard deviation is greater than or equal to the preset standard deviation threshold, returning to execute continuous acquisition of at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity until the standard deviation is smaller than the preset standard deviation threshold. For example, the continuous acquisition monitoring device captures a numl image based on the current light intensity under the current scene, and calculates the sharpness evaluation value corresponding to the numl image respectively, so that the sharpness evaluation value corresponding to the numl image can be referred to as a first sharpness evaluation value for convenience of subsequent expression. Where numl is an integer greater than or equal to 2, for example, numl=30, and the acquisition Time interval of two images may be Time. In the embodiment of the invention, numl first definition evaluation values are combined into a definition evaluation value EV sequence: EV { EV1, EV2, …, EVnum1}, and then calculate the standard deviation of the corresponding sharpness evaluation values based on the EV sequence
Figure BDA0003374732990000091
Wherein (1)>
Figure BDA0003374732990000092
When the standard deviation sigma of the definition evaluation values is smaller than a preset standard deviation threshold value, the average value of the first definition evaluation values in the EV sequence is +.>
Figure BDA0003374732990000093
Basic definition evaluation value of image shot by monitoring equipment based on current light supplementing intensity under current scene, namely +.>
Figure BDA0003374732990000094
And returning to re-acquire the numl image shot by the monitoring equipment based on the current light supplementing intensity in the current scene when the standard deviation sigma of the definition evaluation value is larger than or equal to a preset standard deviation threshold value until the standard deviation is smaller than the preset standard deviation threshold value.
Optionally, before determining the sharpness evaluation value ratio threshold corresponding to the current light supplementing intensity, the method further includes: respectively acquiring second definition evaluation values of the monitoring equipment in a preset light-compensating intensity reflection scene based on at least two light-compensating intensity shooting images; respectively acquiring third definition evaluation values of the monitoring equipment in a preset non-light-compensating intensity reflection scene based on the at least two light-compensating intensity shooting images; the preset light-supplementing intensity reflection scene and the preset light-supplementing-intensity-free reflection scene correspond to the same shooting environment; calculating a definition evaluation value ratio threshold corresponding to the at least two light supplementing intensities according to the second definition evaluation value and the third definition evaluation value; the ratio threshold of the definition evaluation value is the ratio of the second definition evaluation value to the third definition evaluation value corresponding to the same light supplementing intensity. The method has the advantage that the ratio threshold value of the definition evaluation values corresponding to different light compensating intensities of the monitoring equipment in the light compensating intensity reflection scene can be determined.
The preset light supplementing intensity reflection scene can be any one of special scenes such as foreign matter shielding, haze days, sand storm weather, rainy weather, guideboard light supplementing reflection and the like. And respectively acquiring images shot by the monitoring equipment based on at least two light compensating intensities under a preset light compensating intensity reflection scene, and calculating definition evaluation values of the light compensating images, wherein the definition evaluation values are called second definition evaluation values for convenience of subsequent description. For example, a second sharpness evaluation value of the monitoring device based on n different light-compensating intensity photographed images in a preset light-compensating intensity reflection scene may be obtained, where each light-compensating intensity may be represented as an LED i = { LED1, LED2, …, LEDn } (i=1, …, n), wherein the intensity of the supplemental light increases with increasing value of i. Monitoring equipment is based on light supplementing intensity LED under preset light supplementing intensity reflection scene i The second sharpness evaluation value of the photographed image can be expressed as: EVBlur (LED) i ) = { EV1, EV2, …, EVn } (i=1, …, n). Respectively acquiring images shot by the monitoring equipment based on at least two light-compensating intensities under a preset light-compensating-intensity-free reflection scene, and calculating definition evaluation values of the light-compensating images, wherein the images are used for facilitating subsequent description The sharpness evaluation value is referred to as a third sharpness evaluation value. For example, a third sharpness evaluation value of the monitoring device based on n different light-compensating intensity photographed images in a preset non-light-compensating intensity reflection scene may be obtained, where each light-compensating intensity may be represented as an LED i = { LED1, LED2, …, LEDn } (i=1, …, n), wherein the intensity of the supplemental light increases with increasing value of i. Monitoring equipment is based on light supplementing intensity LED under preset light supplementing intensity-free reflection scene i The third sharpness evaluation value of the photographed image can be expressed as: EVNorm (LED) i ) = { EV1, EV2, …, EVn, } (i=1, …, n). The preset light-supplementing-intensity reflection scene corresponds to the same shooting environment with the preset light-supplementing-intensity-free reflection scene, and the preset light-supplementing-intensity-free reflection scene can be a scene except special scenes such as foreign matter shielding, haze days, sand storm weather, rainy weather, guideboard light supplementing reflection and the like. And calculating a definition evaluation value ratio threshold corresponding to the same light supplementing intensity according to the second definition evaluation value and the third definition evaluation value corresponding to the same light supplementing intensity. Wherein, supervisory equipment is at light filling intensity LED i The corresponding sharpness evaluation value ratio threshold can be expressed as:
Figure BDA0003374732990000111
Figure BDA0003374732990000112
therefore, the definition evaluation value ratio threshold corresponding to the current light supplementing intensity can be searched from the definition evaluation value ratio threshold corresponding to the plurality of light supplementing intensities.
In some embodiments, before determining whether the current scene is a light intensity compensation reflection scene according to the sharpness evaluation value, the method further includes: judging whether the current light supplementing intensity is larger than a first preset light supplementing intensity or not; judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps: and when the current light supplementing intensity is larger than the first preset light supplementing intensity, judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value. The advantage of this arrangement is that the effectiveness and necessity of the adjustment of the compensating light intensity of the monitoring device can be effectively ensured. Specifically, when the current light supplementing intensity of the monitoring device is small, even if the current scene is a light supplementing intensity reflection scene, the light supplementing reflection phenomenon in the monitoring picture can not be serious, and the quality influence on the collected image of the monitoring device can not be great. Therefore, before judging whether the current scene is a light-compensating intensity reflection scene according to the definition evaluation value, judging whether the current light-compensating intensity is larger than a first preset light-compensating intensity, if so, indicating that if the current scene is the light-compensating intensity reflection scene, if the light-compensating intensity is too large, the light-compensating intensity reflection phenomenon of the monitoring picture can be caused, so that the definition of the shot image is poor, and further judging whether the current scene is the light-compensating intensity reflection scene according to the definition evaluation value is needed to determine that the current light-compensating intensity needs to be adjusted. The first preset light intensity is the light intensity at which the image shot by the monitoring equipment starts to become unclear under the preset light intensity reflection scene. Optionally, when the current compensation light intensity is less than or equal to the first preset compensation light intensity, the current compensation light intensity may be directly maintained without adjusting the compensation light intensity of the monitoring device.
Optionally, when the current scene is determined to be a light-compensating intensity reflection scene, adjusting the current light-compensating intensity of the monitoring device includes: when the current scene is determined to be a light supplementing intensity reflection scene, the current light supplementing intensity of the monitoring equipment is adjusted to be within a first preset light supplementing intensity range; the first preset light supplementing intensity ranges from 0 to second preset light supplementing intensity, and the second preset light supplementing intensity is smaller than the first preset light supplementing intensity. In the embodiment of the invention, when the current light intensity is greater than the first preset light intensity and whether the current scene is a light intensity reflection scene is judged according to the definition evaluation value, the current light intensity of the monitoring equipment is adjusted to be within a first preset light intensity range, wherein the first preset light intensity range is 0 to a second preset light intensity, and the second preset light intensity is smaller than the first preset light intensity, namely, the current light intensity of the monitoring equipment is adjusted to be not higher than the second preset light intensity. The second preset light supplementing intensity is the light supplementing intensity of the image captured by the monitoring equipment under the preset light supplementing intensity reflection scene, and the light supplementing effect and the image blurring degree can be considered.
Fig. 3 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention, as shown in fig. 3, the method specifically includes the following steps:
step 310, determining a current supplemental light intensity of the monitoring device.
Step 320, determining whether the current light intensity is greater than a first preset light intensity, if yes, executing step 330, otherwise, executing step 390.
Step 330, determining a sharpness evaluation value of the image shot by the monitoring device based on the current intensity of the light supplement under the current scene.
Step 340, determining a basic definition evaluation value of the monitoring device for shooting the image based on the current light supplementing intensity under the current scene.
Step 350, calculating a definition evaluation value ratio according to the definition evaluation value and the basic definition evaluation value; the ratio of the definition evaluation value is the ratio of the definition evaluation value to the basic definition evaluation value.
Step 360, determining a sharpness evaluation value ratio threshold corresponding to the current light supplementing intensity.
Step 370, determining whether the sharpness evaluation value ratio is smaller than the sharpness evaluation value ratio threshold, if yes, executing step 380, otherwise executing step 390.
Step 380, determining that the current scene is a light-compensating intensity reflection scene, and adjusting the current light-compensating intensity of the monitoring equipment to be within a first preset light-compensating intensity range; the first preset light supplementing intensity ranges from 0 to second preset light supplementing intensity, and the second preset light supplementing intensity is smaller than the first preset light supplementing intensity.
Step 390, keeping the current light intensity of the monitoring device unchanged.
Fig. 4A is an effect diagram of a shot image when the current light intensity is not adjusted in the light intensity-free reflective scene according to the embodiment of the present invention; FIG. 4B is a diagram showing the effect of an image captured when the current intensity of the light is not adjusted in the light-compensating intensity reflection scene according to the embodiment of the present invention; fig. 4C is an effect diagram of a captured image after adjusting a current light intensity under the light intensity reflection scene provided by the embodiment of the present invention. As can be seen from fig. 4A and 4B, the quality of the photographed image when the current light intensity is not adjusted in the light intensity reflection scene is significantly smaller than the quality of the photographed image when the current light intensity is not adjusted in the light intensity reflection scene; as can be seen from fig. 4B and 4C, the quality of the photographed image after the current light intensity is adjusted in the light intensity reflection scene is significantly better than the quality of the photographed image when the current light intensity is not adjusted in the light intensity reflection scene.
The embodiment of the invention provides a method for adjusting the light intensity, which is characterized in that when the current light intensity of monitoring equipment is larger than a first preset light intensity, the current scene is identified through a definition evaluation value, when the current scene is identified as a light intensity reflection scene, the light intensity of the monitoring equipment is adjusted to be within a preset light intensity range, wherein the preset light intensity range is 0-second preset light intensity, the second preset light intensity is smaller than the first preset light intensity, the technical problems that the light intensity reflection is serious and the monitoring effect is poor in a monitoring picture when the monitoring equipment performs strong light compensation under the light intensity reflection scene are solved, and the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
In some embodiments, determining a sharpness evaluation value of an image captured by a monitoring device in a current scene includes: respectively determining definition evaluation values of the shot images of the monitoring equipment under the current scene based on at least two light supplementing intensities; judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps: judging whether the current scene is a light-compensating intensity reflection scene or not according to the at least two light-compensating intensities and the corresponding definition evaluation values; when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment, wherein the method comprises the following steps: and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment to be within a second preset light supplementing intensity range.
In the embodiment of the invention, the definition evaluation values of the image shot by the monitoring equipment based on m different light supplementing intensities under the current scene are respectively determined, so that m definition evaluation values are obtained. The m sharpness evaluation values and the corresponding data on the intensity of the light supplement can be expressed as: LED-EV (LEDi, EVi) = { (LED 1, EV 1), (LED 2, EV 2), …, (LEDm, EVm) } (i=1, 2, …, m). And judging whether the current scene is a light-compensating intensity reflection scene or not according to the m light-compensating intensities and the corresponding definition evaluation values. For example, a relation graph of the definition evaluation value and the light intensity of the light supplement under the current scene can be drawn according to m light intensity of the light supplement and the corresponding definition evaluation value; acquiring trend graphs of the light supplementing intensity and the definition evaluation value under different scenes (preset light supplementing intensity reflection scenes and conventional scenes); and judging the similarity of the relation graph and each trend graph to judge whether the current scene is a light supplementing intensity reflection scene or not. Fig. 5A is a trend chart of the light intensity and the sharpness evaluation value in a conventional scene according to an embodiment of the present invention; fig. 5B is a trend chart of the light intensity and the sharpness evaluation value in the preset light intensity reflection scene. The light-compensating reflection scene is as shown in fig. 5B: with the increase of the light supplementing intensity, the monitoring equipment receives the strong reflection light source, the monitoring picture is too bright, and the automatic exposure presses the picture brightness, so that the background detail in the monitoring picture is reduced due to the decrease of the reflection surface brightness, and the definition evaluation value of the monitoring picture is reduced.
Optionally, determining whether the current scene is a light-compensating intensity reflection scene according to the at least two light-compensating intensities and the corresponding sharpness evaluation values includes: determining a target light supplementing intensity range in which the definition evaluation value changes most rapidly along with the light supplementing intensity based on the at least two light supplementing intensities and the corresponding definition evaluation values; determining the maximum light supplementing intensity and the minimum light supplementing intensity corresponding to the target light supplementing intensity range; and when the definition evaluation value corresponding to the minimum light supplementing intensity is larger than the definition evaluation value corresponding to the maximum light supplementing intensity, determining that the current scene is a light supplementing intensity reflection scene. Exemplary, a target light intensity range (LED) with the fastest change of the definition evaluation value along with the light intensity is determined from the m light intensity according to the m light intensity and the corresponding definition evaluation value num-min ,LED num-max ). Wherein, the relation curve between the definition evaluation value and the light supplementing intensity in the current scene can be drawnAnd the line graph takes the light-compensating intensity range corresponding to the target curve segment with the fastest change of the definition evaluation value along with the light-compensating intensity in the relation graph as the target light-compensating intensity range with the fastest change of the definition evaluation value along with the light-compensating intensity. LED for determining minimum light supplementing intensity in target light supplementing intensity range num-min Corresponding sharpness evaluation value EV num-min And maximum light-supplementing intensity LED num-max Corresponding sharpness evaluation value EV num-max Wherein EV is num-min Representing only the smallest LED num-min The sharpness evaluation value corresponding to the light supplementing intensity does not represent the value, EV num-max Also represents only the maximum EV num-max The sharpness evaluation value corresponding to the light supplementing intensity does not represent the numerical value. In the embodiment of the present invention, the magnitude relation between the sharpness evaluation value corresponding to the minimum light intensity and the sharpness evaluation value corresponding to the maximum light intensity is determined, and according to the trend chart shown in fig. 5B, it is known that when the sharpness evaluation value corresponding to the minimum light intensity is greater than the sharpness evaluation value corresponding to the maximum light intensity, the current scene is determined to be the light intensity reflection scene.
Optionally, the second preset light intensity range is the target light intensity range. It can be understood that, when the current scene is determined to be the light-compensating intensity reflection scene according to the definition evaluation value corresponding to the minimum light-compensating intensity and the definition evaluation value corresponding to the maximum light-compensating intensity in the target light-compensating intensity range, the light-compensating intensity of the current scene is adjusted to be within the target light-compensating intensity range. This is because, when the light intensity is smaller than the minimum light intensity within the target light intensity range, the current scene is not bright enough, and at the same time, there is not enough light intensity to cause the whole photographed picture to be dark; when the light intensity is larger than the maximum light intensity in the target light intensity range, the background of the shot picture is entirely blackened and the foreground is overexposed due to the influence of light intensity reflection. In the embodiment of the invention, the light compensation intensity of the monitoring equipment is adjusted to a target light compensation intensity range (LED) num-min ,LED num-max ) The influence of the brightness of the shot picture and the reflection of the light supplementing intensity on the image blurring degree can be considered, so that the quality of the shot picture is integrally improved.
Optionally, when the definition evaluation value corresponding to the minimum light intensity is smaller than the definition evaluation value corresponding to the maximum light intensity, determining that the current scene is a reflection scene without light intensity; and when the current scene is determined to be a reflection scene without the light supplementing intensity, adjusting the light supplementing intensity of the monitoring equipment to be within the target light supplementing intensity range. As shown in the trend chart of fig. 5A, when the sharpness evaluation value corresponding to the minimum light intensity is smaller than the sharpness evaluation value corresponding to the maximum light intensity, the current scene is determined to be a reflection scene without light intensity, and at this time, the light intensity of the monitoring device is adjusted to be within the target light intensity range. The reason for this is that, as can be seen from fig. 5A, in the non-light-intensity-reflection scene (normal scene), the increase of the light intensity does not greatly increase the brightness of the shot image of the monitoring device, but the power consumption of the monitoring device is greatly increased, and therefore, in the non-light-intensity-reflection scene, the light intensity of the monitoring device is adjusted to the target light intensity range (LED num-min ,LED num-max ) And on the premise of ensuring the overall brightness of the shot picture, the power consumption of the monitoring equipment can be reduced.
Fig. 6 is a flowchart of a method for adjusting the intensity of light according to an embodiment of the present invention, as shown in fig. 6, the method specifically includes the following steps:
step 610, determining sharpness evaluation values of the captured images of the monitoring device based on at least two light intensity supplements under the current scene respectively.
Step 620, determining a target light intensity range in which the sharpness evaluation value changes most rapidly with the light intensity, based on at least two light intensities and the corresponding sharpness evaluation values.
Step 630, determining the maximum and minimum light intensity corresponding to the target light intensity range.
Step 640, determining whether the sharpness evaluation value corresponding to the minimum light intensity is greater than the sharpness evaluation value corresponding to the maximum light intensity, if yes, executing step 650, otherwise, executing step 660.
Step 650, determining that the current scene is a light-compensating intensity reflection scene, and adjusting the light-compensating intensity of the monitoring device to be within the target light-compensating intensity range.
Step 660, determining that the current scene is a reflection scene without the light supplementing intensity, and adjusting the light supplementing intensity of the monitoring device to be within the target light supplementing intensity range.
The embodiment of the invention provides a method for adjusting light intensity, which is used for respectively determining the definition evaluation value of a shot image of monitoring equipment under a current scene based on at least two light intensity; determining a target light supplementing intensity range with the fastest change of the definition evaluation value along with the light supplementing intensity based on at least two light supplementing intensities and the corresponding definition evaluation value; when the definition evaluation value corresponding to the minimum light intensity within the target light intensity range is larger than the definition evaluation value corresponding to the maximum light intensity, the current scene is determined to be a light intensity reflection scene, and the light intensity of the monitoring equipment is adjusted to be within the target light intensity range, so that the technical problems that the light intensity reflection is serious and the monitoring effect is poor when the monitoring equipment performs strong light compensation under the light intensity reflection scene are solved, the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
Fig. 7 is a schematic structural diagram of a light compensation intensity adjusting device according to another embodiment of the invention. As shown in fig. 7, the apparatus includes: a sharpness evaluation value determination module 710, a scene determination module 720, and a supplemental light intensity adjustment module 730. Wherein, the liquid crystal display device comprises a liquid crystal display device,
The definition evaluation value determining module 710 is configured to determine a definition evaluation value of an image captured by the monitoring device in a current scene;
the scene judging module 720 is configured to judge whether the current scene is a light-compensating intensity reflection scene according to the sharpness evaluation value;
and the light compensation intensity adjusting module 730 is configured to adjust the light compensation intensity of the monitoring device when the current scene is determined to be a light compensation intensity reflection scene.
The embodiment of the invention provides a light supplementing intensity adjusting device, which is used for determining a definition evaluation value of a shot image of monitoring equipment in a current scene; judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value; and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment. The technical scheme provided by the embodiment of the invention not only solves the technical problems of serious light supplementing reflection and poor monitoring effect in the monitoring picture caused by the fact that the monitoring equipment supplements light in the light supplementing intensity reflection scene, but also identifies the current scene through the definition evaluation value, and adjusts the light supplementing intensity of the monitoring equipment to a reasonable range when the current scene is identified as the light supplementing intensity reflection scene, so that the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
Optionally, the sharpness evaluation value determining module is configured to:
determining the current light supplementing intensity of the monitoring equipment;
determining a definition evaluation value of the image shot by the monitoring equipment under the current scene based on the current light supplementing intensity;
the light supplementing intensity adjusting module is used for:
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the current light supplementing intensity of the monitoring equipment.
Optionally, the apparatus further includes:
the basic definition evaluation value determining module is used for determining a basic definition evaluation value of the monitoring equipment for shooting an image based on the current light supplementing intensity under the current scene before judging whether the current scene is the light supplementing intensity reflection scene according to the definition evaluation value;
the scene judging module comprises:
and the first scene judging unit is used for judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value and the basic definition evaluation value.
Optionally, the first scene determination unit is configured to:
calculating a definition evaluation value ratio according to the definition evaluation value and the basic definition evaluation value; the definition evaluation value ratio is the ratio of the definition evaluation value to the basic definition evaluation value;
Determining a definition evaluation value ratio threshold corresponding to the current light supplementing intensity;
judging whether the definition evaluation value ratio is smaller than the definition evaluation value ratio threshold;
and when the definition evaluation value ratio is smaller than the definition evaluation value ratio threshold, determining that the current scene is a light supplementing intensity reflection scene.
Optionally, the base definition evaluation value determining module is configured to:
continuously acquiring at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity;
respectively calculating first definition evaluation values of the at least two images;
calculating a standard deviation of the definition evaluation value based on the first definition evaluation value, calculating an average value of the first definition evaluation value when the standard deviation is smaller than a preset standard deviation threshold value, and taking the average value as a basic definition evaluation value of the monitoring equipment in a current scene based on the current light supplementing intensity shooting image;
and when the standard deviation is greater than or equal to the preset standard deviation threshold, returning to execute continuous acquisition of at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity until the standard deviation is smaller than the preset standard deviation threshold.
Optionally, the apparatus further includes:
the second definition evaluation value acquisition unit is used for respectively acquiring second definition evaluation values of the monitoring equipment in a preset light intensity compensating reflection scene based on at least two light intensity compensating shooting images before determining a definition evaluation value ratio threshold corresponding to the current light intensity;
the second definition evaluation value acquisition unit is used for respectively acquiring third definition evaluation values of the monitoring equipment in a preset non-light-intensity-compensation reflection scene based on the at least two light-compensation intensity shooting images; the preset light-supplementing intensity reflection scene and the preset light-supplementing-intensity-free reflection scene correspond to the same shooting environment;
the definition evaluation value ratio threshold calculating unit is used for calculating the definition evaluation value ratio threshold corresponding to the at least two light supplementing intensities according to the second definition evaluation value and the third definition evaluation value; the ratio threshold of the definition evaluation value is the ratio of the second definition evaluation value to the third definition evaluation value corresponding to the same light supplementing intensity.
Optionally, the apparatus further includes:
the light intensity compensation judging module is used for judging whether the current light intensity is larger than a first preset light intensity compensation before judging whether the current scene is a light intensity compensation reflection scene according to the definition evaluation value;
The scene judging module is used for:
and when the current light supplementing intensity is larger than the first preset light supplementing intensity, judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value.
Optionally, the light compensation intensity adjusting module is configured to:
when the current scene is determined to be a light supplementing intensity reflection scene, the current light supplementing intensity of the monitoring equipment is adjusted to be within a first preset light supplementing intensity range; the first preset light supplementing intensity ranges from 0 to second preset light supplementing intensity, and the second preset light supplementing intensity is smaller than the first preset light supplementing intensity.
Optionally, the sharpness evaluation value determining module is configured to:
respectively determining definition evaluation values of the shot images of the monitoring equipment under the current scene based on at least two light supplementing intensities;
the scene judging module comprises:
the second scene judging unit is used for judging whether the current scene is a light-compensating intensity reflection scene or not according to the at least two light-compensating intensities and the corresponding definition evaluation values;
the light supplementing intensity adjusting module is used for:
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment to be within a second preset light supplementing intensity range.
Optionally, the second scene determination unit is configured to:
determining a target light supplementing intensity range in which the definition evaluation value changes most rapidly along with the light supplementing intensity based on the at least two light supplementing intensities and the corresponding definition evaluation values;
determining the maximum light supplementing intensity and the minimum light supplementing intensity corresponding to the target light supplementing intensity range;
and when the definition evaluation value corresponding to the minimum light supplementing intensity is larger than the definition evaluation value corresponding to the maximum light supplementing intensity, determining that the current scene is a light supplementing intensity reflection scene.
Optionally, the second preset light intensity range is the target light intensity range.
Optionally, the method further comprises:
the non-compensation intensity reflection scene determining module is used for determining that the current scene is a non-compensation intensity reflection scene when the definition evaluation value corresponding to the minimum compensation intensity is smaller than the definition evaluation value corresponding to the maximum compensation intensity; and when the current scene is determined to be a reflection scene without the light supplementing intensity, adjusting the light supplementing intensity of the monitoring equipment to be within the target light supplementing intensity range.
The device can execute the method provided by all the embodiments of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.
The embodiment of the invention also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing the light intensity compensation adjustment method provided by the embodiment of the invention.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, rambus (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the above-described operation of adjusting the intensity of the light supplement, and may also perform the related operations in the method of adjusting the intensity of the light supplement provided in any embodiment of the present invention.
The embodiment of the invention provides monitoring equipment, and the light supplementing intensity adjusting device provided by the embodiment of the invention can be integrated in the monitoring equipment. Fig. 8 is a block diagram of a monitoring device according to an embodiment of the present invention. The monitoring device 800 may include: a memory 801, a processor 802 and a computer program stored in the memory 801 and executable by the processor, the processor 802 implements the method for adjusting the intensity of the supplemental light according to the embodiment of the invention when executing the computer program.
The monitoring equipment provided by the embodiment of the invention determines the definition evaluation value of the shot image of the monitoring equipment in the current scene; judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value; and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment. The technical scheme provided by the embodiment of the invention not only solves the technical problems of serious light supplementing reflection and poor monitoring effect in the monitoring picture caused by the fact that the monitoring equipment supplements light in the light supplementing intensity reflection scene, but also identifies the current scene through the definition evaluation value, and adjusts the light supplementing intensity of the monitoring equipment to a reasonable range when the current scene is identified as the light supplementing intensity reflection scene, so that the definition of the monitoring picture of the monitoring equipment can be effectively improved, and the quality of the monitoring picture is improved.
The light intensity compensation adjustment device, the storage medium and the monitoring device provided in the above embodiments can execute the light intensity compensation adjustment method provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the above embodiments may be referred to the method for adjusting the intensity of the light supplement provided in any embodiment of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (15)

1. A method for adjusting the intensity of light supplement, comprising:
determining a definition evaluation value of a shot image of the monitoring equipment in a current scene;
Judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value;
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment.
2. The method of claim 1, determining a sharpness evaluation value of an image captured by a monitoring device in a current scene, comprising:
determining the current light supplementing intensity of the monitoring equipment;
determining a definition evaluation value of the image shot by the monitoring equipment under the current scene based on the current light supplementing intensity;
when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment, wherein the method comprises the following steps:
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the current light supplementing intensity of the monitoring equipment.
3. The method of claim 2, further comprising, prior to determining whether the current scene is a light intensity compensated reflective scene based on the sharpness evaluation value:
determining a basic definition evaluation value of the monitoring equipment in a current scene based on the current light supplementing intensity shooting image;
judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps:
And judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value and the basic definition evaluation value.
4. The method of claim 3, wherein determining whether the current scene is a light complement intensity reflection scene based on the sharpness evaluation value and the base sharpness evaluation value comprises:
calculating a definition evaluation value ratio according to the definition evaluation value and the basic definition evaluation value; the definition evaluation value ratio is the ratio of the definition evaluation value to the basic definition evaluation value;
determining a definition evaluation value ratio threshold corresponding to the current light supplementing intensity;
judging whether the definition evaluation value ratio is smaller than the definition evaluation value ratio threshold;
and when the definition evaluation value ratio is smaller than the definition evaluation value ratio threshold, determining that the current scene is a light supplementing intensity reflection scene.
5. A method according to claim 3, wherein determining a base sharpness evaluation value of the captured image of the monitoring device in the current scene based on the current supplemental light intensity comprises:
continuously acquiring at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity;
Respectively calculating first definition evaluation values of the at least two images;
calculating a standard deviation of the definition evaluation value based on the first definition evaluation value, calculating an average value of the first definition evaluation value when the standard deviation is smaller than a preset standard deviation threshold value, and taking the average value as a basic definition evaluation value of the monitoring equipment in a current scene based on the current light supplementing intensity shooting image;
and when the standard deviation is greater than or equal to the preset standard deviation threshold, returning to execute continuous acquisition of at least two images shot by the monitoring equipment under the current scene based on the current light supplementing intensity until the standard deviation is smaller than the preset standard deviation threshold.
6. The method of claim 4, further comprising, prior to determining the sharpness evaluation value ratio threshold corresponding to the current patch intensity:
respectively acquiring second definition evaluation values of the monitoring equipment in a preset light-compensating intensity reflection scene based on at least two light-compensating intensity shooting images;
respectively acquiring third definition evaluation values of the monitoring equipment in a preset non-light-compensating intensity reflection scene based on the at least two light-compensating intensity shooting images; the preset light-supplementing intensity reflection scene and the preset light-supplementing-intensity-free reflection scene correspond to the same shooting environment;
Calculating a definition evaluation value ratio threshold corresponding to the at least two light supplementing intensities according to the second definition evaluation value and the third definition evaluation value; the ratio threshold of the definition evaluation value is the ratio of the second definition evaluation value to the third definition evaluation value corresponding to the same light supplementing intensity.
7. The method according to any one of claims 2-6, further comprising, before determining whether the current scene is a light-compensating intensity-reflecting scene according to the sharpness evaluation value:
judging whether the current light supplementing intensity is larger than a first preset light supplementing intensity or not;
judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps:
and when the current light supplementing intensity is larger than the first preset light supplementing intensity, judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value.
8. The method of claim 7, wherein adjusting the current supplemental light intensity of the monitoring device when the current scene is determined to be a supplemental light intensity reflective scene comprises:
when the current scene is determined to be a light supplementing intensity reflection scene, the current light supplementing intensity of the monitoring equipment is adjusted to be within a first preset light supplementing intensity range; the first preset light supplementing intensity ranges from 0 to second preset light supplementing intensity, and the second preset light supplementing intensity is smaller than the first preset light supplementing intensity.
9. The method of claim 1, wherein determining a sharpness evaluation value of an image captured by a monitoring device in a current scene comprises:
respectively determining definition evaluation values of the shot images of the monitoring equipment under the current scene based on at least two light supplementing intensities;
judging whether the current scene is a light supplementing intensity reflection scene according to the definition evaluation value comprises the following steps:
judging whether the current scene is a light-compensating intensity reflection scene or not according to the at least two light-compensating intensities and the corresponding definition evaluation values;
when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment, wherein the method comprises the following steps:
and when the current scene is determined to be a light supplementing intensity reflection scene, adjusting the light supplementing intensity of the monitoring equipment to be within a second preset light supplementing intensity range.
10. The method of claim 9, wherein determining whether the current scene is a light intensity-compensating reflective scene based on the at least two light intensity-compensating values and the corresponding sharpness evaluation values comprises:
determining a target light supplementing intensity range in which the definition evaluation value changes most rapidly along with the light supplementing intensity based on the at least two light supplementing intensities and the corresponding definition evaluation values;
Determining the maximum light supplementing intensity and the minimum light supplementing intensity corresponding to the target light supplementing intensity range;
and when the definition evaluation value corresponding to the minimum light supplementing intensity is larger than the definition evaluation value corresponding to the maximum light supplementing intensity, determining that the current scene is a light supplementing intensity reflection scene.
11. The method of claim 10, wherein the second predetermined supplemental light intensity range is the target supplemental light intensity range.
12. The method as recited in claim 10, further comprising:
when the definition evaluation value corresponding to the minimum light supplementing intensity is smaller than the definition evaluation value corresponding to the maximum light supplementing intensity, determining that the current scene is a reflection scene without light supplementing intensity;
and when the current scene is determined to be a reflection scene without the light supplementing intensity, adjusting the light supplementing intensity of the monitoring equipment to be within the target light supplementing intensity range.
13. A light intensity compensating device, comprising:
the definition evaluation value determining module is used for determining a definition evaluation value of a shot image of the monitoring equipment in the current scene;
the scene judging module is used for judging whether the current scene is a light supplementing intensity reflection scene or not according to the definition evaluation value;
And the light supplementing intensity adjusting module is used for adjusting the light supplementing intensity of the monitoring equipment when the current scene is determined to be a light supplementing intensity reflection scene.
14. A computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processing device, implements the light intensity compensation adjustment method according to any one of claims 1 to 12.
15. A monitoring device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the method of adjusting the intensity of the supplemental light as claimed in any of claims 1 to 12 when the computer program is executed by the processor.
CN202111412596.2A 2021-11-25 2021-11-25 Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment Pending CN116193237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111412596.2A CN116193237A (en) 2021-11-25 2021-11-25 Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111412596.2A CN116193237A (en) 2021-11-25 2021-11-25 Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment

Publications (1)

Publication Number Publication Date
CN116193237A true CN116193237A (en) 2023-05-30

Family

ID=86436945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111412596.2A Pending CN116193237A (en) 2021-11-25 2021-11-25 Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment

Country Status (1)

Country Link
CN (1) CN116193237A (en)

Similar Documents

Publication Publication Date Title
US11108970B2 (en) Flicker mitigation via image signal processing
AU2020100175A4 (en) Retinex-based progressive image enhancement method
CN110718069B (en) Image brightness adjusting method and device and storage medium
WO2018228310A1 (en) Image processing method and apparatus, and terminal
CN102542552B (en) Frontlighting and backlighting judgment method of video images and detection method of shooting time
WO2019205751A1 (en) Image enhancement method
CN111294575B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108289173B (en) Camera shooting control method and device, terminal equipment and storage medium
CN110443766B (en) Image processing method and device, electronic equipment and readable storage medium
CN111368587B (en) Scene detection method, device, terminal equipment and computer readable storage medium
CN113163123A (en) Automatic focusing method and device, electronic equipment and storage medium
CN113163127B (en) Image processing method, device, electronic equipment and storage medium
CN111741228B (en) Exposure adjusting method and device for panoramic image
CN107454317B (en) Image processing method, image processing device, computer-readable storage medium and computer equipment
US11445127B2 (en) Leveraging HDR sensors for handling mixed illumination auto white balance
CN111626958B (en) Exposure adjusting method, exposure adjusting device, computer-readable storage medium and electronic equipment
CN113808135B (en) Image brightness abnormality detection method, electronic device, and storage medium
CN117152182B (en) Ultralow-illumination network camera image processing method and device and electronic equipment
Khan et al. Recent advancement in haze removal approaches
CN110428411B (en) Backlight plate detection method and system based on secondary exposure
CN116193237A (en) Method and device for adjusting light supplementing intensity, storage medium and monitoring equipment
US20130286245A1 (en) System and method for minimizing flicker
CN115334250B (en) Image processing method and device and electronic equipment
KR102136716B1 (en) Apparatus for Improving Image Quality and Computer-Readable Recording Medium with Program Therefor
Chung et al. Under-exposed image enhancement using exposure compensation

Legal Events

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