CN106534712A - Control method, image processing unit, light-filling and camera device - Google Patents

Control method, image processing unit, light-filling and camera device Download PDF

Info

Publication number
CN106534712A
CN106534712A CN201610939437.0A CN201610939437A CN106534712A CN 106534712 A CN106534712 A CN 106534712A CN 201610939437 A CN201610939437 A CN 201610939437A CN 106534712 A CN106534712 A CN 106534712A
Authority
CN
China
Prior art keywords
light compensating
unit
compensating lamp
image
brightness
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
CN201610939437.0A
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.)
Beijing Kuangshi Technology Co Ltd
Beijing Megvii Technology Co Ltd
Beijing Aperture Science and Technology Ltd
Original Assignee
Beijing Megvii Technology Co Ltd
Beijing Aperture Science and Technology 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 Beijing Megvii Technology Co Ltd, Beijing Aperture Science and Technology Ltd filed Critical Beijing Megvii Technology Co Ltd
Priority to CN201610939437.0A priority Critical patent/CN106534712A/en
Publication of CN106534712A publication Critical patent/CN106534712A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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

Abstract

The invention discloses a control method, an image processing unit, a light-filling unit and a camera device. The control method comprises the following steps: acquiring an image acquired by the image acquiring unit; judging whether the brightness of the image is lower than a set threshold value; if the brightness of the image is lower than the set threshold, adding the exposure time of the image acquiring unit, and continuously judging whether the brightness of image currently acquired by the image acquiring unit is still lower than the set threshold value, if the exposure time reaches its maximum and the brightness of the image acquired by the image acquiring unit is still lower than the set threshold value, indicating the light-filling unit to switch on light-filling lamps with the predetermined numbers, and adjusting the number of the switched light-filling lamps according to the image currently acquired by the image acquiring unit so as to determine expected number of the switched light-filling lamps. The switching time and the switching number of the light-filling lamp are controlled by acquiring the exposure time parameter, thereby prolonging the service life of the light-filling lamp and avoiding the energy waste.

Description

Control method, graphics processing unit, light filling unit and camera head
Technical field
The present invention relates to camera technology field, more particularly to one kind can be improved in the case where no illumination or illumination are low The camera head of brightness of image and the control method for camera head, graphics processing unit and light filling unit.
Background technology
With expanding economy, city-building speed is accelerated, and internet is advanced by leaps and bounds, and in causing city, population is close Collection, floating population increase, and have caused the traffic in urban construction, social security, key area is taken precautions against, the network crime becomes increasingly conspicuous Deng city management problem, therefore video monitoring system is increasingly widely applied, and how to improve monitoring image/video matter Measure, realize that better image is recognized, such as recognition of face etc. becomes a research emphasis.
In current video monitoring system, common camera head is imaged very in the case where no illumination or illumination are low Secretly, in order to improve brightness of image, the method using the time for exposure is increased and improve gain is typically only capable to, and increases time for exposure meeting Streaking effect is brought, causes that face is fuzzy, the problem of None- identified, improved gain and then bring noise so that recognition time Elongated, recognition effect is reduced.Additionally, in order to improve brightness of image, can also use in the case where no illumination or illumination are low Light compensating lamp, it is for instance possible to use infrared light compensating lamp or visible ray light compensating lamp, but need while will regard using during infrared light compensating lamp Frequency is changed into black and white, is unfavorable for recognition of face.And when using visible ray light filling, on the one hand ambient light it is low to a threshold value when beat Light compensating lamp is opened, the bad determination of critical value, another aspect light compensating lamp restricted lifetime waste the energy.
Accordingly, it is desirable to provide a kind of control method for camera head, graphics processing unit and light filling unit, and shooting Device, to solve issue noted above at least in part.
The content of the invention
A series of concept of reduced forms is introduced in Summary, this will enter one in specific embodiment part Step is described in detail.The Summary of the present invention is not meant to the pass for attempting to limit technical scheme required for protection Key feature and essential features, more do not mean that the protection domain for attempting to determine technical scheme required for protection.
In order to solve the above problems at least in part, the invention provides a kind of control method for camera head, institute Stating camera head includes image acquisition units, graphics processing unit and light filling unit, and the light filling unit includes multiple light compensating lamps, The control method includes:Obtain described image collecting unit acquired image;Judge whether the brightness of described image is less than Given threshold;If the brightness of described image is less than the given threshold, increase the time for exposure of described image collecting unit, And whether the brightness of the image for continuing to judge that described image collecting unit is currently gathered still is below the given threshold;And such as The really described time for exposure reaches maximum, and the brightness of the image of the current collection of described image collecting unit still is below described setting Determine threshold value, it indicates that the light filling unit opens the light compensating lamp of predetermined quantity, and currently gathers according to described image collecting unit The number of the light compensating lamp that the brightness adjustment of the image for arriving is opened, so that it is determined that the desired number of the light compensating lamp opened, so that institute The brightness for stating the image that image acquisition units are currently gathered is not less than the given threshold.
Exemplarily, the control method also includes:Judge whether the time for exposure of described image collecting unit reaches institute Maximum is stated, if the time for exposure of described image collecting unit is not reaching to the maximum, and described image collecting unit The brightness of the image of current collection still is below the given threshold, then when continuing to increase the exposure of described image collecting unit Between.
Exemplarily, the control method also includes:Control the light filling unit and alternately open light compensating lamp, and cause to open The number of light compensating lamp remain the desired number.
Exemplarily, the light compensating lamp for indicating that the light filling unit opens predetermined quantity, and gathered according to described image The number of the light compensating lamp that the brightness adjustment of the image that unit is currently collected is opened, so that it is determined that the expectation number of the light compensating lamp opened Mesh, so that the brightness of the image of the current collection of described image collecting unit is not less than the given threshold, including:In the benefit After light unit opens the light compensating lamp of the predetermined quantity, continuation judges the brightness of the image that described image collecting unit is currently gathered Whether still be below the given threshold, if the brightness of the current image of collection of described image collecting unit still be below it is described Given threshold, it indicates that the light filling unit opens more light compensating lamps, until the figure of described image collecting unit currently collection The brightness of picture is not less than the given threshold.
Exemplarily, the control method also includes:Set the exposure of the given threshold and described image collecting unit The maximum of time.
Exemplarily, abovementioned steps are all implemented by described image processing unit.
Exemplarily, it is after the light filling unit opens the light compensating lamp, described to control the light filling unit alternately opening Light compensating lamp, including:The light compensating lamp controlled in the light filling unit is alternately opened, and makes the unlatching duration of each light compensating lamp identical.
Exemplarily, the alternating of the light compensating lamp is opened and performs following step realization by the light filling unit:Record institute State the current light compensating lamp opened in light filling unit, and the unlatching duration of each current light compensating lamp opened;And judge each Whether the unlatching duration of the current light compensating lamp opened is more than preset duration, if the unlatching of any one current light compensating lamp opened Duration is more than the preset duration, then close the light compensating lamp, and open the light compensating lamp being closed before another.
Control method for camera head of the invention, in dark, when acquired image brightness is relatively low, Increase brightness of image first by increasing the time for exposure, and the time for exposure is controlled no more than maximum setting exposure time (maximum of time for exposure), causes to occur that streaking, face be fuzzy, None- identified to avoid as the time for exposure is long The problems such as, when can not still make brightness of image reach at or above the desired level value of setting by the increase time for exposure, it indicates that Light filling unit opens the light compensating lamp of desired number, thinks that IMAQ improves brightness, optimizes the quality of adopted image.Also, When light compensating lamp is opened, light compensating lamp alternating is controlled by light filling unit and is opened and used, the service life of light compensating lamp can be extended.Root The phase that light compensating lamp is opened can be determined by obtaining exposure time parameter according to the control method for camera head of the present invention The opening time of number and control light compensating lamp is hoped, and then can both realize preferable brightness of image, it is also possible to which extending light compensating lamp makes With the life-span, it is to avoid waste the energy.
According to another aspect of the present invention, a kind of graphics processing unit for camera head is additionally provided, it is described to take the photograph As device also includes image acquisition units and light filling unit, the light filling unit includes multiple light compensating lamps, and described image process is single Unit includes:Image collection module, described image acquisition module are used for the image for obtaining the collection of described image collecting unit;Judge mould Whether block, the judge module are used for the brightness of the image for judging the collection of described image collecting unit less than given threshold;Process In the judge module, module, the processing module determine that the brightness of the image that described image collecting unit is currently gathered is less than institute When stating given threshold, increase the time for exposure of described image collecting unit, if the time for exposure reaches maximum, and it is described The brightness of the image that processing module is currently gathered in described image collecting unit still is below the given threshold, it indicates that described Light filling unit opens the light compensating lamp of predetermined quantity, and the brightness adjustment of the image currently collected according to described image collecting unit The number of the light compensating lamp of opening, so that it is determined that the desired number of the light compensating lamp opened, so that described image collecting unit is current The brightness of the image of collection is not less than the given threshold.
Exemplarily, to be additionally operable to judge whether the time for exposure of described image collecting unit reaches described for the judge module Maximum, the processing module are not reaching to the maximum, and described image in the time for exposure of described image collecting unit When the brightness of image of collecting unit currently collection still is below the given threshold, continue to increase the exposure of described image collecting unit The light time.
Exemplarily, the processing module also controls the light filling unit and alternately opens light compensating lamp, and causes the benefit opened The number of light lamp remains the desired number.
Exemplarily, after the light compensating lamp that the light filling unit opens the respective number, the judge module continues to sentence Whether the brightness of the image that disconnected described image collecting unit is currently gathered still is below the given threshold, and the processing module exists When the brightness of image of described image collecting unit currently collection still is below the given threshold, indicate that the light filling unit is opened More light compensating lamps, until the judge module judges that the brightness of the image that described image collecting unit is currently gathered is not less than institute State given threshold.
Graphics processing unit for camera head of the invention, in dark, acquired image brightness compared with When low, increase brightness of image first by increasing the time for exposure, and the time for exposure is controlled no more than maximum setting exposure Duration (maximum of time for exposure), cause to occur to avoid as the time for exposure is long streaking, face it is fuzzy, cannot The problems such as identification, when can not still make brightness of image reach at or above the desired level value of setting by the increase time for exposure, then Indicate that light filling unit opens the light compensating lamp of desired number, think that IMAQ improves brightness, optimizes the quality of adopted image.This Sample can be by obtaining exposure time parameter, when determining the opening of desired number and control light compensating lamp of the light compensating lamp of opening Between.
According to another aspect of the present invention, a kind of light filling unit for camera head, the light filling list are additionally provided Unit includes multiple light compensating lamps and control process unit, and the control process unit is handed under the control of above-mentioned graphics processing unit Include for the opening light compensating lamp, also, the control process unit:Timing module, the timing module are used to record current The unlatching duration of each light compensating lamp opened;And control process module, the benefit that the control process module record is currently opened Light lamp, and whether the unlatching duration of each current light compensating lamp opened is judged more than preset duration, and currently open at any one When the unlatching duration of the light compensating lamp for opening is more than the preset duration, the light compensating lamp is closed, and in closing before opening another The light compensating lamp of state.
Light filling unit for camera head of the invention is used alternatingly by controlling light compensating lamp, makes each light compensating lamp Open duration roughly the same, so as to extend the service life of light compensating lamp.
According to another aspect of the present invention, a kind of camera head is additionally provided, including:Image acquisition units, the figure As collecting unit is used to gather image;Light filling unit, the light filling unit are used to increase brightness, the light filling list for IMAQ Unit includes multiple light compensating lamps;Graphics processing unit, described image processing unit are gathered for obtaining described image collecting unit Image, and judge the brightness of acquired image whether less than given threshold, and the brightness in acquired image be less than institute When stating given threshold, increase the time for exposure of described image collecting unit, and continue to judge that described image collecting unit is currently adopted Whether the brightness of the image of collection still is below the given threshold, if the time for exposure reaches maximum and described image is adopted The brightness of the image that collection unit is currently gathered still is below the given threshold, it indicates that the light filling unit opens predetermined quantity Light compensating lamp, and according to the brightness adjustment of the image for currently collecting open light compensating lamp number, so that it is determined that open benefit The desired number of light lamp, so that the brightness of the image of the current collection of described image collecting unit is not less than the given threshold; And communication unit, the communication unit be configured to by described image processing unit generate indication signal send to the light filling Unit.
Exemplarily, exposure of the time for exposure of described image processing unit control described image collecting unit less than setting Maximum described in the light time.
Exemplarily, described image processing unit controls the light filling unit and alternately opens light compensating lamp, and causes what is opened The number of light compensating lamp remains the desired number.
Exemplarily, the light filling unit includes also including control process unit that the control process unit is in the figure As, under the control of processing unit, alternating opens the light compensating lamp, also, the control process unit includes:Timing module, it is described Timing module is used for the unlatching duration of each light compensating lamp for recording current unlatching;Control process module, the control process module The current light compensating lamp opened of record, and whether the unlatching duration of each current light compensating lamp opened is judged more than preset duration, and When the unlatching duration of any one current light compensating lamp opened is more than the preset duration, the light compensating lamp is closed, and opens another One light compensating lamp being closed before.
Exemplarily, the control process unit is embodied as single-chip microcomputer.
Exemplarily, the communication unit is embodied as RS485 interfaces.
Camera head of the invention, in dark, when acquired image brightness is relatively low, first by increasing exposure The light time increases brightness of image, and controls the time for exposure no more than the maximum setting exposure time (maximum of time for exposure Value), the problems such as cause to occur streaking, fuzzy face, None- identified to avoid as the time for exposure is long, when by increasing Plus the time for exposure is when can not still make brightness of image reach at or above the desired level value of setting, it indicates that light filling unit is opened and expected The light compensating lamp of number, thinks that IMAQ improves brightness, optimizes the quality of adopted image.Also, when light compensating lamp is opened, lead to Cross light filling unit control light compensating lamp to be used alternatingly, to extend the service life of light compensating lamp.Camera head of the invention can be with By obtaining exposure time parameter, the opening time of the desired number and control light compensating lamp for opening light compensating lamp is determined, and then Preferable brightness of image can both be realized, it is also possible to extend light compensating lamp service life, it is to avoid waste the energy.
Description of the drawings
The drawings below of the embodiment of the present invention is used to understand the present invention in this as the part of the present invention.Illustrate in accompanying drawing Embodiments of the invention and its description, for explaining the principle of the present invention.In the accompanying drawings,
Fig. 1 is the signal for realizing the exemplary electronic device of control method according to embodiments of the present invention and camera head Property block diagram;
Fig. 2 is the indicative flowchart of the control method for camera head according to the embodiment of the present invention;
Fig. 3 is the more detailed schematic flow in control method part for camera head according to the embodiment of the present invention Figure;
Fig. 4 is the more detailed schematic flow in control method part for camera head according to the embodiment of the present invention Figure;
Fig. 5 is the schematic block diagram of the graphics processing unit for camera head according to the embodiment of the present invention;
Fig. 6 is the schematic block diagram of the light filling unit for camera head according to the embodiment of the present invention;
Fig. 7 is the schematic block diagram of the camera head according to the embodiment of the present invention.
Specific embodiment
In the following description, a large amount of concrete details are given to provide more thorough understanding of the invention.So And, it will be apparent to one skilled in the art that the embodiment of the present invention can be without the need for one or more of these details And be carried out.In other examples, in order to avoid obscuring with the embodiment of the present invention, for more well known in the art Technical characteristic is not described.
It should be appreciated that the present invention can be implemented in different forms, and should not be construed as being limited to what is proposed here Embodiment.Disclosure will be made thoroughly and complete on the contrary, providing these embodiments, and be will fully convey the scope of the invention to Those skilled in the art.In the accompanying drawings, in order to clear, the size and relative size of part, element etc. may be exaggerated.Ad initio Identical element is represented to whole same reference numerals.
In order that the object, technical solutions and advantages of the present invention become apparent from, root is described below with reference to accompanying drawings in detail According to the example embodiment of the present invention.Obviously, described embodiment is only a part of embodiment of the present invention, rather than this Bright whole embodiments, it should be appreciated that the present invention is not limited by example embodiment described herein.Described in the present invention The embodiment of the present invention, those skilled in the art's all other embodiment resulting in the case where creative work is not paid Should all fall under the scope of the present invention.
First, with reference to Fig. 1 describing for realizing the example of control method according to embodiments of the present invention and camera head Electronic equipment 100.
As shown in figure 1, electronic equipment 100 includes one or more processors 102, one or more storage devices 104, defeated Enter/output device 106, communication interface 108, one or more imageing sensors 110, and light filling unit 112, these components are led to Cross bindiny mechanism's (not shown) interconnection of bus system 114 and/or other forms.It should be noted that the electronic equipment shown in Fig. 1 100 component and structure are illustrative, and not restrictive, and as needed, the electronic equipment can also have other Component and structure, it is also possible to not including aforesaid members, for example, can include input/output device 106, it is also possible to do not wrap Include input/output device 106.
The processor 102 typically represent any types or form can processing data or explain and execute instruction place Reason unit.In general, processor can be CPU (CPU) or there is data-handling capacity and/or instruction to hold The processing unit of the other forms of row ability, and other components in the electronic equipment 100 can be controlled to perform expectation Function, such as processor can be special IC, various microcontrollers, single-chip microcomputer or graphics processing unit.Specific In embodiment, processor 102 can receive the instruction from software application or module.These instructions can cause processor 102 Complete the function of one or more example embodiments of being described herein and/or illustrate.
The storage device 104 can include one or more computer programs, and the computer program can With including various forms of computer-readable recording mediums, such as volatile memory and/or nonvolatile memory.It is described easy The property lost memory can for example include random access memory (RAM) and/or cache memory (cache) etc..It is described non- Volatile memory can for example include read-only storage (ROM), hard disk, flash memory etc..In the computer-readable recording medium On can store one or more computer program instructions, processor 102 can run described program instruction, to realize hereafter institute The client functionality (realized by processor) in the embodiment of the present invention stated and/or other desired functions.In the meter Various application programs and various data can also be stored in calculation machine readable storage medium storing program for executing, such as application program use and/or Various data for producing etc..
The input/output device 106 can be user for input instruction and the device to the various information of outside output, For example input unit can be including one or more in keyboard, mouse, microphone, button, button and touch-screen etc..Output dress Putting can be including one or more in display, loudspeaker etc..
Communication interface 108 widely represent any types or form can promote exemplary electronic device 100 and one or Communication equipment or adapter between multiple optional equipments.For example, communication interface 108 can promote electronic equipment 100 and front end Or the communication in additional electronic devices and back-end server or high in the clouds.The example of communication interface 108 includes but is not limited to wired network Network interface (such as NIC), radio network interface (such as wireless network interface card), modem and any other Suitable interface.In one embodiment, communication interface 108 by with the direct-connected offer of the network of such as internet to remote service Device/remote front-end equipment it is direct-connected.In a particular embodiment, communication interface 108 by with dedicated network, such as video monitoring net The direct-connected offer of the networks such as network, Skynet system network is direct-connected to remote server/remote front-end equipment.Communication interface 108 is also This connection by any other suitable connection can be provided indirectly.
Described image sensor 110 can shoot the desired image of user (such as photo, video etc.), and will be captured Image be stored in the storage device 104 and use for other components.
Light filling unit 112 can be the various parts including light compensating lamp, and exemplarily, light filling unit 112 can include mending Light lamp control panel and the multiple light compensating lamps being integrated on light compensating lamp control panel, are integrated with control process list on light compensating lamp control panel Unit, such as single-chip microcomputer, which is realized to light filling lamp switch and otherwise control, such as by the control process on single-chip microcomputer Module can record the light compensating lamp of current unlatching, can record each by the timing module (timer) on single-chip microcomputer and currently open The unlatching duration of the light compensating lamp for opening.
Exemplarily, for realizing that the exemplary electronic device of control method according to embodiments of the present invention and camera head can To be implemented as such as camera, video camera, smart mobile phone, panel computer, the IMAQ end of gate control system, preventing road monitoring system IMAQ end, the IMAQ end of safety-protection system etc..
Fig. 2 is the indicative flowchart of the control method for camera head according to the embodiment of the present invention.According to Fig. 3 The more detailed indicative flowchart in control method part for camera head of the embodiment of the present invention;Fig. 4 is according to the present invention The more detailed indicative flowchart in control method part for camera head of embodiment.Below in conjunction with Fig. 2 to Fig. 4 to root It is described according to the control method for camera head of the embodiment of the present invention.
As shown in Fig. 2 the disclosed control method for camera head of the embodiment of the present invention includes:
First, in step s 201, obtain the image of image acquisition units collection.
Image acquisition units are, for example, the image map sensor 110 in electronic equipment 100 shown in Fig. 1, by image sensing Device 110 can convert optical signal into data image signal, so as to realize the collection of image.Further, described image sensing The image of device collection can also be able to be video for picture.When the image of imageing sensor collection is video, then video is obtained In every two field picture.
In step S202, judge the brightness of acquired image whether less than given threshold.
Specifically, it is first determined the brightness of the image that step S201 is obtained, then the brightness is compared with given threshold Compared with to determine the brightness of acquired image whether less than given threshold.Wherein, so-called given threshold refers to be suitable for carrying out The desired level value of the operations such as recognition of face, when the brightness of image is less than the desired level value, then can be to recognition of face Etc. having a negative impact, for example, can not recognize or recognize and be slack-off etc..The desired level value can be empirically determined according to, also may be used To be determined according to test of many times or suitable algorithm.
If determining that in step S202 the brightness of acquired image is less than given threshold, into step S203. In step S203, increase the time for exposure of image acquisition units.That is, it is in dim, when the brightness of acquired image is low, first First increase the time for exposure, so that the brightness of image in image or video per two field picture is greater than or equal to given threshold, that is, set Desired level value.
Further, as it was previously stated, the time for exposure long can cause that streaking, face are fuzzy and None- identified etc. is asked Topic.Therefore, in the present embodiment, a maximum exposure time is set as the maximum of time for exposure, to guarantee that image will not Lead to not identification because the time for exposure is long.The maximum exposure time can be with empirically determined, it is also possible to according to experiment or algorithm It is determined that.Exemplarily, in the present embodiment, maximum exposure time is 10ms, i.e. the time for exposure is no more than 10ms.It is exemplary Ground, in the present embodiment, the excursion of time for exposure is between 0.1ms~10ms.
In the case where the time for exposure is increased, into step S204, continuation judges what image acquisition units were currently gathered Whether the brightness of image still is below given threshold, if the time for exposure reaches maximum, and current acquired image Brightness still be below given threshold, then into step 205, indicate light filling unit open predetermined quantity light compensating lamp, think figure As collection improves brightness, so as to optimize the quality of acquired image.
If in step 202 or 204, if it is determined that the brightness of the current acquired image of image acquisition units be equal to or Higher than given threshold, then in step S206, subsequent operation is carried out, for example, store acquired image or enter recognition of face Etc..
Further, in an example of the present invention, the increase of time for exposure can progressively be carried out or be entered several times OK.I.e., in an embodiment of the invention, step S203 and S204 can repeat repeatedly, reach institute until the time for exposure State maximum or brightness of image is equal to or higher than given threshold.As shown in figure 3, step S203 and S204 specifically can be by following steps It is rapid to operate:
First, in step S301 (namely step 203), increase the time for exposure of image acquisition units, subsequently into step Rapid S302 (namely step S204), continuation judge whether the brightness of the current acquired image of image acquisition units still is below institute Given threshold is stated, if the brightness of acquired image still is below the given threshold, in step S303, judges to expose Whether the light time reaches the maximum.If the time for exposure is not reaching to maximum, return in step 301, and repeat to walk Rapid S301 and S302, reaches maximum until the time for exposure, or the brightness of the current acquired image of image acquisition units is equal to Or be higher than the given threshold.If the time for exposure reaches the bright of maximum and the current acquired image of image acquisition units Degree still is below the given threshold, then, in step S205, indicate that light filling unit opens light compensating lamp;If IMAQ list The brightness of first current acquired image is equal to or higher than the given threshold, then, in step S206, carry out subsequent operation, For example store acquired image or enter recognition of face etc..
Certainly, above-mentioned example is only a specific example of the invention, the invention is not restricted to this.For example, in the another of the present invention In one example, other suitable modes of operation are may also be employed, such as when the brightness for determining acquired image in step 202. During less than given threshold, then in step S203, directly the time for exposure maximum will be increased to.In another example of the present invention In, if determine that the brightness of acquired image is less than given threshold in step 202., in step S203, sentence first Whether the disconnected time for exposure reaches maximum, if it is not, maximum directly will be increased to the time for exposure, or according to Fig. 3 institutes Show, gradually increase the time for exposure;If the time for exposure has been maxed out value, it is directly entered in step S205, indicates light filling Unit opens light compensating lamp.
Further, in the present invention, in order to extend the service life of light filling, light compensating lamp power is controlled, reduces energy wave Take, in step S205, if the time for exposure reaches maximum, and the current image of collection of described image collecting unit is bright Degree still is below the given threshold, it indicates that the light filling unit opens the light compensating lamp of predetermined quantity, and according to described image The number of the light compensating lamp that the brightness adjustment of the image that collecting unit is currently collected is opened, so that it is determined that the phase of the light compensating lamp opened Number is hoped, so that the brightness of the image of the current collection of described image collecting unit is not less than the given threshold.In conjunction with Fig. 4 Step 205 is further described.In one embodiment, step 205 can be operated in the following manner.
As shown in figure 4, in step S401, indicating that light filling unit opens the light compensating lamp of predetermined quantity.In one embodiment In, it may be predetermined that the predetermined quantity, for example, it is possible to use dichotomy, open the light filling of the half in whole light compensating lamps Lamp.That is, by corresponding control signal or indication signal, indicate that light filling unit opens the light compensating lamp of predetermined quantity, for example, open The light compensating lamp of half.
Then, in step S402, continuation judges that the brightness of the current acquired image of described image collecting unit is It is no still to be below the given threshold, if the brightness of acquired image is equal to or higher than given threshold, into step In S206, subsequent operation is carried out.If the brightness of acquired image still is below the given threshold, into step S403 In, more light compensating lamps are opened, such as, in an example of the invention, opens second half light compensating lamp.Certainly, in other examples In, it is also possible to the light compensating lamp that only opening part is not opened, the benefit of the half number in the light compensating lamp do not opened for example, can be opened Light lamp.Now, then subsequently enter in step S404, continuation judges the brightness of the current acquired image of described image collecting unit The given threshold whether still is below, if the brightness of current acquired image still is below the given threshold, is turned Enter in step S403, open more light compensating lamps, for example, other light compensating lamps do not opened.Certainly, in other examples, The light compensating lamp that part is not opened can also be opened, the light compensating lamp of the half number in the light compensating lamp do not opened for example, can be opened, And step 404 is carried out, and so on until light compensating lamp is fully open or the current acquired image of described image collecting unit Brightness be equal to or higher than given threshold till.The expectation of the light compensating lamp that the number of the light compensating lamp having already turned on is defined as opening Number.In the case where the light compensating lamp of desired number is opened, the brightness of the image of image acquisition units collection is not less than described setting Determine threshold value.
Further, in an example of the present invention, in order to extend the service life of light compensating lamp, light filling list can be controlled Light compensating lamp alternating in unit is opened and used, and causes the number of the light compensating lamp opened to remain the desired number.
Specifically, light compensating lamp can be integrated on light compensating lamp control panel as previously mentioned, and control is included on light compensating lamp control panel Processing unit processed, for example, single-chip microcomputer, the single-chip microcomputer can record the light compensating lamp of current unlatching, and record each light compensating lamp unlatching Duration, whether judge the unlatching duration of each current light compensating lamp opened more than preset duration, also, work as any one light compensating lamp Unlatching duration when being more than the preset duration, control the light compensating lamp and close, and be closed before opening another Light compensating lamp.For example, it is assumed that current light compensating lamp has A, B, C, D, E and F, the light filling opened is determined by the dichotomy in step 205 The desired number of lamp is 3, also, the current light compensating lamp opened has A, C and E, and A, C and E are opened in the same time, and single-chip microcomputer can be remembered The unlatching duration (for example, when light compensating lamp is opened, starting the timing module of single-chip microcomputer) of three light compensating lamps of record, grows up when activated When preset duration, A, C and E are closed, and B, D and F is opened so that the number of the light compensating lamp opened maintains the expectation number Mesh, and start the unlatching duration of timer record three light compensating lamps.So realize light compensating lamp is used alternatingly, it is possible to achieve Extend the purpose in light compensating lamp life-span.
In one embodiment, the light compensating lamp that control process unit can be controlled in the light filling unit is alternately opened, and Make the unlatching duration of each light compensating lamp identical.
Exemplarily, can be with imageing sensor, figure according to the control method for camera head of the present embodiment As processing unit (ISP) or processor and including multiple light compensating lamps light filling unit unit or system in realize. The control method of camera head according to embodiments of the present invention can be deployed at the collection terminal of facial image identification, such as road The IMAQ end of the gate control system of the monitoring camera of monitoring system, Companies House etc., and it is other cameras, smart mobile phone, flat On the equipment such as plate.Exemplarily, according to embodiments of the present invention, the operation and other corresponding operations shown in Fig. 2 to Fig. 4, Can be implemented by graphics processing unit (ISP), i.e., graphics processing unit (ISP) can run corresponding programmed instruction to perform Fig. 2 to Fig. 4 and other corresponding operating procedures, so as to realize the raising brightness of image desired by the present invention, and control light filling Lamp power, the purpose for extending light filling service life.
It is according to the control method of the camera head of the present embodiment, in dark, when acquired image brightness is relatively low, first First pass through the increase time for exposure to increase brightness of image, and the time for exposure is controlled no more than maximum setting exposure time (exposure The maximum of light time), to avoid causing to occur streaking, the fuzzy, None- identified of face etc. as the time for exposure is long Problem, when can not still make brightness of image reach at or above the desired level value of setting by the increase time for exposure, it indicates that mend Light unit opens light compensating lamp, thinks that IMAQ improves brightness, optimizes the quality of adopted image.Also, when unlatching light compensating lamp When, light compensating lamp is controlled by light filling unit and is used alternatingly, to extend the service life of light compensating lamp.
Light compensating lamp can be determined by obtaining exposure time parameter according to the control method of the camera head of the present embodiment The opening time of the desired number and control light compensating lamp of opening, and then can both realize preferable brightness of image, it is also possible to extend Light compensating lamp service life, it is to avoid waste the energy.
Fig. 5 is the schematic block diagram of the graphics processing unit for camera head according to the embodiment of the present invention.Under Face is described to the graphics processing unit for camera head according to embodiments of the present invention with reference to Fig. 5, wherein, it is described to be used for The graphics processing unit configuration of camera head is integrated in camera head.
As shown in figure 5, the graphics processing unit 500 for camera head according to embodiments of the present invention includes that image is obtained Module 510, judge module 520 and processing module 530.
Image collection module 510 is for obtaining image from the image acquisition units of such as imageing sensor.Image is obtained Processor 102 in the electronic equipment as shown in Figure 1 of module 510, such as graphics processing unit (ISP) Running storage device 104 The programmed instruction of middle storage is realizing, and can perform step S201 in control method according to embodiments of the present invention.Enter One step ground, special IC of the image collection module 510 to be embodied as in graphics processing unit (ISP), with from image sensing Image is obtained in the signal of device output.
Judge module 520 is used to judge that whether being less than for described image collecting unit acquired image brightness sets threshold Value, that is, judge whether the brightness of the image acquired in image collection module 510 is less than given threshold.So-called given threshold is referred to It is suitable for carrying out the desired level value of the operations such as recognition of face, when the brightness of image is less than the desired level value, then can Recognition of face etc. is had a negative impact, for example, can not recognized or recognized and be slack-off etc..The desired level value can the Jing according to Test determination, it is also possible to determine according to test of many times or suitable algorithm.Further, judge module 520 is additionally operable to judge described Whether the time for exposure of image acquisition units reaches maximum.That is, it is judged that whether the time for exposure of image acquisition units exceedes setting Fixed maximum exposure time, so as to ensure the time for exposure less than setting maximum exposure time, can so avoid image by In the time for exposure it is long and lead to not identification.Judge module 520 can be as shown in Figure 1 electronic equipment in processor 102 The programmed instruction stored in Running storage device 104 is realizing, and can perform control method according to embodiments of the present invention In step S202, S204, S302, S303, S402 and S404.Further, judge module 520 can be implemented as image procossing Special IC in unit (ISP), or comparison circuit, by brightness of image and time for exposure respectively with setting desired level Value (given threshold) and maximum exposure time are compared, so that it is determined that whether brightness of image is less than given threshold, and exposure Whether the time exceedes maximum exposure time (maximum of time for exposure).
Processing module 530 is operated accordingly for the judged result based on judge module.For example, processing module 530 When determining that in judge module 520 brightness of the image of described image collecting unit collection is less than given threshold, increase described image The time for exposure of collecting unit, if the time for exposure reach the bright of the current image of collection of maximum and image acquisition units Degree still is below given threshold, and residing processing module 530 then indicates that the light filling unit opens the light compensating lamp of predetermined quantity, and root The number of the light compensating lamp that the brightness adjustment of the image currently collected according to described image collecting unit is opened, so that it is determined that open The desired number of light compensating lamp, so that the brightness of the image of the current collection of described image collecting unit is not less than the setting threshold Value.Processing module 530 is not reaching to maximum in the time for exposure of described image collecting unit and described image collecting unit is adopted When the brightness of image of collection still is below the given threshold, continue to increase the time for exposure of described image collecting unit.Process mould Block 530 the time for exposure of described image collecting unit reach maximum and described image collecting unit collection brightness of image still When being so less than the given threshold, indicate that the light filling unit opens the light compensating lamp of predetermined quantity.Processing module 530 can be with profit With dichotomy, the light compensating lamp of the half in whole light compensating lamps, and the figure currently collected according to described image collecting unit are opened The number of the light compensating lamp that the brightness adjustment of picture is opened, so that it is determined that the desired number predetermined quantity of the light compensating lamp opened.For example, locate Module 530 is managed after the light lamp that the light filling unit opens the predetermined quantity, if described image collecting unit is currently gathered Brightness of image still be below given threshold, processing module 530 indicates that the light filling unit opens more light compensating lamps.For example exist In an example of the invention, second half light compensating lamp is opened.Certainly, in other examples, it is also possible to which only opening part is not opened Light compensating lamp, for example, can open the light compensating lamp of the half number in the light compensating lamp do not opened.Processing module 530 is in described image When the brightness of the image of collecting unit collection is equal to or higher than given threshold, subsequent operation is carried out, for example, store gathered figure Picture carries out recognition of face.Processing module 530 can be as shown in Figure 1 electronic equipment in 102 Running storage device of processor The programmed instruction stored in 104 realizing, and can perform step S203 in control method according to embodiments of the present invention, S205, S206, S401 and S403.
In one embodiment, the processing module also controls the light filling unit and alternately opens light compensating lamp, and causes to beat The number of the light compensating lamp opened remains the desired number.Hereinafter, by the concrete structure with reference to light filling unit retouching in detail State the operating process that light filling unit alternately opens light compensating lamp.
Graphics processing unit for camera head of the invention, in dark, acquired image brightness compared with When low, increase brightness of image first by increasing the time for exposure, and the time for exposure is controlled no more than maximum setting exposure Duration (maximum of time for exposure), cause to occur to avoid as the time for exposure is long streaking, face it is fuzzy, cannot The problems such as identification, when can not still make brightness of image reach at or above the desired level value of setting by the increase time for exposure, then Indicate that light filling unit opens light compensating lamp, think that IMAQ improves brightness, optimize the quality of adopted image.Can so pass through Exposure time parameter is obtained, the opening time of the desired number and control light compensating lamp of the light compensating lamp of opening is determined.
Fig. 6 is the schematic block diagram of the light filling unit for camera head according to the embodiment of the present invention.Tie below Close Fig. 6 to be described the light filling unit for camera head according to embodiments of the present invention, exemplarily, for camera head Light filling unit it is integrated or be configured on video camera, i.e., it is integrated or be configured at IMAQ end.
As shown in fig. 6, the light filling unit 600 for camera head according to embodiments of the present invention includes multiple light compensating lamps 610 and control process unit 640, the control process unit 640 includes timing module 620 and control process module 630.It is described Under the control of described image processing unit, alternating opens the light compensating lamp, and the number of the light compensating lamp for causing to open to light filling unit Mesh remains the desired number.
Light compensating lamp 610 is used to provide brightness for IMAQ, to optimize the quality of acquired image.In the present embodiment In, light filling unit 600 includes multiple light compensating lamps, such as including 6 light compensating lamps, or 12 light compensating lamps etc..The quantity root of light compensating lamp According to it needs to be determined that.In an example of the invention, multiple light compensating lamps 610 can be implemented as being integrated in many in a big light compensating lamp Individual lampet.In an example of the invention, multiple light compensating lamps 610 can be with integrated or be configured in light compensating lamp control panel or circuit board On.
Timing module 620 is used for the unlatching duration of the light compensating lamp for recording each unlatching.Timing module 620 can be implemented as figure The timer in the light filling unit in electronic equipment shown in 1.
Control process module 630 is used for the light compensating lamp for recording current unlatching, and judges each current light compensating lamp opened Open whether duration is more than preset duration, and when the unlatching duration of any one current light compensating lamp opened is more than described default When long, the light compensating lamp closed, and opens the light compensating lamp being closed before another.Control process module 630 can be The controller in the light filling unit 112 in electronic equipment 100 shown in Fig. 1.
Exemplarily, in an example of the invention, timing module 620 and control process module 630 can be implemented as collection Into the control process unit 640 in light compensating lamp control panel, such as single-chip microcomputer.The single-chip microcomputer can record the light filling of current unlatching Lamp, and the duration that each light compensating lamp is opened is recorded, judge the unlatching duration of each current light compensating lamp opened whether more than default Duration, also, when the unlatching duration of any one light compensating lamp is more than preset duration, controls the light compensating lamp and close, and open another The light compensating lamp being closed before individual.For example, it is assumed that current light compensating lamp has A, B, C, D, E and F, by step 205 Dichotomy, it is determined that the desired number of the light compensating lamp opened is 3, also, the current light compensating lamp opened has A, C and E, and A, C and E are same Moment opens, and single-chip microcomputer can record the unlatching duration of three light compensating lamps and (for example, when light compensating lamp is opened, start single-chip microcomputer Timer), when activated it is long more than preset duration when, close A, C and E, and open B, D and F so that the light compensating lamp opened Number maintains the desired number, and starts the unlatching duration of timer record three light compensating lamps.So realize to light filling Lamp is used alternatingly, so as to realize extending the purpose in light compensating lamp life-span.
Light filling unit for camera head according to embodiments of the present invention, is used alternatingly by controlling light compensating lamp, is made every Individual light compensating lamp unlatching duration is roughly the same, so as to extend the service life of light compensating lamp.
Fig. 7 is the schematic block diagram of the camera head 700 according to the embodiment of the present invention.With reference to Fig. 7 to basis The camera head 700 of the embodiment of the present invention is described.
As shown in fig. 7, camera head 700 according to embodiments of the present invention includes image acquisition units 710, image procossing list Unit 720, light filling unit 730, communication unit 740 and storage device 750.
Image acquisition units 710 can be using current various types of imageing sensors, and image acquisition units 710 can Video can also be gathered to gather picture.
Light filling unit 730 is used to increase brightness for IMAQ, and the structure of light filling unit 730 is similar with structure shown in Fig. 6, Will not be described here.
Graphics processing unit 720 is used to obtain 710 acquired image of imageing sensor, judges the bright of acquired image Whether degree is less than given threshold, and when the brightness of acquired image is less than the given threshold, increases image acquisition units 710 time for exposure, and continue to judge the current image of collection of described image collecting unit brightness whether still be below it is described Given threshold, if the time for exposure reach maximum and described image collecting unit currently the image of collection brightness still Less than the given threshold, it indicates that light filling unit 730 opens the light compensating lamp of predetermined quantity, and according to the image for currently collecting Brightness adjustment open light compensating lamp number, so that it is determined that open light compensating lamp desired number so that described image is adopted The brightness of the image that collection unit is currently gathered is not less than the given threshold.Further, graphics processing unit 720 is additionally operable to control Maximum exposure time of the time for exposure of imaged collecting unit 710 less than setting.Graphics processing unit 720 is additionally operable to two points The method of method, indicates that light filling unit 730 opens the light compensating lamp of predetermined quantity, and the predetermined quantity is the one of whole light compensating lamp numbers Half.After the light compensating lamp that the light filling unit opens the predetermined quantity, graphics processing unit 720 continues to judge that described image is adopted Whether the brightness of the image of 710 current collection of collection unit still is below the given threshold, if described image collecting unit 710 The brightness of the image of current collection still is below given threshold, it indicates that the light filling unit opens more light compensating lamps, until The brightness of the image that described image collecting unit is currently gathered is not less than the given threshold.The structure of graphics processing unit 720 It is similar with structure shown in Fig. 2 to Fig. 5 and control process with function, will not be described here.
Communication unit 740 is configured to the indication signal that graphics processing unit 720 is generated be sent to the light filling unit 730.In an example of the invention, communication unit 740 can be implemented as RS485 interfaces, i.e. graphics processing unit 720 and judge figure The brightness of picture, and will determine that result is transferred to light filling unit by RS485 interfaces, light filling unit is mended according to the judged result control The opening and closing of light lamp.
Storage device 750 is used to store acquired image or video.Storage device 750 can be as shown in Figure 1 electronics One or more storage devices 104 in processor 102 in equipment are realized.
In one embodiment, described image processing unit 720 controls the light filling unit 730 and alternately opens light compensating lamp, And cause the number of the light compensating lamp opened to remain the desired number.The light filling unit 730 also includes control process unit, Under the control of described image processing unit 720, alternating opens the light compensating lamp, also, the control to the control process unit Processing unit processed includes:Timing module, the timing module are used for the unlatching duration of each light compensating lamp for recording current unlatching;With And control process module, the light compensating lamp that the control process module record is currently opened, judge each current light compensating lamp opened Unlatching duration whether be more than the preset duration, and any one current light compensating lamp opened unlatching duration more than default During duration, the light compensating lamp is closed, and opens the light compensating lamp being closed before another.
Exemplarily, camera head according to embodiments of the present invention can be implemented with imageing sensor, memory, benefit The unit or system of light unit, communication interface/unit and processor.
Camera head according to embodiments of the present invention can be deployed in face identification system, for example, led in security protection application Domain, can be deployed in gate control system or preventing road monitoring system;In financial application field, can be with the identity of bank, exchange etc. In Verification System.Or, in other fields, it is deployed at suitable IMAQ end.
Camera head according to embodiments of the present invention, passes through when acquired image brightness is relatively low first in dark Increase the time for exposure to increase brightness of image, and the time for exposure is controlled no more than the maximum setting exposure time (time for exposure Maximum), the problems such as cause to occur streaking, fuzzy face, None- identified to avoid as the time for exposure is long, when When can not still make brightness of image reach at or above the desired level value of setting by increasing the time for exposure, it indicates that light filling unit is beaten Light compensating lamp is opened, is thought that IMAQ improves brightness, is optimized the quality of adopted image.Also, when light compensating lamp is opened, by mending Light unit control light compensating lamp is used alternatingly, to extend the service life of light compensating lamp.Camera head of the invention can pass through Exposure time parameter is obtained, the opening time of the desired number and control light compensating lamp of the light compensating lamp for needing to open is determined, is entered And can both realize preferable brightness of image, it is also possible to extend light compensating lamp service life, it is to avoid waste the energy.
Additionally, according to embodiments of the present invention, additionally providing a kind of storage medium, storing program on said storage Instruction, when described program is instructed and run by graphics processing unit or computer or processor for performing the embodiment of the present invention For the corresponding steps of the control method of camera head, and for realize graphics processing unit according to embodiments of the present invention, Corresponding module in light filling unit and camera head.The storage medium can for example include storage card, the flat board of smart phone The memory unit of computer, the hard disk of personal computer, read-only storage (ROM), Erasable Programmable Read Only Memory EPROM (EPROM), any combination of portable compact disc read-only storage (CD-ROM), USB storage or above-mentioned storage medium. The computer-readable recording medium can be any combination of one or more computer-readable recording mediums, such as one meter Calculation machine readable storage medium storing program for executing includes the computer-readable program code for judging brightness of image, another computer-readable storage medium Matter comprising for according to brightness of image increase image acquisition units time for exposure and/or open light compensating lamp so that described image The brightness of the image that collecting unit is currently gathered is not less than the computer-readable program code of the given threshold.
In one embodiment, the computer program instructions can be realized when being run by computer according to of the invention real Apply example for camera head and graphics processing unit, each functional module of light filling unit, and/or basis can be performed The control method for camera head of the embodiment of the present invention.
In one embodiment, the computer program instructions are when being run by computer so that the computer is performed Following steps:Obtain described image collecting unit acquired image;Judge the brightness of described image whether less than given threshold; If the brightness of described image is less than the given threshold, increases the time for exposure of described image collecting unit, and continue to sentence Whether the brightness of the image that disconnected described image collecting unit is currently gathered still is below the given threshold;And if the exposure The light time reaches maximum, and the brightness of the image of the current collection of described image collecting unit still is below the given threshold, Then indicate that the light filling unit opens the light compensating lamp of predetermined quantity, and the image currently collected according to described image collecting unit Brightness adjustment open light compensating lamp number, so that it is determined that open light compensating lamp desired number so that described image is adopted The brightness of the image that collection unit is currently gathered is not less than the given threshold.
Each module in camera head according to embodiments of the present invention can be filled by shooting according to embodiments of the present invention The processor computer program instructions that store in memory of operation of the electronic equipment put, or can be according to this realizing The computer instruction stored in the computer-readable recording medium of the computer program of inventive embodiments is run by computer Shi Shixian.
Although the example embodiment by reference to Description of Drawings here, it should be understood that above-mentioned example embodiment is merely exemplary , and be not intended to limit the scope of the invention to this.Those of ordinary skill in the art can carry out various changes wherein And modification, it is made without departing from the scope of the present invention and spirit.All such changes and modifications are intended to be included in claims Within required the scope of the present invention.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding The scope of the present invention.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, which can be passed through Its mode is realized.For example, apparatus embodiments described above are only schematically, for example division of the unit, only Only a kind of division of logic function, can have other dividing mode when actually realizing, such as multiple units or component can be tied Close or be desirably integrated into another equipment, or some features can be ignored, or do not perform.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the present invention and help understand one or more in each inventive aspect, exist To the present invention exemplary embodiment description in, the present invention each feature be grouped together into sometimes single embodiment, figure, Or in descriptions thereof.However, should the method for the invention be construed to reflect following intention:It is i.e. claimed The more features of feature that are expressly recited in each claim of application claims ratio.More precisely, as accordingly As claims are reflected, its inventive point is to use all features less than single embodiment disclosed in certain Feature is solving corresponding technical problem.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the tool Separate embodiments of the body embodiment, wherein each claim as the present invention itself.
It will be understood to those skilled in the art that in addition to mutually exclusive between feature, any combinations pair can be adopted All features and so disclosed any method disclosed in this specification (including adjoint claim, summary and accompanying drawing) Or all processes or unit of equipment are combined.Unless expressly stated otherwise, this specification (includes that adjoint right will Ask, make a summary and accompanying drawing) disclosed in each feature can, equivalent identical by offer or similar purpose alternative features replacing.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection one of arbitrarily Can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing some moulds in article analytical equipment according to embodiments of the present invention The some or all functions of block.The present invention is also implemented as performing a part for method as described herein or complete The program of device (for example, computer program and computer program) in portion.Such program for realizing the present invention can be stored On a computer-readable medium, or can have one or more signal form.Such signal can be from internet Download on website and obtain, or provide on carrier signal, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
The above, the only specific embodiment of the present invention or the explanation to specific embodiment, the protection of the present invention Scope is not limited thereto, any those familiar with the art the invention discloses technical scope in, can be easily Expect change or replacement, should all be included within the scope of the present invention.Protection scope of the present invention should be with claim Protection domain is defined.

Claims (19)

1. a kind of control method for camera head, the camera head include image acquisition units, graphics processing unit and Light filling unit, the light filling unit include multiple light compensating lamps, it is characterised in that the control method includes:
Obtain described image collecting unit acquired image;
Judge the brightness of described image whether less than given threshold;
If the brightness of described image be less than the given threshold, increase described image collecting unit time for exposure, and after Whether the brightness of the continuous image for judging the current collection of described image collecting unit still is below the given threshold;And
If the time for exposure reaches maximum, and the brightness of the image of the current collection of described image collecting unit still is below The given threshold, it indicates that the light filling unit opens the light compensating lamp of predetermined quantity, and is worked as according to described image collecting unit Before the number of light compensating lamp opened of the brightness adjustment of image that collects, so that it is determined that the desired number of the light compensating lamp opened, with So that the brightness of the image of the current collection of described image collecting unit is not less than the given threshold.
2. control method according to claim 1, it is characterised in that also include:
Judge whether the time for exposure of described image collecting unit reaches the maximum,
If the time for exposure of described image collecting unit is not reaching to the maximum, and described image collecting unit is currently adopted The brightness of the image of collection still is below the given threshold, then continue to increase the time for exposure of described image collecting unit.
3. control method according to claim 1, it is characterised in that also include:
Control the light filling unit and alternately open light compensating lamp, and cause the number of the light compensating lamp opened to remain the expectation number Mesh.
4. control method according to claim 1, it is characterised in that the instruction light filling unit opens predetermined quantity Light compensating lamp, and the image currently collected according to described image collecting unit brightness adjustment open light compensating lamp number, So that it is determined that the desired number of the light compensating lamp opened, so that the brightness of the image of the current collection of described image collecting unit is not low In the given threshold, including:
After the light compensating lamp that the light filling unit opens the predetermined quantity, continuation judges that described image collecting unit is currently gathered The brightness of image whether still be below the given threshold, if the brightness of the current image of collection of described image collecting unit Still be below given threshold, it indicates that the light filling unit opens more light compensating lamps, until described image collecting unit it is current The brightness of the image of collection is not less than the given threshold.
5. control method according to claim 1, it is characterised in that also include:
Set the maximum of the time for exposure of the given threshold and described image collecting unit.
6. the control method according to claim 1-5 any one, it is characterised in that abovementioned steps are all by described image Processing unit is implemented.
7. control method according to claim 3, it is characterised in that the control light filling unit alternately opens light filling Lamp, including:
The light compensating lamp controlled in the light filling unit is alternately opened, and makes the unlatching duration of each light compensating lamp identical.
8. control method according to claim 3, it is characterised in that the alternating of the light compensating lamp is opened by the light filling Unit performs following step and realizes:
Record the current light compensating lamp opened in the light filling unit, and the unlatching duration of each current light compensating lamp opened;With And
Whether the unlatching duration of each current light compensating lamp opened is judged more than preset duration, also, if any one is current The unlatching duration of the light compensating lamp of unlatching is more than the preset duration, then close the light compensating lamp, and in pass before opening another The light compensating lamp of closed state.
9. a kind of graphics processing unit for camera head, the camera head also include image acquisition units and light filling list Unit, the light filling unit include multiple light compensating lamps, it is characterised in that described image processing unit includes:
Image collection module, described image acquisition module are used for the image for obtaining the collection of described image collecting unit;
Whether judge module, the judge module are used for the brightness of the image for judging the collection of described image collecting unit less than setting Threshold value;
Processing module, the processing module determine the bright of the image that described image collecting unit is currently gathered in the judge module When degree is less than the given threshold, increase the time for exposure of described image collecting unit, if the time for exposure reaches maximum Value, and the brightness of the image of the current collection of described image collecting unit still is below the given threshold, the processing module is then Indicate that the light filling unit opens the light compensating lamp of predetermined quantity, and the image currently collected according to described image collecting unit The number of the light compensating lamp that brightness adjustment is opened, so that it is determined that the desired number of the light compensating lamp opened, so that described image collection The brightness of the image that unit is currently gathered is not less than the given threshold.
10. graphics processing unit according to claim 9, it is characterised in that the judge module is additionally operable to judge described Whether the time for exposure of image acquisition units reaches the maximum,
The processing module is not reaching to the maximum, and described image collection in the time for exposure of described image collecting unit When the brightness of image of unit currently collection still is below the given threshold, when continuing to increase the exposure of described image collecting unit Between.
11. graphics processing units according to claim 9, it is characterised in that the processing module also controls the light filling Units alternately opens light compensating lamp, and causes the number of the light compensating lamp opened to remain the desired number.
12. graphics processing units according to claim 9, it is characterised in that open described predetermined in the light filling unit After the light compensating lamp of quantity, whether still the judge module continues the brightness of the image for judging that described image collecting unit is currently gathered The given threshold is less than so, the processing module still is below institute in the brightness of image of described image collecting unit currently collection When stating given threshold, indicate that the light filling unit opens more light compensating lamps, until the judge module judges that described image is adopted The brightness of the image that collection unit is currently gathered is not less than the given threshold.
13. a kind of light filling units for camera head, it is characterised in that the light filling unit includes multiple light compensating lamps and control Processing unit, the control process unit under the control of the graphics processing unit of any one, replace in claim 9-12 The light compensating lamp is opened, also, the control process unit includes:
Timing module, the timing module are used for the unlatching duration of each light compensating lamp for recording current unlatching;And
Control process module, the light compensating lamp that the control process module record is currently opened, and judge each current benefit opened Whether the unlatching duration of light lamp is more than preset duration, and any one current light compensating lamp opened unlatching duration more than described During preset duration, the light compensating lamp is closed, and opens the light compensating lamp being closed before another.
14. a kind of camera heads, it is characterised in that include:
Image acquisition units, described image collecting unit are used to gather image;
Light filling unit, the light filling unit are used to increase brightness for IMAQ, and the light filling unit includes multiple light compensating lamps;
Graphics processing unit, described image processing unit are used to obtain described image collecting unit acquired image, judge institute Whether the brightness of the image of collection is less than given threshold, and when the brightness of acquired image is less than the given threshold, increases Plus the time for exposure of described image collecting unit, and continue to judge that the brightness of the current image of collection of described image collecting unit is It is no still to be below the given threshold, if the time for exposure reach the currently collection of maximum and described image collecting unit The brightness of image still is below the given threshold, it indicates that the light compensating lamp of the light filling unit opening predetermined quantity, and according to The number of the light compensating lamp that the brightness adjustment of the image for currently collecting is opened, so that it is determined that the desired number of the light compensating lamp opened, So that the brightness of the image of the current collection of described image collecting unit is not less than the given threshold;And
Communication unit, the communication unit are configured to the indication signal that described image processing unit is generated be sent to the light filling Unit.
15. camera heads according to claim 14, it is characterised in that described image processing unit control described image is adopted The maximum of the time for exposure of collection unit less than the time for exposure of setting.
16. camera heads according to claim 14, it is characterised in that described image processing unit controls the light filling list Unit alternately opens light compensating lamp, and causes the number of the light compensating lamp opened to remain the desired number.
17. camera heads according to claim 14, it is characterised in that the light filling unit includes also including control process Unit, under the control of described image processing unit, alternating opens the light compensating lamp to the control process unit, also, described Control process unit includes:
Timing module, the timing module are used for the unlatching duration of each light compensating lamp for recording current unlatching;And
Control process module, the light compensating lamp that the control process module record is currently opened judge each current light filling opened Whether the unlatching duration of lamp is more than the preset duration, and the unlatching duration in any one current light compensating lamp opened is more than in advance If during duration, closing the light compensating lamp, and opening the light compensating lamp being closed before another.
18. camera heads according to claim 17, it is characterised in that the control process unit is embodied as single-chip microcomputer.
19. camera heads according to claim 14, it is characterised in that the communication unit is embodied as RS485 interfaces.
CN201610939437.0A 2016-10-24 2016-10-24 Control method, image processing unit, light-filling and camera device Pending CN106534712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610939437.0A CN106534712A (en) 2016-10-24 2016-10-24 Control method, image processing unit, light-filling and camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610939437.0A CN106534712A (en) 2016-10-24 2016-10-24 Control method, image processing unit, light-filling and camera device

Publications (1)

Publication Number Publication Date
CN106534712A true CN106534712A (en) 2017-03-22

Family

ID=58292247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610939437.0A Pending CN106534712A (en) 2016-10-24 2016-10-24 Control method, image processing unit, light-filling and camera device

Country Status (1)

Country Link
CN (1) CN106534712A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862307A (en) * 2017-12-08 2018-03-30 广东金杭科技有限公司 Backlight multi-orientation Face acquisition method
CN108345228A (en) * 2018-01-31 2018-07-31 上海彩虹鱼深海装备科技有限公司 A kind of self-powered deep-sea image capturing system, method and device
CN108419345A (en) * 2018-03-19 2018-08-17 深圳前海华夏智信数据科技有限公司 Control lamp method and device based on image analysis
CN109167922A (en) * 2018-10-22 2019-01-08 北京旷视科技有限公司 Image processing method, device and electronic equipment
CN109496312A (en) * 2018-10-15 2019-03-19 深圳市汇顶科技股份有限公司 Biological feather recognition method, device and electronic equipment
CN109977938A (en) * 2019-04-10 2019-07-05 国网江苏省电力有限公司盐城供电分公司 Image data acquiring method, apparatus, computer-readable medium and its system
CN110493530A (en) * 2018-05-14 2019-11-22 浙江宇视科技有限公司 Monitoring camera automatic exposure control method and device
CN110784660A (en) * 2019-11-13 2020-02-11 广州洪荒智能科技有限公司 Method, system, equipment and medium for controlling camera brightness
CN110971833A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Image processing method and device, electronic equipment and storage medium
CN111182229A (en) * 2019-12-30 2020-05-19 浙江大华技术股份有限公司 Method for adjusting exposure delay of camera, computer equipment and storage medium
CN111447374A (en) * 2020-05-13 2020-07-24 重庆紫光华山智安科技有限公司 Light supplement adjusting method and device, electronic equipment and storage medium
CN111726506A (en) * 2020-06-30 2020-09-29 深圳市精锋医疗科技有限公司 Image processing method, device and storage medium for endoscope
CN112153302A (en) * 2020-09-28 2020-12-29 北京骑胜科技有限公司 Infrared light source control method and device, electronic equipment and readable storage medium
CN112351214A (en) * 2020-09-22 2021-02-09 智博汽车科技(上海)有限公司 Method and device for assisting face image acquisition, readable storage medium and vehicle
CN112584056A (en) * 2019-09-29 2021-03-30 浙江宇视科技有限公司 Image pickup method, device, equipment and storage medium
CN112702489A (en) * 2020-12-24 2021-04-23 上海商汤临港智能科技有限公司 Camera module, control method and device thereof, vehicle and storage medium
CN113382174A (en) * 2021-05-18 2021-09-10 北京优彩科技有限公司 Method and device for adjusting light supplement lamp of ultraviolet imaging device
CN113766143A (en) * 2019-01-25 2021-12-07 原相科技股份有限公司 Light detection chip, image processing device and operation method thereof
CN114302068A (en) * 2022-01-06 2022-04-08 重庆紫光华山智安科技有限公司 Image shooting method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020067422A1 (en) * 2000-10-11 2002-06-06 Tsuyoshi Miura Image monitor apparatus controlling camera and illumination in order to optimize luminance of picked-up image
CN201349347Y (en) * 2009-01-22 2009-11-18 深圳市景阳科技股份有限公司 Infrared lamp driving circuit and infrared integrated camera
CN102118608A (en) * 2009-12-30 2011-07-06 捷达世软件(深圳)有限公司 System and method for adjusting video monitoring light
CN102591101A (en) * 2012-02-07 2012-07-18 广东美的电器股份有限公司 Camera supplementary lighting device and control method thereof
CN102946517A (en) * 2012-11-20 2013-02-27 浙江银江智慧交通集团有限公司 Intelligent control strobe light supplementing method and device of camera
CN205372458U (en) * 2015-12-15 2016-07-06 深圳市哈工大业系统技术有限公司 Freeway surveillance and control light redundant system of shooing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020067422A1 (en) * 2000-10-11 2002-06-06 Tsuyoshi Miura Image monitor apparatus controlling camera and illumination in order to optimize luminance of picked-up image
CN201349347Y (en) * 2009-01-22 2009-11-18 深圳市景阳科技股份有限公司 Infrared lamp driving circuit and infrared integrated camera
CN102118608A (en) * 2009-12-30 2011-07-06 捷达世软件(深圳)有限公司 System and method for adjusting video monitoring light
CN102591101A (en) * 2012-02-07 2012-07-18 广东美的电器股份有限公司 Camera supplementary lighting device and control method thereof
CN102946517A (en) * 2012-11-20 2013-02-27 浙江银江智慧交通集团有限公司 Intelligent control strobe light supplementing method and device of camera
CN205372458U (en) * 2015-12-15 2016-07-06 深圳市哈工大业系统技术有限公司 Freeway surveillance and control light redundant system of shooing

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862307A (en) * 2017-12-08 2018-03-30 广东金杭科技有限公司 Backlight multi-orientation Face acquisition method
CN108345228A (en) * 2018-01-31 2018-07-31 上海彩虹鱼深海装备科技有限公司 A kind of self-powered deep-sea image capturing system, method and device
CN108419345A (en) * 2018-03-19 2018-08-17 深圳前海华夏智信数据科技有限公司 Control lamp method and device based on image analysis
CN110493530A (en) * 2018-05-14 2019-11-22 浙江宇视科技有限公司 Monitoring camera automatic exposure control method and device
CN110493530B (en) * 2018-05-14 2021-09-28 浙江宇视科技有限公司 Automatic exposure control method and device for monitoring camera
US11258954B2 (en) 2018-09-30 2022-02-22 Beijing Microlive Vision Technology Co., Ltd. Image processing method and apparatus, and electronic device and storage medium
CN110971833B (en) * 2018-09-30 2021-05-14 北京微播视界科技有限公司 Image processing method and device, electronic equipment and storage medium
CN110971833A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Image processing method and device, electronic equipment and storage medium
CN109496312B (en) * 2018-10-15 2022-02-15 深圳市汇顶科技股份有限公司 Biological feature recognition method and device and electronic equipment
CN109496312A (en) * 2018-10-15 2019-03-19 深圳市汇顶科技股份有限公司 Biological feather recognition method, device and electronic equipment
CN109167922A (en) * 2018-10-22 2019-01-08 北京旷视科技有限公司 Image processing method, device and electronic equipment
CN109167922B (en) * 2018-10-22 2021-05-04 北京旷视科技有限公司 Image processing method and device and electronic equipment
CN113766143B (en) * 2019-01-25 2024-01-19 原相科技股份有限公司 Light detection chip, image processing device and operation method thereof
CN113766143A (en) * 2019-01-25 2021-12-07 原相科技股份有限公司 Light detection chip, image processing device and operation method thereof
CN109977938A (en) * 2019-04-10 2019-07-05 国网江苏省电力有限公司盐城供电分公司 Image data acquiring method, apparatus, computer-readable medium and its system
CN112584056A (en) * 2019-09-29 2021-03-30 浙江宇视科技有限公司 Image pickup method, device, equipment and storage medium
CN110784660B (en) * 2019-11-13 2020-09-04 四川云从天府人工智能科技有限公司 Method, system, equipment and medium for controlling camera brightness
CN110784660A (en) * 2019-11-13 2020-02-11 广州洪荒智能科技有限公司 Method, system, equipment and medium for controlling camera brightness
CN111182229B (en) * 2019-12-30 2021-09-21 浙江大华技术股份有限公司 Method for adjusting exposure delay of camera, computer equipment and storage medium
CN111182229A (en) * 2019-12-30 2020-05-19 浙江大华技术股份有限公司 Method for adjusting exposure delay of camera, computer equipment and storage medium
CN111447374A (en) * 2020-05-13 2020-07-24 重庆紫光华山智安科技有限公司 Light supplement adjusting method and device, electronic equipment and storage medium
CN111726506A (en) * 2020-06-30 2020-09-29 深圳市精锋医疗科技有限公司 Image processing method, device and storage medium for endoscope
CN112351214B (en) * 2020-09-22 2022-05-06 智博汽车科技(上海)有限公司 Method and device for assisting face image acquisition, readable storage medium and vehicle
CN112351214A (en) * 2020-09-22 2021-02-09 智博汽车科技(上海)有限公司 Method and device for assisting face image acquisition, readable storage medium and vehicle
CN112153302B (en) * 2020-09-28 2022-04-15 北京骑胜科技有限公司 Infrared light source control method and device, electronic equipment and readable storage medium
CN112153302A (en) * 2020-09-28 2020-12-29 北京骑胜科技有限公司 Infrared light source control method and device, electronic equipment and readable storage medium
CN112702489A (en) * 2020-12-24 2021-04-23 上海商汤临港智能科技有限公司 Camera module, control method and device thereof, vehicle and storage medium
WO2022134630A1 (en) * 2020-12-24 2022-06-30 上海商汤临港智能科技有限公司 Camera module and control method and apparatus therefor, vehicle, and storage medium
CN113382174A (en) * 2021-05-18 2021-09-10 北京优彩科技有限公司 Method and device for adjusting light supplement lamp of ultraviolet imaging device
CN113382174B (en) * 2021-05-18 2022-09-27 北京优彩科技有限公司 Method and device for adjusting light supplement lamp of ultraviolet imaging device
CN114302068A (en) * 2022-01-06 2022-04-08 重庆紫光华山智安科技有限公司 Image shooting method and device
CN114302068B (en) * 2022-01-06 2023-09-26 重庆紫光华山智安科技有限公司 Image shooting method and device

