CN109218623A - A kind of light compensation method and device, computer installation and readable storage medium storing program for executing - Google Patents

A kind of light compensation method and device, computer installation and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109218623A
CN109218623A CN201811308295.3A CN201811308295A CN109218623A CN 109218623 A CN109218623 A CN 109218623A CN 201811308295 A CN201811308295 A CN 201811308295A CN 109218623 A CN109218623 A CN 109218623A
Authority
CN
China
Prior art keywords
target object
attribute information
light
light filling
visible light
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.)
Granted
Application number
CN201811308295.3A
Other languages
Chinese (zh)
Other versions
CN109218623B (en
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 Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201811308295.3A priority Critical patent/CN109218623B/en
Publication of CN109218623A publication Critical patent/CN109218623A/en
Application granted granted Critical
Publication of CN109218623B publication Critical patent/CN109218623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The invention discloses a kind of light compensation method and devices, computer installation and readable storage medium storing program for executing, wherein the light compensation method includes: that acquisition obtains the infrared image for being directed to monitoring area;The attribute information of each target object in M target object in the infrared image is obtained, obtains M attribute information altogether, wherein M is positive integer;The N number of target object for meeting preset attribute information is determined from the M attribute information, wherein N is the positive integer no more than M;It controls visible light and light filling is carried out to target object each in N number of target object.For solving the technical issues of existing light filling scheme cannot be considered in terms of the influence of image procossing precision and light pollution.

Description

A kind of light compensation method and device, computer installation and readable storage medium storing program for executing
Technical field
The present invention relates to technical field of image processing, in particular to a kind of light compensation method and device, computer installation and can Read storage medium.
Background technique
Conventional images acquire equipment under night-environment, generally require first to carry out light filling to monitoring area, then could be real Now to the identification of the target object in monitoring area.
Currently, realizing the monitoring to target object frequently with following two light filling scheme.The first is infrared light filling side Image capture device is specifically switched to infrared light filling mode by case, is target object (for example, people) benefit using infrared lamp Light, and then obtain black white image.Although entire light filling process does not easily cause the discomfort of target object eyes, due to existing Image recognition algorithm is normally based on color image to handle, and black white image obtained then will increase subsequent under this scenario Image procossing complexity and accuracy.
Second is visible light light filling scheme, specifically, carries out continuing benefit to monitoring area using visible light at night Light is convenient for subsequent image procossing although institute's acquired image is color image, and visible light easily causes target object The discomfort of eyes, and light pollution is caused to other regions in monitoring area in addition to target object.
As it can be seen that existing light filling scheme cannot be considered in terms of the influence of image procossing precision and light pollution.
Summary of the invention
The embodiment of the present invention provides a kind of light compensation method and device, computer installation and readable storage medium storing program for executing, for solving Existing light filling scheme cannot be considered in terms of the technical issues of influence of image procossing precision and light pollution.
In a first aspect, the embodiment of the invention provides a kind of light compensation methods, comprising:
Acquisition obtains the infrared image for being directed to monitoring area;
The attribute information of each target object in M target object in the infrared image is obtained, obtains M attribute letter altogether Breath, wherein M is positive integer;
The N number of target object for meeting preset attribute information is determined from the M attribute information, wherein N be no more than The positive integer of M;
It controls visible light and light filling is carried out to target object each in N number of target object.
In the technical solution of the embodiment of the present invention, the infrared image for being directed to monitoring area is obtained by acquisition, it is then right The infrared image is analyzed, and determines the attribute information of each target object in M target object in the infrared image, is obtained altogether M attribute information.Then, the N number of target object for meeting preset attribute information is determined from this M attribute information.Then, it controls Visible light processed in this N number of target object each to mark object carry out light filling.That is, by dividing infrared image Analysis, the target object for meeting preset attribute information is filtered out from the target object of infrared image, then, then controls visible light pair The target object for meeting preset attribute information carries out light filling, i.e., being instructed according to the attribute information of target object in infrared image can The light-exposed light filling to target object.Entire light filling process had not only improved the precision of Image Acquisition by visible light light filling, but also avoided Visible light carries out light pollution brought by light filling to all target objects.That is, entire light filling process combines The precision of Image Acquisition and the influence of light pollution.
Optionally, after determining to meet N number of target object of preset attribute information in the M attribute information, The method also includes:
The behavior characteristic information for obtaining each target object in N number of target object obtains N number of behavioural characteristic letter altogether Breath;
According to N number of behavior characteristic information, determine that visible light carries out target object each in N number of target object N number of moment of light filling, wherein visible light corresponds to institute at the time of carrying out light filling to first object object in N number of target object State the first moment in N number of moment;
When current time is first moment, control visible light carries out light filling to the first object object.
In the technical solution of the embodiment of the present invention, in the N for determining to meet preset attribute information from M attribute information After a target object, the behavior characteristic information of each target object in N number of target object is obtained, obtains N number of behavioural characteristic altogether Information.Then, according to this N number of behavior characteristic information, determine that visible light mends each target object in this N number of target object N number of moment of light.That is, analyzed by the behavioural characteristic to the N number of target object for meeting preset attribute information, into And at the time of determining that visible light carries out light filling to target object each in this N number of target object, without it is whole to target object into Row light filling carries out light filling to corresponding target object again when need to only reach at the time of corresponding.To avoid eyes discomfort Meanwhile it ensure that accurate light filling to target object.
Optionally, after control visible light carries out light filling to the first object object, the method also includes:
Acquisition obtains the first visible images for being directed to the first object object;
The current state of the first object object is labeled as processed state, control visible light stops to described first The light filling of target object.
In the technical solution of the embodiment of the present invention, first object object in N number of target object is mended in visible light After light, acquisition obtains the first visible images for being directed to the first object object;Then, by the current of the first object object Status indication is processed state, and control visible light stops the light filling to the first object object.That is, to completing to the After the acquisition of first visible images of one target object, by the first object object tag be processed state, it is subsequent can It is light-exposed to be not necessarily to continue to carry out light filling and Image Acquisition to the first object object, to improve light filling efficiency.
Optionally, the method also includes:
It determines regional location of each target object in the monitoring area in N number of target object, obtains altogether N number of Regional location;
It controls visible light and light filling is carried out to the target object of each regional location in N number of regional location.
In the technical solution of the embodiment of the present invention, meet default category filtering out from M target object of infrared image Property information N number of target object after, determine the region position of each target object in this N number of target object in monitoring area It sets, obtains N number of regional location altogether;Then, control visible light to the target object of each regional location in this N number of regional location into Row light filling.That is, being monitored after filtering out the target object for meeting preset attribute information according to each target object Position in region carries out targetedly light filling for the target object in each regional location, to realize to target pair The specific aim light filling of elephant, improves light filling efficiency.
Optionally, the attribute information includes target object size, human body attribute, dress ornament attribute, vehicle category in the picture At least one of property information;
The behavior characteristic information includes at least one of direction, posture, distance, movement velocity, position information.
Second aspect, the embodiment of the invention also provides a kind of light compensating apparatus, comprising:
First acquisition unit obtains the infrared image for being directed to monitoring area for acquiring;
First obtains unit, the attribute for obtaining each target object in M target object in the infrared image are believed Breath obtains M attribute information, wherein M is positive integer altogether;
First determination unit, for determining the N number of target pair for meeting preset attribute information from the M attribute information As, wherein N is the positive integer no more than M;
First control unit carries out light filling to target object each in N number of target object for controlling visible light.
Optionally, the N number of mesh for meeting preset attribute information is determined from the M attribute information in the determination unit After marking object, described device further include:
Second obtaining unit obtains altogether for obtaining the behavior characteristic information of each target object in N number of target object Obtain N number of behavior characteristic information;
Second determination unit determines visible light to every in N number of target object according to N number of behavior characteristic information A target object carries out N number of moment of light filling, wherein visible light mends first object object in N number of target object The first moment in N number of moment is corresponded at the time of light;
Second control unit controls visible light to the first object object when current time is first moment Carry out light filling.
Optionally, after second control unit control visible light carries out light filling to the first object object, institute State device further include:
Second acquisition unit obtains the first visible images for being directed to the first object object for acquiring;
Third control unit, for the current state of the first object object to be labeled as processed state, control can The light-exposed light filling stopped to the first object object.
Optionally, described device further include:
Third determination unit, for determining that each target object is in the monitoring area in N number of target object Regional location obtains N number of regional location altogether;
4th control unit, for controlling visible light to the target object of each regional location in N number of regional location Carry out light filling.
Optionally, the attribute information includes target object size, human body attribute, dress ornament attribute, vehicle category in the picture At least one of property information;
The behavior characteristic information includes at least one of direction, posture, distance, movement velocity, position information.
The third aspect, the embodiment of the invention also provides a kind of computer installation, the computer installation includes processor, The processor realizes the step of light compensation method as described in relation to the first aspect when being used to execute the computer program stored in memory Suddenly.
Fourth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, institute State the step of light compensation method as described in relation to the first aspect is realized when computer program is executed by processor.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment.
Fig. 1 is a kind of method flow diagram of light compensation method provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of light compensation method provided in an embodiment of the present invention after step s 103;
Fig. 3 is a kind of method flow diagram of the light compensation method provided in an embodiment of the present invention after step S203;
Fig. 4 is a kind of another method flow diagram of light compensation method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of light compensating apparatus provided in an embodiment of the present invention.
Specific embodiment
" first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing difference Object is not use to describe a particular order.In addition, term " includes " and their any deformation, it is intended that covering is not Exclusive includes.Such as it contains the process, method, system, product or equipment of a series of steps or units and is not limited to The step of listing or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these The intrinsic other step or units of process, method, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment In technical characteristic can be combined with each other.
In embodiments of the present invention, provided light compensation method specifically can be applied to image capturing system, which adopts Collecting system includes infrared image acquisition module, infrared supplementary lighting module, visible light supplementary lighting module, visible images acquisition module, figure As processing module, etc..Wherein, infrared supplementary lighting module is for carrying out infrared light filling to monitoring area in real time;Infrared image acquisition Module is specifically used for acquisition in real time and obtains the infrared image for being directed to monitoring area;Image processing module is used to carry out infrared image Analysis, determines the attribute information of the target object in infrared image, so that it is determined that going out to meet the target object of preset attribute information; Then, image processing module control visible light supplementary lighting module carries out light filling to the target object for meeting preset attribute information;Then, The visible images of the target object for preset attribute information are obtained by visible images acquisition module;Then, by image Module is managed to be analyzed and processed to visible images obtained.
In embodiments of the present invention, which, which can be, double takes the photograph structure, wherein one group of camera lens and image sensing Device acquires infrared image, and another group of camera lens and imaging sensor acquire visible images.The image capturing system can also be point Photo structure, specifically, the light acquired same camera lens by light-splitting devices such as prisms according to wavelength separated be infrared light all the way All the way with visible light, it is acquired respectively by corresponding imaging sensor.The image capturing system can also be using single-lens and mixed The structure of pixel image sensor is closed, specifically, the pixel of imaging sensor is by feeling visible light pixel and infrared light responsive pixel Mixing composition.In the specific implementation process, infrared image and visible images collected have determining position mapping relations.
In addition, in embodiments of the present invention, modules included by the image capturing system can also be other names Claim, all modules that can be realized corresponding function are all within protection scope of the present invention.
Referring to FIG. 1, the embodiment of the invention provides a kind of light compensation methods, comprising:
S101: acquisition obtains the infrared image for being directed to monitoring area;
S102: obtaining the attribute information of each target object in M target object in the infrared image, obtains M altogether Attribute information, wherein M is positive integer;
S103: the N number of target object for meeting preset attribute information is determined from the M attribute information, wherein N is Positive integer no more than M;
S104: control visible light carries out light filling to target object each in N number of target object.
In the specific implementation process, step S101 to step S104's the specific implementation process is as follows:
Firstly, carrying out infrared light filling to monitoring area, acquisition obtains the infrared image for being directed to the monitoring area.Then, right The infrared image is analyzed, and the attribute information of each target object in M target object in the infrared image is obtained, and is obtained altogether M attribute information, wherein M is positive integer.In the specific implementation process, which specifically can be target object and is scheming At least one of size, human body attribute, dress ornament attribute, vehicle attribute information as in.Wherein, each attribute information can be packet Include manifold set.For example, human body attribute includes gender, age, dress ornament attribute includes cap, skirt, shoes, vehicle category Property includes bus, car, bicycle.For giving a concrete illustration, M 3, the target object in infrared image have A, B, C tri-, wherein the attribute information of target object A is " middle age, male, shaven head, walking ", and the attribute information of target object B is The attribute information of " children, women, fried dough twist pigtail, toy car ", target object C are " youth, women, long hair, car ".
Then, the N number of target object for meeting preset attribute information is determined from M attribute information obtained.Wherein, N is the positive integer no more than M.In the specific implementation process, which specifically can be user according to actual needs Manual setting, it can also be that those skilled in the art are directed in advance set by image capturing system.Still with above-mentioned example For, when the preset attribute information is " middle age, male, shaven head ", it is determined that going out target object A is to meet preset attribute letter The target object of breath.
In embodiments of the present invention, it is based on target object this attribute of size in the picture, can filter out and meet size It is required that target object, for example, filtering out the target object that size is greater than preset threshold, which specifically can be ability The field technique personnel numerical value set according to the actual use habit of user, for example, the preset threshold be 10pixels × 10pixels.It is, of course, also possible to be the numerical value that user manually sets as needed, details are not described herein again.Certainly, this field Technical staff can set other attribute informations in addition to above-mentioned listed attribute information according to actual needs to realize to mesh The screening for marking object, just no longer details herein.
Then, control visible light carries out light filling to target object each in N number of target object.Still it is with above-mentioned example Example, control visible light carry out light filling to target object A.In the specific implementation process, if determining to meet from M attribute information When N number of target object of preset attribute information has multiple, it specifically can be visible light while this N number of target object mended Light can also be and successively carry out light filling to each target object in N number of target object according to preset order.Wherein, it presets suitable Sequence can be those skilled in the art and be accustomed to pre-set sequence according to the actual use of user, can also be the manual institute of user The sequence of setting, for example, light filling is successively carried out by high sequence on earth according to height, for another example, according to sequence from left to right Light filling, etc. is successively carried out, just different one is had been illustrated herein.
In embodiments of the present invention in order to realize the accurate light filling to target object, referring to FIG. 2, in step S103: from It is determined after meeting N number of target object of preset attribute information in the M attribute information, the method also includes:
S201: obtaining the behavior characteristic information of each target object in N number of target object, and it is special to obtain N number of behavior altogether Reference breath;
S202: according to N number of behavior characteristic information, determine visible light to each target pair in N number of target object N number of moment as carrying out light filling, wherein at the time of visible light carries out light filling to first object object in N number of target object The first moment in corresponding N number of moment;
S203: when current time is first moment, control visible light carries out light filling to the first object object.
In the specific implementation process, step S201 to step S203's the specific implementation process is as follows:
Firstly, obtaining the behavior characteristic information of each target object in N number of target object, N number of behavioural characteristic letter is obtained altogether Breath.Wherein, behavior characteristic information includes at least one of direction, posture, distance, movement velocity, position information.Each mesh The behavior characteristic information of mark object can be the set of multiple behavioural characteristics.In the specific implementation process, behavior characteristic information It can be user's manual setting according to actual needs, can also be that those skilled in the art in advance set for image capturing system It sets.In the specific implementation process, towards the feature for characterizing target object face direction, for example, target object face is just To image capturing system;Posture is for characterizing the current appearance expression of target object, for example, target object current pose is opposite figure As acquisition system is just sat;For another example, target object current pose is that relative image acquisition system list leg kneels crouching.Distance is for characterizing Between target object relative image acquisition system apart from situation;Movement velocity is used to characterize the speed values size of target object. Position is for characterizing the specific location information of target object.Certainly, those skilled in the art can come according to actual needs Set other behavior characteristic informations in addition to above-mentioned listed behavior characteristic information to realize the screening to target object, herein No longer detail.
Then, according to N number of behavior characteristic information, determine that visible light carries out light filling to object each in this N number of target object N number of moment, wherein visible light in this N number of target object first object object carry out light filling at the time of correspond in N number of moment The first moment.Then, when current time was the first moment, control visible light carries out light filling to the first object object.? That is analyzing by the behavioural characteristic to the N number of target object for meeting preset attribute information, and then determine visible light pair At the time of each target object carries out light filling in this N number of target object, again to corresponding mesh when need to only be reached at the time of corresponding It marks object and carries out light filling, whole process carries out light filling to target object without whole, to protect while avoiding eyes discomfort The accurate light filling to target object is demonstrate,proved.
Still by taking above-mentioned example as an example, the behavior characteristic information of target object A is obtained, when detecting that target object A is current When face's face image capturing system, visible light light filling is carried out to target object A.In the specific implementation process, if N number of target pair When as having multiple, at the time of when can determine each target object face face image capturing system, and controlled at the time of corresponding Visible light processed carries out light filling to corresponding target object.Certainly, each target in N number of target object is determined in addition to face's direction Outside the light filling moment of object, those skilled in the art can also be accustomed to according to the actual use of user, to limit N number of target object Behavior characteristic information when being specially in the case of which kind of, at the corresponding light filling moment, details are not described herein again.
In embodiments of the present invention, in order to improve light filling efficiency, referring to FIG. 3, in step S203: being institute at current time When stating for the first moment, after control visible light carries out light filling to the first object object, the method also includes:
S301: acquisition obtains the first visible images for being directed to the first object object;
S302: the current state of the first object object is labeled as processed state, control visible light stops to institute State the light filling of first object object.
In the specific implementation process, step S301 to step S302's the specific implementation process is as follows:
Firstly, acquisition obtains the first visible images for being directed to first object object.Then, working as first object object Preceding status indication is processed state, and control visible light stops the light filling to the first object object.That is, in completion pair It is processed state by the first object object tag after the acquisition of first visible images of first object, it is subsequent to be not necessarily to Visible light continues to carry out light filling and Image Acquisition to the first object object.In detailed process, which can be with It is that acquisition state is completed, after the first object object is processed state, the nothing before the first object object is lost Visible light is needed to continue light filling and continue to carry out Image Acquisition to the first object object.Still by taking above-mentioned example as an example, right After target object A carries out visible light light filling, acquisition obtains the visible images for being directed to target object A, and target object A is marked It is subsequent without carrying out visible light light filling and Image Acquisition to target object A again for processed state.
In addition, being the multiple target objects for including first object object in N number of target object in the specific implementation process When, identical processing can be carried out to other objects outside first object object, without continuously to each target object Visible light light filling and Image Acquisition are carried out, so that effectively preventing visible light continues the discomfort of human eye brought by light filling, and The usability of image capturing system is improved while improving light filling efficiency to the light pollution of objects other in monitoring area Energy.
In embodiments of the present invention, in order to improve the specific aim light filling to target object, and then light filling efficiency is improved, please join Fig. 4 is examined, the method also includes:
S401: it determines regional location of each target object in the monitoring area in N number of target object, obtains altogether Obtain N number of regional location;
S402: control visible light carries out light filling to the target object of each regional location in N number of regional location.
In the specific implementation process, step S401 to step S402's the specific implementation process is as follows:
Firstly, determining regional location of each target object in monitoring area in N number of target object, N number of area is obtained altogether Domain position;Then, control visible light carries out light filling to the target object of each regional location in N number of regional location.Namely It says, after filtering out the target object for meeting preset attribute information, according to position of each target object in monitoring area, Targetedly light filling is carried out for the target object in each regional location, to realize the function for pressing regional location specific aim light filling Can, while improving light filling efficiency, also effectively reduce the waste of energy consumption.
Based on same inventive concept, referring to FIG. 5, the embodiment of the invention also provides a kind of light compensating apparatus, comprising:
First acquisition unit 10 obtains the infrared image for being directed to monitoring area for acquiring;
First obtains unit 20, for obtaining the attribute of each target object in M target object in the infrared image Information obtains M attribute information, wherein M is positive integer altogether;
First determination unit 30, for determining the N number of target for meeting preset attribute information from the M attribute information Object, wherein N is the positive integer no more than M;
First control unit 40 carries out light filling to target object each in N number of target object for controlling visible light.
It is just no longer superfluous herein since each function of the above unit has been described in detail in above-mentioned light compensation method It states.
In embodiments of the present invention, it determines to meet preset attribute from the M attribute information in the determination unit After N number of target object of information, described device further include:
Second obtaining unit obtains altogether for obtaining the behavior characteristic information of each target object in N number of target object Obtain N number of behavior characteristic information;
Second determination unit determines visible light to every in N number of target object according to N number of behavior characteristic information A target object carries out N number of moment of light filling, wherein visible light mends first object object in N number of target object The first moment in N number of moment is corresponded at the time of light;
Second control unit controls visible light to the first object object when current time is first moment Carry out light filling.
In embodiments of the present invention, the first object object is mended in second control unit control visible light After light, described device further include:
Second acquisition unit obtains the first visible images for being directed to the first object object for acquiring;
Third control unit, for the current state of the first object object to be labeled as processed state, control can The light-exposed light filling stopped to the first object object.
In embodiments of the present invention, described device further include:
Third determination unit, for determining that each target object is in the monitoring area in N number of target object Regional location obtains N number of regional location altogether;
4th control unit, for controlling visible light to the target object of each regional location in N number of regional location Carry out light filling.
In embodiments of the present invention, the attribute information includes target object size, human body attribute, dress ornament category in the picture At least one of property, vehicle attribute information;
The behavior characteristic information includes at least one of direction, posture, distance, movement velocity, position information.
The embodiment of the invention also provides a kind of computer installation, the computer installation include processor, memory with And the computer program that can be run in the memory and on the processor is stored, and such as: acquisition is obtained for monitoring The infrared image in region;The attribute information for obtaining each target object in M target object in the infrared image, obtains M altogether A attribute information, wherein M is positive integer;The N number of target for meeting preset attribute information is determined from the M attribute information Object, wherein N is the positive integer no more than M;Control visible light mends each target object in N number of target object Light.The processor realizes the step in embodiment of the method described in above-mentioned various aspects when executing the computer program, such as Method and step shown in FIG. 1.Alternatively, the processor is realized in above-mentioned each Installation practice respectively when executing the computer program The function of unit.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute State implementation procedure of the computer program in the light compensating apparatus/computer installation.For example, the computer program can be divided It is cut into the first acquisition unit, first obtains unit, the first determination unit, first control unit, each module concrete function is as follows: One acquisition unit obtains the infrared image for being directed to monitoring area for acquiring;First obtains unit, for obtaining the infrared figure As in M target object each target object attribute information, M attribute information of acquisition altogether, wherein M is positive integer;First Determination unit, for determining the N number of target object for meeting preset attribute information from the M attribute information, wherein N is Positive integer no more than M;First control unit, for control visible light to each target object in N number of target object into Row light filling.
Light compensating apparatus/the computer installation can be monocular-camera, binocular camera etc. and calculate equipment.The light filling Device/computer installation may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that described show It is merely intended to the example of the light compensating apparatus/computer installation, does not constitute the limit to the light compensating apparatus/computer installation It is fixed, it may include perhaps combining certain components or different components, such as the benefit than illustrating more or fewer components Electro-optical device/computer installation can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor is the control centre of the light compensating apparatus/computer installation, utilizes the entire institute of various interfaces and connection State light compensating apparatus/computer installation various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of light compensating apparatus/computer installation.The memory can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone Deng) etc..In addition, memory may include high-speed random access memory, it can also include nonvolatile memory, such as firmly Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
The another aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, meter When calculation machine program is executed by processor, the step of realizing light compensation method described above.
If the integrated module/unit of the light compensating apparatus/computer installation is realized in the form of SFU software functional unit simultaneously When sold or used as an independent product, it can store in a computer readable storage medium.Based on such reason Solution, the present invention realize all or part of the process in above-described embodiment method, can also instruct correlation by computer program Hardware complete, the computer program can be stored in a computer readable storage medium, the computer program is in quilt When processor executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program Code, the computer program code can be source code form, object identification code form, executable file or certain intermediate forms Deng.The computer-readable medium may include: any entity or device, record that can carry the computer program code Medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), with Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc.. It should be noted that the content that the computer-readable medium includes can be according to legislation and patent practice in jurisdiction It is required that carrying out increase and decrease appropriate, such as in certain jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium Include electric carrier signal and telecommunication signal.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of light compensation method characterized by comprising
Acquisition obtains the infrared image for being directed to monitoring area;
The attribute information of each target object in M target object in the infrared image is obtained, obtains M attribute information altogether, Wherein, M is positive integer;
The N number of target object for meeting preset attribute information is determined from the M attribute information, wherein N is no more than M's Positive integer;
It controls visible light and light filling is carried out to target object each in N number of target object.
2. the method as described in claim 1, which is characterized in that determining to meet default category from the M attribute information After N number of target object of property information, the method also includes:
The behavior characteristic information for obtaining each target object in N number of target object, obtains N number of behavior characteristic information altogether;
According to N number of behavior characteristic information, determine that visible light carries out light filling to target object each in N number of target object N number of moment, wherein visible light in N number of target object first object object carry out light filling at the time of correspond to it is described N number of The first moment in moment;
When current time is first moment, control visible light carries out light filling to the first object object.
3. method according to claim 2, which is characterized in that carry out light filling to the first object object in control visible light Later, the method also includes:
Acquisition obtains the first visible images for being directed to the first object object;
The current state of the first object object is labeled as processed state, control visible light stops to the first object The light filling of object.
4. the method as described in claim 1, which is characterized in that the method also includes:
It determines regional location of each target object in the monitoring area in N number of target object, obtains N number of region altogether Position;
It controls visible light and light filling is carried out to the target object of each regional location in N number of regional location.
5. method according to claim 2, which is characterized in that the attribute information include target object in the picture size, At least one of human body attribute, dress ornament attribute, vehicle attribute information;
The behavior characteristic information includes at least one of direction, posture, distance, movement velocity, position information.
6. a kind of light compensating apparatus characterized by comprising
First acquisition unit obtains the infrared image for being directed to monitoring area for acquiring;
First obtains unit, for obtaining the attribute information of each target object in M target object in the infrared image, altogether Obtain M attribute information, wherein M is positive integer;
First determination unit, for determining the N number of target object for meeting preset attribute information from the M attribute information, Wherein, N is the positive integer no more than M;
First control unit carries out light filling to target object each in N number of target object for controlling visible light.
7. device as claimed in claim 6, which is characterized in that determined from the M attribute information in the determination unit After meeting N number of target object of preset attribute information out, described device further include:
Second obtaining unit obtains N for obtaining the behavior characteristic information of each target object in N number of target object altogether A behavior characteristic information;
Second determination unit determines visible light to each mesh in N number of target object according to N number of behavior characteristic information Mark N number of moment that object carries out light filling, wherein visible light carries out light filling to first object object in N number of target object Moment corresponds to the first moment in N number of moment;
Second control unit, when current time is first moment, control visible light carries out the first object object Light filling.
8. device as claimed in claim 7, which is characterized in that in second control unit control visible light to described first After target object carries out light filling, described device further include:
Second acquisition unit obtains the first visible images for being directed to the first object object for acquiring;
Third control unit controls visible light for the current state of the first object object to be labeled as processed state Stop the light filling to the first object object.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for executing The step of light compensation method as described in any one of claim 1-5 is realized when the computer program stored in reservoir.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that: the computer program is processed The step of light compensation method as described in any one of claim 1-5 is realized when device executes.
CN201811308295.3A 2018-11-05 2018-11-05 Light supplementing method and device, computer device and readable storage medium Active CN109218623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811308295.3A CN109218623B (en) 2018-11-05 2018-11-05 Light supplementing method and device, computer device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811308295.3A CN109218623B (en) 2018-11-05 2018-11-05 Light supplementing method and device, computer device and readable storage medium

Publications (2)

Publication Number Publication Date
CN109218623A true CN109218623A (en) 2019-01-15
CN109218623B CN109218623B (en) 2021-07-20

Family

ID=64994437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811308295.3A Active CN109218623B (en) 2018-11-05 2018-11-05 Light supplementing method and device, computer device and readable storage medium

Country Status (1)

Country Link
CN (1) CN109218623B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752003A (en) * 2020-12-30 2021-05-04 浙江大华技术股份有限公司 Light supplementing method and device, light supplementing equipment and monitoring equipment
CN114125241A (en) * 2021-11-30 2022-03-01 维沃移动通信有限公司 Shooting device, light supplementing method, light supplementing device and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1263215A2 (en) * 2001-06-01 2002-12-04 Nokia Corporation Control of flashlight in a digital camera
CN1564964A (en) * 2002-06-28 2005-01-12 索尼株式会社 Image pickup device and electronic camera
US20090134328A1 (en) * 2007-11-27 2009-05-28 Sony Corporation Image-taking apparatus and method thereof
CN104113702A (en) * 2014-07-25 2014-10-22 北京智谷睿拓技术服务有限公司 Flash control method and device and image collection method and device
CN104253945A (en) * 2013-06-26 2014-12-31 杭州海康威视数字技术股份有限公司 Realization method of high-definition camera and high-definition camera
CN105141854A (en) * 2015-08-26 2015-12-09 广东欧珀移动通信有限公司 Flashlight control method, flashlight control device and terminal equipment
CN105245790A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Light filling method, device and mobile terminal
CN105391948A (en) * 2015-11-05 2016-03-09 浙江宇视科技有限公司 Front-end equipment having night-vision fog-penetrating function and control method thereof
CN105554407A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Shooting control method and shooting control device
CN105959580A (en) * 2015-12-30 2016-09-21 天津天地伟业数码科技有限公司 Dual-optical network camera
CN205726068U (en) * 2016-07-05 2016-11-23 杨珊珊 The light compensating apparatus of unmanned vehicle
CN107040727A (en) * 2017-05-11 2017-08-11 成都希格玛光电科技有限公司 Camera exposure method and device
US20170374261A1 (en) * 2009-06-03 2017-12-28 Flir Systems, Inc. Smart surveillance camera systems and methods
CN107995436A (en) * 2017-12-19 2018-05-04 浙江大华技术股份有限公司 A kind of light compensation method and device
CN108012075A (en) * 2017-11-06 2018-05-08 信利光电股份有限公司 The integrated control method and system of a kind of monitoring device and lighting apparatus

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1263215A2 (en) * 2001-06-01 2002-12-04 Nokia Corporation Control of flashlight in a digital camera
CN1564964A (en) * 2002-06-28 2005-01-12 索尼株式会社 Image pickup device and electronic camera
US20090134328A1 (en) * 2007-11-27 2009-05-28 Sony Corporation Image-taking apparatus and method thereof
US20170374261A1 (en) * 2009-06-03 2017-12-28 Flir Systems, Inc. Smart surveillance camera systems and methods
CN104253945A (en) * 2013-06-26 2014-12-31 杭州海康威视数字技术股份有限公司 Realization method of high-definition camera and high-definition camera
CN104113702A (en) * 2014-07-25 2014-10-22 北京智谷睿拓技术服务有限公司 Flash control method and device and image collection method and device
CN105141854A (en) * 2015-08-26 2015-12-09 广东欧珀移动通信有限公司 Flashlight control method, flashlight control device and terminal equipment
CN105245790A (en) * 2015-10-15 2016-01-13 广东欧珀移动通信有限公司 Light filling method, device and mobile terminal
CN105391948A (en) * 2015-11-05 2016-03-09 浙江宇视科技有限公司 Front-end equipment having night-vision fog-penetrating function and control method thereof
CN105554407A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Shooting control method and shooting control device
CN105959580A (en) * 2015-12-30 2016-09-21 天津天地伟业数码科技有限公司 Dual-optical network camera
CN205726068U (en) * 2016-07-05 2016-11-23 杨珊珊 The light compensating apparatus of unmanned vehicle
CN107040727A (en) * 2017-05-11 2017-08-11 成都希格玛光电科技有限公司 Camera exposure method and device
CN108012075A (en) * 2017-11-06 2018-05-08 信利光电股份有限公司 The integrated control method and system of a kind of monitoring device and lighting apparatus
CN107995436A (en) * 2017-12-19 2018-05-04 浙江大华技术股份有限公司 A kind of light compensation method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752003A (en) * 2020-12-30 2021-05-04 浙江大华技术股份有限公司 Light supplementing method and device, light supplementing equipment and monitoring equipment
CN114125241A (en) * 2021-11-30 2022-03-01 维沃移动通信有限公司 Shooting device, light supplementing method, light supplementing device and electronic equipment

