CN116801109A - Method for capturing color features of sports figures under low illumination and computer storage medium - Google Patents

Method for capturing color features of sports figures under low illumination and computer storage medium Download PDF

Info

Publication number
CN116801109A
CN116801109A CN202310777286.3A CN202310777286A CN116801109A CN 116801109 A CN116801109 A CN 116801109A CN 202310777286 A CN202310777286 A CN 202310777286A CN 116801109 A CN116801109 A CN 116801109A
Authority
CN
China
Prior art keywords
motion
logic
white light
started
ambient illuminance
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
CN202310777286.3A
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.)
Tianjin Tiandy Information Systems Integration Co ltd
Original Assignee
Tianjin Tiandy Information Systems Integration 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 Tianjin Tiandy Information Systems Integration Co ltd filed Critical Tianjin Tiandy Information Systems Integration Co ltd
Priority to CN202310777286.3A priority Critical patent/CN116801109A/en
Publication of CN116801109A publication Critical patent/CN116801109A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The application relates to a method for capturing color features of a sports character under low illumination and a computer storage medium, which comprise the following steps: step 1, judging whether to enter a frame dropping logic according to the ambient illuminance condition; step 2, judging whether the white light supplementing logic needs to be started according to the current ambient illuminance after entering the frame dropping logic, and automatically adjusting the frame rate according to whether a moving object exists in a current picture if the white light supplementing logic does not need to be started; if the white light supplementing lamp logic needs to be started, the white light supplementing lamp is started or stopped according to whether a moving object exists in the current picture, and then the capturing of the color characteristics of the moving person under low illumination is completed. The application can ensure clear grabbing of the color features of the sports figures, and simultaneously reduce noise and light pollution.

Description

Method for capturing color features of sports figures under low illumination and computer storage medium
Technical Field
The application belongs to the technical field of intelligent monitoring, and relates to a method for capturing color features of a sports person, in particular to a method for capturing color features of a sports person under low illumination.
Background
The existing monitoring equipment has the problems of poor imaging quality of a color picture, large noise, unclear observation and obvious tailing of a moving object at night, particularly in an environment with lower illumination, and almost plays a role in effective monitoring; after the white light is used for supplementing light, the light pollution is serious.
No prior art publication is found, either the same or similar to the present application, upon retrieval.
Disclosure of Invention
The application aims to overcome the defects of the prior art, and provides a method for capturing the color features of a sports figure under low illumination, which can ensure that the color features of the sports figure are captured clearly, and simultaneously reduce noise and light pollution.
The application solves the practical problems by adopting the following technical scheme:
a method for capturing color features of an athletic character under low illumination comprises the following steps:
step 1, judging whether to enter a frame dropping logic according to the ambient illuminance condition;
step 2, judging whether the white light supplementing logic needs to be started according to the current ambient illuminance after entering the frame dropping logic, and automatically adjusting the frame rate according to whether a moving object exists in a current picture if the white light supplementing logic does not need to be started; if the white light supplementing lamp logic needs to be started, the white light supplementing lamp is started or stopped according to whether a moving object exists in the current picture, and then the capturing of the color characteristics of the moving person under low illumination is completed.
Moreover, the specific steps of the step 1 include:
(1) Analyzing the ambient illuminance, and counting the exposure information of the current environment;
(2) Calculating the current ambient illuminance according to the exposure information of the current environment counted in the step (1);
(3) If the current ambient illuminance is greater than a preset frame dropping threshold, maintaining a normal frame rate mode; if the current ambient illuminance is smaller than a preset frame dropping threshold value, starting a frame dropping mode;
moreover, the specific steps of the step 2 include:
(1) After entering the frame dropping logic, if the current ambient illuminance does not reach the white light supplementing lamp, the white light supplementing logic is not started, meanwhile, the motion detection logic is started to be executed, whether a motion person exists in the current picture is analyzed, and if the motion person exists, the frame rate is recovered; if the motion person does not exist, frame dropping is carried out, and the exposure time is increased;
(2) If the current ambient illuminance reaches the condition of turning on the white light supplement lamp, entering an automatic light supplement control logic, and simultaneously starting to execute a motion detection logic to analyze whether a motion person exists in a current picture, and if the motion person exists, turning on the white light supplement lamp; if the sports person is not present, the white light supplementary light is turned off.
The specific step of determining whether the moving object exists in the current picture in the step 2 includes:
(1) The acquired front and rear frames of images are subjected to difference value, and the images after the difference value are subjected to binarization processing;
(2) Performing expansion treatment on the binarized image, and then performing corrosion treatment to determine a motion edge;
(3) And counting the position of the motion area, dividing the motion area into different motion areas, judging whether the motion area has motion or not by judging the size of the motion area, and judging whether the motion area has motion or not if the motion area is larger than a motion detection threshold value, and judging whether the motion area has no motion if the motion area is smaller than the motion detection threshold value.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method for capturing color features of a sports character under low illumination.
The application has the advantages and beneficial effects that:
the application provides a method for capturing color features of a sports figure under low illumination, which takes monitoring effectiveness as a principle, and automatically adjusts exposure time by intelligently detecting ambient illumination so as to improve brightness and definition of a picture; if the current ambient illuminance is relatively good, before entering the light supplementing logic, automatically adjusting the frame rate according to whether a moving object exists in a picture, and ensuring the grabbing of the color features of the moving character; if the current ambient illuminance is low, the logic of the white light supplementing lamp is automatically started, the intelligent moving object is detected, if the moving person exists, the white light supplementing lamp is automatically started, the ambient illuminance is improved, the grabbing of the color features of the moving person is ensured, and if the moving person does not exist, the white light supplementing lamp is turned off, so that light pollution is reduced.
Drawings
FIG. 1 is a process flow diagram of the present application;
FIG. 2 is a flow chart of the ambient illumination analysis and the control of the down-frame and light-filling lamps according to the present application;
fig. 3 is a flow chart of motion detection according to the present application.
Detailed Description
Embodiments of the application are described in further detail below with reference to the attached drawing figures:
a method for capturing color features of an athletic character under low illumination, as shown in fig. 1 and 2, comprising the steps of:
step 1, judging whether to enter a frame dropping logic according to the ambient illuminance condition;
the specific steps of the step 1 comprise:
(1) Analyzing the ambient illuminance, and counting the exposure information of the current environment;
in this embodiment, the exposure information of the current environment includes: exposure time ExpTime
(unit: us), exposure gain ExpGain (1 x), picture brightness PicLum, ambient illuminance EnvLum, and motion information MoveInfo (a result derived from motion detection logic, moveinfo=0 indicates no motion, moveinfo=1 indicates motion);
(2) Calculating the current ambient illuminance according to the exposure information of the current environment counted in the step (1);
in this embodiment, the calculation formula of the ambient illuminance is as follows:
EnvLum=1024*sqrt((PicLum*PicLum)/(ExpTime*ExpGain));
(3) If the current ambient illuminance is greater than a preset frame dropping threshold, maintaining a normal frame rate mode; if the current ambient illuminance is smaller than a preset frame dropping threshold value, starting a frame dropping mode;
step 2, judging whether the white light supplementing logic needs to be started according to the current ambient illuminance after entering the frame dropping logic, and automatically adjusting the frame rate according to whether a moving object exists in a current picture if the white light supplementing logic does not need to be started; if the white light supplementing lamp logic needs to be started, the white light supplementing lamp is started or stopped according to whether a moving object exists in the current picture, and then the capturing of the color characteristics of the moving person under low illumination is completed.
The specific steps of the step 2 include:
(1) After entering the frame dropping logic, if the current ambient illuminance does not reach the white light supplementing lamp, the white light supplementing logic is not started, meanwhile, the motion detection logic is started to be executed, whether a motion person exists in the current picture is analyzed, if the motion person exists, the frame rate is recovered, and the definition of the motion person is ensured; if no moving person exists, frame dropping is performed, the exposure time is increased, the definition of the picture is ensured, and the noise is reduced.
(2) If the current ambient illuminance reaches the condition that the white light supplementing lamp is turned on, entering an automatic light supplementing control logic, and simultaneously starting to execute a motion detection logic to analyze whether a motion figure exists in a current picture, if the motion figure exists, turning on the white light supplementing lamp, so that the ambient illuminance is improved, and the definition of the motion figure is ensured; if no moving person exists, the white light supplementing lamp is turned off, so that light pollution is reduced.
As shown in fig. 3, the specific step of determining whether the moving object exists in the current picture in step 2 includes:
(1) Performing difference value on the acquired front and rear frames of images, performing binarization processing on the images after the difference value, wherein the difference value is 0, the difference value is greater than 0, and the difference value is 1;
(2) Performing expansion treatment on the binarized image to reduce movement holes, performing corrosion treatment, and determining movement edges;
(3) And counting the position of the motion area, dividing the motion area into different motion areas, judging whether the motion area has motion or not by judging the size of the motion area, and judging whether the motion area has motion or not if the motion area is larger than a motion detection threshold value, and judging whether the motion area has no motion if the motion area is smaller than the motion detection threshold value.
The motion detection threshold value needs to be actually measured and adjusted according to the detection target.
Example 1, when EnvLum < 30:
wherein 30 is a value calculated by an ambient illuminance calculation formula, and is approximately 32 times of the gain of the image sensor, and the gain is required to be adjusted according to the actual environment and the capability of the image sensor; the image frame rate is adjusted to 12 frames;
example 2, when Envlum < 20:
the 20 is a numerical value calculated by an ambient illuminance calculation formula, which is about 64 times of the gain of the image sensor, and the gain is required to be adjusted according to the actual environment and the capability of the image sensor, so that the motion detection logic is started to be executed, and the white light supplementing lamp starting logic is not entered; when EnvLum <20& & MoveInfo = 0, the frame rate is maintained for 8 frames, and when EnvLum <20& & MoveInfo = 1, the frame rate is restored to 12 frames. The motion detection turn-on logic, embodiment 3, may also be entered directly according to the actual need for the image, without performing this step.
Example 3, when EnvLum <10& & moveinfo= 0:
wherein 10 is a numerical value calculated by an ambient illuminance calculation formula, and is approximately 300 times of the gain of the image sensor, and the gain is required to be adjusted according to the actual environment and the capability of the image sensor; moveInfo is derived from the results of the motion detection logic; the image frame rate is adjusted to be 5 frames, a motion detection logic is executed, and a white light supplementing lamp starting logic is entered; when EnvLum <10& & MoveInfo = 1, the white light supplementary light is turned on.
The working principle of the application is as follows:
the application takes monitoring effectiveness as a principle, a camera automatically recognizes the current ambient illuminance, adjusts exposure time and gain according to the ambient illuminance, detects a moving person under the condition of extremely low ambient illuminance, and automatically turns on lamplight illumination to supplement light.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method for capturing color features of a sports character under low illumination.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (5)

1. A method for capturing color features of an athletic character under low illumination is characterized in that: the method comprises the following steps:
step 1, judging whether to enter a frame dropping logic according to the ambient illuminance condition;
step 2, judging whether the white light supplementing logic needs to be started according to the current ambient illuminance after entering the frame dropping logic, and automatically adjusting the frame rate according to whether a moving object exists in a current picture if the white light supplementing logic does not need to be started; if the white light supplementing lamp logic needs to be started, the white light supplementing lamp is started or stopped according to whether a moving object exists in the current picture, and then the capturing of the color characteristics of the moving person under low illumination is completed.
2. The method for capturing color features of an athletic character under low illumination of claim 1, wherein: the specific steps of the step 1 comprise:
(1) Analyzing the ambient illuminance, and counting the exposure information of the current environment;
(2) Calculating the current ambient illuminance according to the exposure information of the current environment counted in the step (1);
(3) If the current ambient illuminance is greater than a preset frame dropping threshold, maintaining a normal frame rate mode; and if the current ambient illuminance is smaller than a preset frame dropping threshold value, starting a frame dropping mode.
3. The method for capturing color features of an athletic character under low illumination of claim 1, wherein: the specific steps of the step 2 include:
(1) After entering the frame dropping logic, if the current ambient illuminance does not reach the white light supplementing lamp, the white light supplementing logic is not started, meanwhile, the motion detection logic is started to be executed, whether a motion person exists in the current picture is analyzed, and if the motion person exists, the frame rate is recovered; if the motion person does not exist, frame dropping is carried out, and the exposure time is increased;
(2) If the current ambient illuminance reaches the condition of turning on the white light supplement lamp, entering an automatic light supplement control logic, and simultaneously starting to execute a motion detection logic to analyze whether a motion person exists in a current picture, and if the motion person exists, turning on the white light supplement lamp; if the sports person is not present, the white light supplementary light is turned off.
4. The method for capturing color features of an athletic character under low illumination of claim 1, wherein: the specific step of judging whether the moving object exists in the current picture in the step 2 includes:
(1) The acquired front and rear frames of images are subjected to difference value, and the images after the difference value are subjected to binarization processing;
(2) Performing expansion treatment on the binarized image, and then performing corrosion treatment to determine a motion edge;
(3) And counting the position of the motion area, dividing the motion area into different motion areas, judging whether the motion area has motion or not by judging the size of the motion area, and judging whether the motion area has motion or not if the motion area is larger than a motion detection threshold value, and judging whether the motion area has no motion if the motion area is smaller than the motion detection threshold value.
5. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of a method of capturing colour features of an athletic character under low light as claimed in any one of claims 1 to 4.
CN202310777286.3A 2023-06-29 2023-06-29 Method for capturing color features of sports figures under low illumination and computer storage medium Pending CN116801109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310777286.3A CN116801109A (en) 2023-06-29 2023-06-29 Method for capturing color features of sports figures under low illumination and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310777286.3A CN116801109A (en) 2023-06-29 2023-06-29 Method for capturing color features of sports figures under low illumination and computer storage medium

Publications (1)

Publication Number Publication Date
CN116801109A true CN116801109A (en) 2023-09-22

Family

ID=88037782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310777286.3A Pending CN116801109A (en) 2023-06-29 2023-06-29 Method for capturing color features of sports figures under low illumination and computer storage medium

Country Status (1)

Country Link
CN (1) CN116801109A (en)

Similar Documents

Publication Publication Date Title
US7639878B2 (en) Shadow detection in images
CN101599175B (en) Detection method for determining alteration of shooting background and image processing device
CN107948465B (en) A kind of method and apparatus that detection camera is disturbed
CN109194873B (en) Image processing method and device
CN107635099B (en) Human body induction double-optical network camera and security monitoring system
KR101810956B1 (en) Camera device having image sensor of rolling shutter type and lighting control method
JP4542929B2 (en) Image signal processing device
CN104811586A (en) Scene change video intelligent analyzing method, device, network camera and monitoring system
CN112419261B (en) Visual acquisition method and device with abnormal point removing function
CN105554414B (en) Strong Xanthophyll cycle method and device
JP7125843B2 (en) Fault detection system
JP2006254206A (en) Image signal processing apparatus
JP2004086417A (en) Method and device for detecting pedestrian on zebra crossing
CN116801109A (en) Method for capturing color features of sports figures under low illumination and computer storage medium
CN110646173A (en) Detection method for continuous opening of high beam
TWI630818B (en) Dynamic image feature enhancement method and system
CN110688979A (en) Illegal vehicle tracking method and device
Wixson et al. Improved illumination assessment for vision-based traffic monitoring
CN116167969A (en) Lens smudge detection method, device, vehicle, storage medium and program product
KR101547239B1 (en) System and method for adjusting camera brightness based extraction of background image
JP3862558B2 (en) Image sensor and surveillance camera device
CN110909719A (en) Flicker target detection system and method based on moving camera in specific environment
US11178339B2 (en) Control of an illuminator
US11941886B2 (en) Object detection method and camera apparatus
Zhang et al. Embedded smart sensor for outdoor parking lot lighting control

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