Similar Documents

Publication Publication Date Title
CN106534712A (en) Control method, image processing unit, light-filling and camera device
CN109166261B (en) Image processing method, device and equipment based on image recognition and storage medium
CN106650662A (en) Target object occlusion detection method and target object occlusion detection device
CN106682620A (en) Human face image acquisition method and device
CN106469296A (en) Face identification method, device and gate control system
CN110633665B (en) Identification method, device and storage medium
CN112418360B (en) Convolutional neural network training method, pedestrian attribute identification method and related equipment
CN110751675B (en) Urban pet activity track monitoring method based on image recognition and related equipment
CN110162462A (en) Test method, system and the computer equipment of face identification system based on scene
CN108197544B (en) Face analysis method, face filtering method, face analysis device, face filtering device, embedded equipment, medium and integrated circuit
CN111881917A (en) Image preprocessing method and device, computer equipment and readable storage medium
CN109819176A (en) A kind of image pickup method, system, device, electronic equipment and storage medium
CN106594644A (en) Solar monitoring street lamp and solar monitoring street lamp control method
CN109800675A (en) A kind of method and device of the identification image of determining face object
CN107729833B (en) Face detection method and related product
CN112183373B (en) Light source identification method, device, terminal equipment and computer readable storage medium
CN108875477A (en) Exposal control method, device and system and storage medium
KR101236266B1 (en) Manage system of parking space information
CN104463083A (en) Non-contact palm print authentication method and device and portable terminal
CN106851099A (en) The method and mobile terminal of a kind of shooting
CN106445582A (en) Application copy deletion method and terminal
CN113011497B (en) Image comparison method and system
CN115171053A (en) Roadside parking detection method and system and electronic equipment
CN103942293A (en) Self-destroying protection method based on malicious invasion of file system and device thereof
CN107222847A (en) A kind of data transmission method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100190 Beijing, Haidian District Academy of Sciences, South Road, No. 2, block A, No. 313

Applicant after: MEGVII INC.

Applicant after: Beijing maigewei Technology Co., Ltd.

Address before: 100190 Beijing, Haidian District Academy of Sciences, South Road, No. 2, block A, No. 313

Applicant before: MEGVII INC.

Applicant before: Beijing aperture Science and Technology Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322