Also Published As

Publication number Publication date
CN109218623B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN110168562B (en) Depth-based control method, depth-based control device and electronic device
CN103945104B (en) Information processing method and electronic equipment
CN103106401B (en) Mobile terminal iris recognition device with human-computer interaction mechanism
CN106991654B (en) Human body beautifying method and device based on depth and electronic device
CN102694969B (en) Image processing device and image processing method
JP7020626B2 (en) Makeup evaluation system and its operation method
CN105659200B (en) For showing the method, apparatus and system of graphic user interface
CN107707839A (en) Image processing method and device
CN107862653B (en) Image display method, image display device, storage medium and electronic equipment
CN108366203B (en) Composition method, composition device, electronic equipment and storage medium
EP3000386A1 (en) Skin function evaluation device and skin evaluation method
CN107527046B (en) Unlocking control method and related product
CN106504751A (en) Self adaptation lip reading exchange method and interactive device
CN104811684B (en) A kind of three-dimensional U.S. face method and device of image
CN110111245A (en) Image processing method, device, terminal and computer readable storage medium
CN106469288A (en) A kind of reminding method and terminal
CN108875462A (en) Eyebrow moulding guidance device and its method
CN109218623A (en) A kind of light compensation method and device, computer installation and readable storage medium storing program for executing
CN105022999A (en) Man code company real-time acquisition system
CN112487922A (en) Multi-mode face in-vivo detection method and system
CN106529502A (en) Lip language identification method and apparatus
CN108197549A (en) Face identification method and terminal based on 3D imagings
CN109145865A (en) Face standard level calculating method and device
CN112926367B (en) Living body detection equipment and method
CN107507601A (en) A kind of method and system of the camera supervised interface display effect of adjust automatically

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
CB03 Change of inventor or designer information

Inventor after: Xia Ruobin

Inventor before: Xia Ruobin

Inventor before: Gao Chuang

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant