CN105554414B - Strong Xanthophyll cycle method and device - Google Patents
Strong Xanthophyll cycle method and device Download PDFInfo
- Publication number
- CN105554414B CN105554414B CN201510937519.7A CN201510937519A CN105554414B CN 105554414 B CN105554414 B CN 105554414B CN 201510937519 A CN201510937519 A CN 201510937519A CN 105554414 B CN105554414 B CN 105554414B
- Authority
- CN
- China
- Prior art keywords
- block
- frame image
- virtual
- overexposure
- current frame
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- KBPHJBAIARWVSC-RGZFRNHPSA-N lutein Chemical compound C([C@H](O)CC=1C)C(C)(C)C=1\C=C\C(\C)=C\C=C\C(\C)=C\C=C\C=C(/C)\C=C\C=C(/C)\C=C\[C@H]1C(C)=C[C@H](O)CC1(C)C KBPHJBAIARWVSC-RGZFRNHPSA-N 0.000 title abstract 4
- 229960005375 lutein Drugs 0.000 title abstract 4
- KBPHJBAIARWVSC-XQIHNALSSA-N trans-lutein Natural products CC(=C/C=C/C=C(C)/C=C/C=C(C)/C=C/C1=C(C)CC(O)CC1(C)C)C=CC=C(/C)C=CC2C(=CC(O)CC2(C)C)C KBPHJBAIARWVSC-XQIHNALSSA-N 0.000 title abstract 4
- FJHBOVDFOQMZRV-XQIHNALSSA-N xanthophyll Natural products CC(=C/C=C/C=C(C)/C=C/C=C(C)/C=C/C1=C(C)CC(O)CC1(C)C)C=CC=C(/C)C=CC2C=C(C)C(O)CC2(C)C FJHBOVDFOQMZRV-XQIHNALSSA-N 0.000 title abstract 4
- 235000008210 xanthophylls Nutrition 0.000 title abstract 4
- 230000001629 suppression Effects 0.000 claims description 35
- 238000012544 monitoring process Methods 0.000 claims description 24
- 230000005764 inhibitory process Effects 0.000 claims description 8
- 230000004313 glare Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000003111 delayed effect Effects 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 2
- 206010017577 Gait disturbance Diseases 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000012806 monitoring device Methods 0.000 description 5
- 230000002411 adverse Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000002401 inhibitory effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 125000001475 halogen functional group Chemical group 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/75—Circuitry for compensating brightness variation in the scene by influencing optical camera components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides strong Xanthophyll cycle method and device, and this method includes:First virtual line of stumbling is set in the picture, and is multiple blocks by the first virtual line region division of stumbling;Current frame image first is obtained virtually to stumble the current signature parameter value of each block in line region;Whether according to the current signature parameter value of each block, judging current frame image first virtually to stumble in line region has overexposure block;If having overexposure block, the fixed reference feature parameter value that block is corresponded in reference frame image is extracted;Judge whether virtually the stumble overexposure block in line region of current frame image first is caused by moving light source;If caused by moving light source, then strong Xanthophyll cycle is started according to the current signature parameter value of overexposure block.Moving light source can be detected according to a small amount of brightness data in line region of virtually stumbling and to carrying out strong Xanthophyll cycle using the present invention, operand is low, and ISP chips support subregional spatial information (si), therefore the technical program practicality is high.
Description
Technical Field
The invention relates to the field of video monitoring, in particular to a method and a device for strong light inhibition.
Background
In the road monitoring application in the field of video monitoring, vehicles running at night can cause a lot of adverse effects on monitoring pictures, such as the problems of vehicle lamp overexposure, dark background, overlarge halo, unclear license plate, exposure flicker and the like. In order to avoid adverse effects caused by vehicles running at night, a day and night monitoring technical scheme can be adopted, namely a monitoring scheme of closing the strong light suppression in the day and opening the strong light suppression at night, but the monitoring scheme reduces the road monitoring effect when no vehicle is in the night, so that a method for detecting the vehicle passing at night in real time can be adopted, the strong light suppression is automatically started and stopped according to the vehicle passing condition, and the video image quality of the vehicle passing at night and the video image quality of the vehicle not in the night are considered.
In the prior art, vehicle detection can be realized by using hardware resources, such as an FPGA (Field-Programmable Gate Array), a DSP (Digital Signal Processor) chip, a hardening operator, and the like. The existing scheme for using the DSP chip to detect the vehicle is as follows: and (3) background modeling based on a Gaussian model, extracting a foreground target by using a background difference method, scanning all pixel points on the virtual tripwire, and judging whether a moving vehicle enters or not according to corresponding characteristics of an object. In the prior art, a DSP chip is used for detecting moving vehicles and is limited by hardware, and the algorithm has large computation amount and poor portability due to a plurality of image pixel points.
Disclosure of Invention
The invention provides a method and a device for strong light suppression, which are used for solving the problems that in the prior art, vehicle detection is limited by hardware, and the arithmetic operation amount and portability are poor.
According to a first aspect of the embodiments of the present invention, there is provided a strong light suppression method, which is applied to a monitoring front-end device, and includes:
setting a first virtual tripwire in an image, and dividing a first virtual tripwire area into a plurality of blocks;
acquiring current characteristic parameter values of all blocks of a first virtual tripwire area of a current frame image;
judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block;
if the block has an overexposure block, extracting a reference characteristic parameter value of a corresponding block in the reference frame image;
judging whether an overexposure block of a first virtual tripwire area of the current frame image is caused by a moving light source or not according to the reference characteristic parameter value;
and if the motion is caused by the motion light source, starting strong light suppression according to the current characteristic parameter value of the overexposure block.
According to a second aspect of the embodiments of the present invention, there is provided a strong light suppression device, which is applied to a monitoring front-end apparatus, the device including:
a setting unit configured to set a first virtual tripwire in an image and divide a first virtual tripwire area into a plurality of blocks;
the calculation unit is used for acquiring current characteristic parameter values of all blocks of a first virtual tripwire area of a current frame image;
the first judging unit is used for judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block;
the extraction unit is used for extracting reference characteristic parameter values of all blocks of the corresponding first virtual tripwire area in the N reference frame images if the overexposure blocks exist;
the second judging unit is used for judging whether an overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source according to the reference characteristic parameter value;
and the strong light suppression unit is used for starting strong light suppression according to the current characteristic parameter value of the overexposure block if the strong light suppression unit is caused by a moving light source.
By applying the embodiment of the invention, the airspace information of the region supported by an ISP (Image Signal Processor) chip in the front-end equipment is monitored, a first virtual tripwire is arranged in the Image, and the first virtual tripwire region is divided into a plurality of blocks; then obtaining the current characteristic parameter value of each block of a first virtual tripwire area of the current frame image; judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block; if the overexposure block exists, extracting a reference characteristic parameter value of a corresponding block in the reference frame image; judging whether an overexposure block of a first virtual tripwire area of the current frame image is caused by a moving light source or not according to the reference characteristic parameter value; and if the motion is caused by a moving light source, starting strong light suppression according to the current characteristic parameter value of the overexposure block. Therefore, the monitoring front-end equipment can detect a moving light source according to a small amount of brightness data of the virtual tripwire area, namely, a running vehicle is detected, and strong light suppression is carried out on overexposure caused by the running vehicle, so that the night road monitoring effect is improved. According to the technical scheme, the vehicles can be detected based on a small amount of data of the virtual tripwire area, so that the operation amount is low, and the current ISP chip generally supports regional airspace information, so that the technical scheme is high in practicability.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of virtual tripwire selection in one embodiment of the present invention;
FIG. 2 is a flow chart of a method for suppressing glare in an embodiment of the present invention;
fig. 3 is a hardware configuration diagram of a front-end monitoring device where the highlight suppression device is located according to an embodiment of the present invention;
fig. 4 is a block diagram of a strong light suppression device according to an embodiment of the present invention.
Detailed Description
For the understanding of the present invention, the following description will be further explained with reference to specific embodiments in conjunction with the drawings, which are not intended to limit the scope of the present invention.
The specific application scene of the technical scheme provided by the embodiment of the invention is road monitoring application in the field of video monitoring, and particularly can be used for a night road monitoring scene.
In the invention, the characteristic parameter is used for measuring video image data, and can be video brightness or frequency domain information. The frequency domain information is based on video brightness, the video brightness is high frequency domain, and the brightness bottom is low frequency domain. The technical scheme of the invention is described in the specification by taking the characteristic parameter as the brightness.
In addition, the technical solution of the present invention does not specifically limit the number and the positions of the virtual tripwires set in the video frame image, and any virtual tripwires may be set at any position. The technical solution is described in the present application by taking two virtual tripwires as an example, but this does not limit the scope of the present invention. Referring to fig. 1, a schematic diagram of virtual tripwire selection in an embodiment of the present invention is shown: in fig. 1, two virtual trip lines are respectively arranged at the upper edge of the image and the lower edge of the image, namely at the first row and the eighth row, the virtual trip line a1 at the upper edge of the image can be used for detecting the entering of the motion light source, the virtual trip line a2 at the lower edge of the image can be used for detecting the leaving of the motion light source, and the number in each block indicates the brightness value of the corresponding block; virtual tripwires A1 and A2 in two orientations also help identify whether an image is a full exposure. The more blocks divided in one virtual tripwire area, the higher the accuracy in detecting the vehicle, but the computation amount is also increased, and if the number of blocks in one virtual tripwire area is too small, a plurality of continuous virtual tripwires can be used as one virtual tripwire area.
Referring to fig. 2, a flowchart of a method for suppressing glare in an embodiment of the present invention:
step 201: a first virtual tripwire is set in the image, and a first virtual tripwire area is divided into a plurality of tiles.
Because the monitoring front-end equipment is provided with the ISP chip which has the airspace information supporting the partition area, the virtual tripwire area can be divided into a plurality of blocks.
Step 202: and acquiring the current characteristic parameter value of each block of the first virtual tripwire area of the current frame image.
When a sensor in the front-end monitoring device sends a data stream of a certain frame of image to the ISP chip, the ISP chip may calculate the data stream to obtain a characteristic parameter value, such as a brightness value, of the frame of image.
Specifically, the brightness values of the blocks of the two virtual trip wire areas at the upper edge and the lower edge of the image can be counted, each virtual trip wire area comprises x blocks, and the brightness value of each block, namely L _1, L _2, L _3 … L _ x, can be calculated.
It should be noted that the mean and variance of the luminance of x blocks in each virtual tripwire region can also be calculated.
Step 203: and judging whether an overexposure block exists in the first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block.
Specifically, a brightness threshold value can be preset, the brightness values of the blocks in the virtual tripwire area are traversed, if the brightness of the blocks in the virtual tripwire area exceeds the brightness threshold value, the blocks are judged to be overexposed, and the number of overexposed blocks in each virtual tripwire area and the coordinates of the overexposed blocks can be recorded.
In order to implement the technical scheme of the invention, a storage table or a database can be established for storing the statistical information of the current frame image and the statistical information of the N frames of reference frame images, wherein the statistical information comprises a frame number, a virtual tripwire number, characteristic parameter values of each block of a virtual tripwire area, coordinates of overexposed blocks, the number of the overexposed blocks, a mean value of the characteristic parameter values of the virtual tripwire area, and a variance of the current characteristic parameter values of the virtual tripwire area.
If the A1 virtual tripwire area of the current frame image has an overexposure block, step 204 is executed, otherwise, the operation is ended.
Step 204: and extracting reference characteristic parameter values of corresponding blocks in the reference frame image.
In order to determine whether the overexposed block of the virtual tripwire area is caused by a moving light source, reference characteristic parameter values of corresponding blocks of the N reference frame images may be stored in a storage table or a database in advance.
Step 205: and judging whether an overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source or not according to the reference characteristic parameter value.
In a possible implementation manner, the step of judging whether an overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source according to the reference characteristic parameter value includes: judging whether an overexposure block of a first virtual tripwire area of the current frame image is an overexposure block in a corresponding block of the reference frame image; if not, the overexposed block is considered to be caused by a moving light source. If the overexposure block is not the overexposure block in the reference image frame, the overexposure block is changed, the overexposure block is caused by a moving light source, and otherwise, the overexposure block is possibly caused by a fixed light source such as a street lamp.
In another possible implementation manner, the step of judging whether an overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source according to the reference characteristic parameter value includes: judging whether the number of over-exposed blocks of a first virtual trip line area of the current frame image is equal to the number of divided blocks of the first virtual trip line area; if so, judging whether the current frame image is subjected to overall overexposure or regional overexposure; and if the region is overexposed, considering that the overexposed block of the first virtual tripwire region of the current frame image is caused by a moving light source. Specifically, if all the blocks of the first virtual tripwire area are over-exposed blocks, it is indicated that the first virtual tripwire area is subjected to overall over-exposure, and since the overall over-exposure of the first virtual tripwire area cannot indicate that the entire image is subjected to overall over-exposure, it can be further determined whether the current frame image is subjected to overall over-exposure or area over-exposure, and if the entire image is subjected to area over-exposure, it can be considered that the current frame image is subjected to overall over-exposure of the first virtual tripwire area caused by a large vehicle or multiple vehicles and is caused by a moving light source.
In one possible implementation manner, the determining whether the current frame image is subjected to overall overexposure or regional overexposure includes: and setting a second virtual tripwire in the image, dividing blocks of the second virtual tripwire area corresponding to the divided blocks of the first virtual tripwire area, and judging whether the current frame image is subjected to integral overexposure or regional overexposure according to a result obtained by comparing the average value of the characteristic parameter values of all the blocks in the first virtual tripwire area of the current frame image with the average value of the characteristic parameter values of all the blocks in the second virtual tripwire area.
Specifically, if the difference between the mean value of the characteristic parameter values of each block in the first virtual tripwire area and the mean value of the characteristic parameter values of each block in the second virtual tripwire area is small or no difference exists, judging that the current frame image is an overall overexposure; otherwise, judging that the current frame image is area overexposure, and the area overexposure is caused by a moving light source.
In another possible implementation manner, the step of determining whether the current frame image is entirely overexposed or area overexposed includes: and judging whether the current frame image is subjected to integral overexposure or regional overexposure according to a result obtained by comparing the variance of the characteristic parameter value of each block in the first virtual tripwire region of the current frame image with the variance of the characteristic parameter value of each block in the first virtual tripwire region of the reference frame image.
Specifically, extracting N first reference characteristic parameter value variances of corresponding first virtual tripwire areas in N reference frame images, and if the current reference characteristic parameter value variance of the first virtual tripwire area in the current frame image is determined to be gradually changed according to the N first reference characteristic parameter value variances, judging that the current frame image is subjected to overall overexposure; and if the current reference characteristic parameter value variance of the first virtual tripwire area in the current frame image is determined to be abrupt change according to the N first reference characteristic parameter value variances, judging that the current frame image is area overexposure.
If it is the overexposure of the image caused by the moving light source, step 206 is performed.
Step 206: and starting strong light suppression according to the current characteristic parameter value of the overexposure block.
Because the real-time requirement of road monitoring is high, when the situation that a vehicle passes through at night is detected, the highest brightness value of the overexposure block is taken as the exposure target value, the strong light inhibition strategy can be started quickly, and in order to inhibit strong light quickly, the adjustment speed and the step length of automatic exposure can be improved, and other related parameters of the monitored image also need to be adjusted quickly to the parameter values for inhibiting strong light.
Step 207: after the strong light inhibition is started, the strong light inhibition is closed in a delayed mode according to a preset value.
A virtual tripwire can be specially arranged to detect whether the moving light source leaves a monitoring area of the front section monitoring equipment, and if so, the strong light suppression can be turned off in a delayed mode according to a preset value.
Specifically, when the image exposure and other image parameters are repeatedly adjusted in a short time, the live effect may be unstable, and in order to prevent the image exposure and other image parameters from being repeatedly adjusted due to intermittent vehicle passing, the highlight suppression may be turned off slowly when the moving light source leaves, that is, the adjustment step length is reduced or a delay mechanism is enabled, that is, the highlight suppression strategy may be turned off slowly after a certain time delay.
In addition, according to the technical scheme, the video characteristic data are counted in a virtual tripwire area mode, the data volume is greatly reduced compared with the whole image, so that the calculation amount is greatly reduced, and on the premise of not influencing the detection performance of the vehicle, various detection algorithms can be adopted to improve the accuracy of the detection of the moving light source.
As can be seen from the embodiment shown in fig. 2, since the ISP chip has the characteristic of supporting the spatial domain information of the partitioned area, the first virtual tripwire is set in the image, and the first virtual tripwire area is divided into a plurality of blocks; then obtaining the current characteristic parameter value of each block of a first virtual tripwire area of the current frame image; judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block; if the overexposure block exists, extracting a reference characteristic parameter value of a corresponding block in the reference frame image; judging whether an overexposure block of a first virtual tripwire area of the current frame image is caused by a moving light source or not according to the reference characteristic parameter value; and if the motion is caused by a moving light source, starting strong light suppression according to the current characteristic parameter value of the overexposure block. Therefore, the monitoring front-end equipment can detect a moving light source according to a small amount of brightness data of the virtual tripwire area, namely, a running vehicle is detected, and strong light suppression is carried out on overexposure caused by the running vehicle, so that the night road monitoring effect is improved. According to the technical scheme, the vehicles can be detected based on a small amount of data of the virtual tripwire area, so that the operation amount is low, and the current ISP chip generally supports regional airspace information, so that the technical scheme is high in practicability.
Fig. 3 is a hardware structure diagram of a front-end monitoring device where the highlight suppression device is located in an embodiment of the present invention:
the embodiment of the strong light inhibition device can be applied to front-end monitoring equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a logical device, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory by the CPU of the device where the device is located and running the computer program instructions. From a hardware aspect, as shown in fig. 3, which is a hardware structure diagram of a front-end monitoring device where a glare suppression apparatus is located in an embodiment of the present invention, in addition to the CPU, the ISP chip, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the device where the apparatus is located in an embodiment may generally include other hardware.
Referring to fig. 4, it is a block diagram of an apparatus for suppressing strong light in an embodiment of the present invention, where the apparatus is applied to a front-end monitoring device:
the device comprises: setting unit 410, calculating unit 420, first judging unit 430, extracting unit 440, second judging unit 450 and strong light inhibiting unit 460.
A setting unit 410 for setting a first virtual tripwire in an image and dividing a first virtual tripwire area into a plurality of blocks;
a calculating unit 420, configured to obtain current characteristic parameter values of each block of a first virtual tripwire area in a current frame image;
a first determining unit 430, configured to determine whether an overexposed block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block;
an extracting unit 440, configured to extract a reference feature parameter value of each block of the corresponding first virtual tripwire region in the N reference frame images if there is an overexposed block;
a second determining unit 450, configured to determine, according to the reference feature parameter value, whether an overexposure block in the first virtual tripwire region of the current frame image is caused by a moving light source;
a strong light suppression unit 460, configured to initiate strong light suppression according to the current characteristic parameter value of the overexposure block if it is caused by a moving light source.
Optionally, the second determining unit 450 includes: a first sub-unit 451, configured to determine whether an overexposed block of the first virtual tripwire region in the current frame image corresponds to an overexposed block in the reference frame image; a second subunit 452, configured to consider the overexposed block as being caused by a moving light source if the overexposed block is not an overexposed block.
The second judging unit 450 further includes: a third sub-unit 453, configured to determine whether the number of over-exposed blocks of the first virtual tripwire area of the current frame image is equal to the number of blocks into which the first virtual tripwire area is divided; a fourth subunit 454, configured to, if yes, determine whether the current frame image is subjected to overall overexposure or regional overexposure; a fifth sub-unit 455, configured to consider that the overexposed block of the first virtual tripwire area of the current frame image is caused by a moving light source if the area overexposure is determined.
Specifically, the fourth subunit 454 is specifically configured to set a second virtual tripwire in the image, divide a block into blocks, where the second virtual tripwire region corresponds to the divided blocks of the first virtual tripwire region, and determine whether the current frame image is subjected to overall overexposure or regional overexposure according to a result obtained by comparing an average value of characteristic parameter values of each block in the first virtual tripwire region of the current frame image with an average value of characteristic parameter values of each block in the second virtual tripwire region; or, according to the result obtained by comparing the variance of the characteristic parameter value of each block in the first virtual tripwire region of the current frame image with the variance of the characteristic parameter value of each block in the first virtual tripwire region of the reference frame image, judging whether the current frame image is subjected to overall overexposure or regional overexposure.
Optionally, the strong light suppression unit 460 is further configured to delay turning off the strong light suppression according to a preset value after the strong light suppression is started.
Optionally, the setting unit 410 is specifically configured to set at least two virtual tripwires in the image, where the at least two virtual tripwires include a first virtual swizzle wire and a departure virtual swizzle wire that is far away from the first virtual swizzle wire.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
1. A strong light suppression method is applied to monitoring front-end equipment, and comprises the following steps:
setting a first virtual tripwire in an image, and dividing a first virtual tripwire area into a plurality of blocks;
acquiring current characteristic parameter values of all blocks of a first virtual tripwire area of a current frame image;
judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block;
if the block has an overexposure block, extracting a reference characteristic parameter value of a corresponding block in the reference frame image;
judging whether an overexposure block of a first virtual tripwire area of the current frame image is caused by a moving light source or not according to the reference characteristic parameter value;
if the motion light source is caused, starting strong light suppression according to the current characteristic parameter value of the overexposure block;
the characteristic parameter is a parameter for measuring video image data, and comprises video brightness or frequency domain information based on the video brightness.
2. The method of claim 1, wherein the step of determining whether the overexposed block of the first virtual tripwire region of the current frame image is caused by a moving light source according to the reference feature parameter value comprises:
judging whether an overexposure block of the first virtual tripwire area of the current frame image is an overexposure block in a corresponding block of the reference frame image;
if not, the overexposed block is considered to be caused by a moving light source.
3. The method according to claim 1, wherein the step of determining whether the overexposed block of the first virtual tripwire area of the current frame image is caused by a moving light source according to the reference feature parameter value comprises:
judging whether the number of over-exposed blocks of a first virtual trip line area of the current frame image is equal to the number of divided blocks of the first virtual trip line area;
if so, judging whether the current frame image is subjected to overall overexposure or regional overexposure;
and if the region is overexposed, considering that the overexposed block of the first virtual tripwire region of the current frame image is caused by a moving light source.
4. The method of claim 3, wherein the step of determining whether the current frame image is entirely overexposed or area overexposed comprises: setting a second virtual tripwire in the image, dividing a second virtual tripwire area into blocks corresponding to the divided blocks of the first virtual tripwire area, and judging whether the current frame image is subjected to integral overexposure or regional overexposure according to a result obtained by comparing the average value of the characteristic parameter values of all the blocks in the first virtual tripwire area of the current frame image with the average value of the characteristic parameter values of all the blocks in the second virtual tripwire area;
or, the step of judging whether the current frame image is subjected to overall overexposure or regional overexposure comprises: and judging whether the current frame image is subjected to integral overexposure or regional overexposure according to a result obtained by comparing the variance of the characteristic parameter value of each block in the first virtual tripwire region of the current frame image with the variance of the characteristic parameter value of each block in the first virtual tripwire region of the reference frame image.
5. The method of claim 1, further comprising: after the strong light inhibition is started, the strong light inhibition is closed in a delayed mode according to a preset value.
6. The method of claim 1, wherein at least two virtual tripwires are provided in the image, including a first virtual bridle and an exit virtual bridle remote from the first virtual bridle.
7. A glare suppressing apparatus, wherein the apparatus is used in a monitoring front-end device, the apparatus comprising:
a setting unit configured to set a first virtual tripwire in an image and divide a first virtual tripwire area into a plurality of blocks;
the calculation unit is used for acquiring current characteristic parameter values of all blocks of a first virtual tripwire area of a current frame image;
the first judging unit is used for judging whether an overexposure block exists in a first virtual tripwire area of the current frame image according to the current characteristic parameter value of each block;
the extraction unit is used for extracting reference characteristic parameter values of all blocks of the corresponding first virtual tripwire area in the N reference frame images if the overexposure blocks exist;
the second judging unit is used for judging whether an overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source according to the reference characteristic parameter value;
the strong light suppression unit is used for starting strong light suppression according to the current characteristic parameter value of the overexposure block if the strong light suppression unit is caused by a moving light source;
the characteristic parameter is a parameter for measuring video image data, and comprises video brightness or frequency domain information based on the video brightness.
8. The apparatus according to claim 7, wherein the second determining unit comprises:
the first subunit is used for judging whether an overexposed block of the first virtual tripwire area of the current frame image corresponds to an overexposed block of the reference frame image;
and the second subunit is used for considering that the overexposed block is caused by the moving light source if the overexposed block is not the overexposed block.
9. The apparatus of claim 7, wherein the second determining unit further comprises:
the third subunit is configured to determine whether the number of over-exposed blocks in the first virtual trip line area of the current frame image is equal to the number of blocks into which the first virtual trip line area is divided;
a fourth subunit, configured to determine whether the current frame image is subjected to overall overexposure or regional overexposure if the current frame image is equal to the area overexposure;
and the fifth subunit is used for considering that the overexposure block of the first virtual tripwire area of the current frame image is caused by a moving light source if the area is overexposed.
10. The apparatus according to claim 9, wherein the fourth subunit is specifically configured to set a second virtual tripwire in the image, divide a block into blocks in which a second virtual tripwire region corresponds to the first virtual tripwire region, and determine whether the current frame image is entirely overexposed or area overexposed according to a result obtained by comparing a mean value of characteristic parameter values of the blocks in the first virtual tripwire region with a mean value of characteristic parameter values of the blocks in the second virtual tripwire region of the current frame image; or,
and judging whether the current frame image is subjected to integral overexposure or regional overexposure according to a result obtained by comparing the variance of the characteristic parameter value of each block in the first virtual tripwire region of the current frame image with the variance of the characteristic parameter value of each block in the first virtual tripwire region of the reference frame image.
11. The apparatus of claim 7, wherein the strong light suppression unit is further configured to delay turning off the strong light suppression according to a preset value after the strong light suppression is started.
12. The device according to claim 7, characterized in that the setting unit is particularly adapted to set at least two virtual tripwires in the image, including a first virtual swizzle wire and an exit virtual swizzle wire remote from the first virtual swizzle wire.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510937519.7A CN105554414B (en) | 2015-12-15 | 2015-12-15 | Strong Xanthophyll cycle method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510937519.7A CN105554414B (en) | 2015-12-15 | 2015-12-15 | Strong Xanthophyll cycle method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105554414A CN105554414A (en) | 2016-05-04 |
CN105554414B true CN105554414B (en) | 2018-04-27 |
Family
ID=55833332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510937519.7A Active CN105554414B (en) | 2015-12-15 | 2015-12-15 | Strong Xanthophyll cycle method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105554414B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101568B (en) * | 2016-08-16 | 2021-06-01 | 北京中星微电子有限公司 | Strong light inhibition method and device based on intelligent analysis |
CN109922274B (en) * | 2017-12-13 | 2021-05-14 | 深圳英飞拓科技股份有限公司 | Camera highlight suppression method and device based on histogram |
CN109981971B (en) * | 2017-12-28 | 2022-03-11 | 浙江宇视科技有限公司 | Flashlight effect eliminating method and device |
CN110891146B (en) * | 2018-09-10 | 2021-12-28 | 浙江宇视科技有限公司 | Strong light inhibition method and device |
CN113259612A (en) * | 2021-07-14 | 2021-08-13 | 深圳市海清视讯科技有限公司 | Strong light inhibition method, device, equipment and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251927A (en) * | 2008-04-01 | 2008-08-27 | 东南大学 | Vehicle Detection and Tracking Method Based on Video Technology |
CN201349263Y (en) * | 2009-01-23 | 2009-11-18 | 深圳市景阳科技股份有限公司 | Strong light suppression circuit and camera |
CN102137231A (en) * | 2010-12-31 | 2011-07-27 | 天津市亚安科技电子有限公司 | Method and device for preventing highlights from directly irradiating light sensitive device of vidicon |
CN102708548A (en) * | 2012-05-14 | 2012-10-03 | 陈军 | Night vision image enhancing method |
CN103208185A (en) * | 2013-03-19 | 2013-07-17 | 东南大学 | Method and system for nighttime vehicle detection on basis of vehicle light identification |
CN103780845A (en) * | 2014-02-28 | 2014-05-07 | 金三立视频科技(深圳)有限公司 | Method and device for strong light inhibition on basis of non-wide-dynamic function |
CN204596151U (en) * | 2015-04-03 | 2015-08-26 | 广东安居宝智能控制系统有限公司 | Vehicle image acquisition system |
-
2015
- 2015-12-15 CN CN201510937519.7A patent/CN105554414B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251927A (en) * | 2008-04-01 | 2008-08-27 | 东南大学 | Vehicle Detection and Tracking Method Based on Video Technology |
CN201349263Y (en) * | 2009-01-23 | 2009-11-18 | 深圳市景阳科技股份有限公司 | Strong light suppression circuit and camera |
CN102137231A (en) * | 2010-12-31 | 2011-07-27 | 天津市亚安科技电子有限公司 | Method and device for preventing highlights from directly irradiating light sensitive device of vidicon |
CN102708548A (en) * | 2012-05-14 | 2012-10-03 | 陈军 | Night vision image enhancing method |
CN103208185A (en) * | 2013-03-19 | 2013-07-17 | 东南大学 | Method and system for nighttime vehicle detection on basis of vehicle light identification |
CN103780845A (en) * | 2014-02-28 | 2014-05-07 | 金三立视频科技(深圳)有限公司 | Method and device for strong light inhibition on basis of non-wide-dynamic function |
CN204596151U (en) * | 2015-04-03 | 2015-08-26 | 广东安居宝智能控制系统有限公司 | Vehicle image acquisition system |
Also Published As
Publication number | Publication date |
---|---|
CN105554414A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105554414B (en) | Strong Xanthophyll cycle method and device | |
CN111491108B (en) | Exposure parameter adjusting method and device | |
US10212397B2 (en) | Abandoned object detection apparatus and method and system | |
EP2549738B1 (en) | Method and camera for determining an image adjustment parameter | |
CN110505412B (en) | Method and device for calculating brightness value of region of interest | |
US9904860B2 (en) | Vehicle exterior environment recognition apparatus | |
CN112288642B (en) | Ghost detection method, image fusion method and corresponding device | |
GB2542686A (en) | Video data analyzing method and apparatus and parking lot monitoring system | |
JP2006074164A5 (en) | ||
US7925152B2 (en) | Exposure control method | |
CN109922275B (en) | Self-adaptive adjustment method and device of exposure parameters and shooting equipment | |
JP7305965B2 (en) | Video surveillance system parameter setting method, device and video surveillance system | |
CN105007430B (en) | The method and apparatus set for determining exposure | |
US20180260964A1 (en) | System and method for detecting moving object in an image | |
WO2011079691A1 (en) | Method and device for detecting nighttime vehicles | |
CN110753178B (en) | Exposure time adjusting method and device and camera | |
CN106791476A (en) | A kind of image-pickup method and device | |
WO2017084075A1 (en) | Method and apparatus for switching region of interest | |
CN114727024A (en) | Automatic exposure parameter adjusting method and device, storage medium and shooting equipment | |
CN107343154B (en) | Method, device and system for determining exposure parameters of camera device | |
CN115037871B (en) | Method, device, electronic device and computer-readable storage medium for controlling focus | |
CN105469604A (en) | A Vehicle Detection Method in Tunnel Based on Surveillance Image | |
JP2001357396A (en) | Image processor and image recognizing device | |
CN116994177A (en) | Video analysis method, device, equipment and medium | |
CN116801109A (en) | Method for capturing color features of sports figures under low illumination and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |