CN115278098A - Image shooting method and system and shooting device thereof - Google Patents

Image shooting method and system and shooting device thereof Download PDF

Info

Publication number
CN115278098A
CN115278098A CN202210751577.0A CN202210751577A CN115278098A CN 115278098 A CN115278098 A CN 115278098A CN 202210751577 A CN202210751577 A CN 202210751577A CN 115278098 A CN115278098 A CN 115278098A
Authority
CN
China
Prior art keywords
light source
intensity
image
target
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210751577.0A
Other languages
Chinese (zh)
Other versions
CN115278098B (en
Inventor
玄志刚
苑京立
刘金胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiaxing Uphoton Optoelectronics Technology Co Ltd
Original Assignee
Beijing Theto Optical Science And Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Theto Optical Science And Technology Development Co ltd filed Critical Beijing Theto Optical Science And Technology Development Co ltd
Priority to CN202210751577.0A priority Critical patent/CN115278098B/en
Publication of CN115278098A publication Critical patent/CN115278098A/en
Application granted granted Critical
Publication of CN115278098B publication Critical patent/CN115278098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)

Abstract

Exemplary embodiments of the present invention provide a method, system and photographing apparatus for image photographing by controlling intensity of a light source, the method including: obtaining an image including a target object captured by an image capture module under illumination by a light source, wherein the light source is set to have an initial light source intensity; acquiring the brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted or not based on the acquired brightness of the target object; generating an instruction for adjusting the intensity of the light source in case it is determined that the intensity of the light source needs to be adjusted; and controlling the light source to adjust the intensity by using the generated instruction, so that the image acquisition module acquires the image comprising the target object under the irradiation of the light source with the adjusted intensity. By the method, the image brightness quality can be quickly optimized and adjusted, the problems of stability and efficiency possibly caused by the traditional automatic exposure mode of the sensor are avoided, and the user experience is improved.

Description

Image shooting method and system and shooting device thereof
Technical Field
Exemplary embodiments of the present invention relate generally to photographing technologies, and more particularly, to a method and system for image photographing by controlling light source intensity, and a photographing apparatus thereof.
Background
With the continuous development of science and technology, image shooting needs to be performed on a target object of interest in more and more scenes, and subsequent storage, processing or application is performed. For this reason, visual observation and image acquisition are required in the apparatus by a combination of a camera (e.g., a near-infrared camera) including an image acquisition module and an active light source (e.g., a near-infrared LED, a pattern light projector, etc.).
In order to obtain a better shooting effect, a light source with fixed brightness is used for light supplement, and accordingly, automatic exposure is realized by a camera. In particular, the brightness of an image captured by a camera is controlled by adjusting the exposure time and gain of the camera, and accordingly, the degree of exposure has a great influence on the image quality.
Under the conventional light supplement condition of a light source with fixed brightness, the time required for adjusting the exposure automatically is long, for example, at least the adjustment time of several frames or even more than ten frames is required, because the response speed of the exposure is slow, the phenomenon of unstable image flicker may occur, which affects the use experience, and even affects the subsequent processing of the image in some scenes, for example, when a photographed target object needs to be identified, if the identified object is subjected to the condition of severe light intensity change of a photographing region when moving from far to near, the problems of near overexposure and long-distance definition or near-distance definition and long-distance view darkness are caused, and the conventional automatic exposure control mode no longer meets the performance requirements.
Disclosure of Invention
An exemplary embodiment of the present invention is to provide a method, a system and a photographing device for photographing an image by controlling intensity of a light source, which can adjust intensity of the light source based on brightness of a photographed object, thereby effectively and rapidly adapting to light intensity variation in an environment, obtaining an improved photographing effect, and improving user experience.
According to an aspect of exemplary embodiments of the present invention, there is provided a method of image photographing by controlling light source intensity, including: obtaining an image including a target object captured by an image capture module under illumination by a light source, wherein the light source is set to have an initial light source intensity; acquiring the brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted or not based on the acquired brightness of the target object; generating an instruction for adjusting the intensity of the light source in case it is determined that the intensity of the light source needs to be adjusted; and controlling the light source to adjust the intensity by using the generated instruction, so that the image acquisition module acquires the image comprising the target object under the irradiation of the light source with the adjusted intensity.
Optionally, in the method, the image capturing module captures an image of the target object under illumination of the light source with a fixed exposure time and/or gain.
Optionally, the method further comprises: after the image acquisition module acquires the image comprising the target object under the irradiation of the light source with the adjusted intensity, the following steps are executed in a circulating manner until the intensity of the light source is determined not to be adjusted: acquiring the brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted again based on the acquired brightness of the target object; generating an instruction for readjusting the intensity of the light source in case it is determined that the intensity of the light source needs to be readjusted; and controlling the light source to adjust the intensity by using the generated instruction, so that the image acquisition module acquires the image including the target object under the irradiation of the light source with the intensity adjusted again.
Optionally, in the method, the acquiring brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted based on the acquired brightness of the target object includes: intercepting a region including a target object from an acquired image, and acquiring a current brightness value of the region; comparing the obtained current brightness value of the area with a target brightness value of the area; determining that the intensity of the light source needs to be adjusted under the condition that the comparison result indicates that the current brightness value of the area does not meet the target brightness value of the area; and determining that the intensity of the light source does not need to be adjusted if the comparison result indicates that the current luminance value of the region satisfies the target luminance value of the region.
Optionally, in the method, the generating the instruction for adjusting the intensity of the light source in the case that it is determined that the intensity of the light source needs to be adjusted includes: and acquiring a target current value of the light source based on the linear relation between the intensity of the light source and the current of the light source, and generating an instruction for controlling the light source driving circuit according to the target current value of the light source.
Optionally, in the method, the generating the instruction for adjusting the intensity of the light source in the case that it is determined that the intensity of the light source needs to be adjusted includes: under the condition that the intensity of the light source needs to be adjusted, acquiring the current value of the light source; determining a target current value of the light source based on a current value of the light source, a current luminance value of the region, and a target luminance value of the region; generating an instruction for adjusting the intensity of the light source based on the determined target current value of the light source.
Optionally, in the method, determining the target current value of the light source based on the current value of the light source, the current luminance value of the region, and the target luminance value of the region includes: the target current value of the light source is determined according to the following equation: Y1/Yo = P1/Po; po = δ K × Io × P _ IF; p1= I1xP _ IF; where Y1 represents a current luminance value of the region, yo represents a target luminance value of the region, P1 represents a current intensity value of the light source, po represents a target intensity value of the light source, δ K represents a light source intensity-versus-current coefficient, io represents a target current value of the light source, P _ IF represents a light source intensity value of the reference current, and I1 represents a current value of the light source.
Optionally, in the method, the generating the instruction for adjusting the intensity of the light source based on the determined target current value of the light source includes: acquiring a code parameter for controlling an output current of the light source driving circuit based on the determined target current value of the light source according to the following equation: iout = Brightness _ Code × Ii + Is, where Iout represents an output current of the light source driving circuit, which Is equal to a current value of the light source, brightness _ Code represents a Code parameter for controlling the output current of the light source driving circuit, ii represents a current value corresponding to a unit value of Brightness _ Code, and Is an inherent starting current value of the light source driving circuit; and generating an instruction for controlling the light source driving circuit to enable the current value of the light source to reach the target current value according to the code parameter.
Optionally, in the method, the target object is a human face or an object; and/or the light source is an infrared light source.
Optionally, in the method, the infrared light source comprises a speckle, fringe, and/or grid pattern projector; and/or the infrared light source comprises an infrared flood light source and/or an infrared surface light source.
According to another aspect of exemplary embodiments of the present invention, there is provided a system for image photographing by controlling light source intensity, including: an image acquisition unit configured to obtain an image including a target object acquired by an image acquisition module under illumination of a light source, wherein the light source is set to have an initial light source intensity; a determination unit configured to acquire brightness of a target object in the acquired image and determine whether adjustment of intensity of the light source is required based on the acquired brightness of the target object; an instruction generating unit configured to generate an instruction for adjusting the intensity of the light source in a case where it is determined that the intensity of the light source needs to be adjusted; and the control unit is configured to control the light source to adjust the intensity by utilizing the generated instruction, so that the image acquisition module acquires the image comprising the target object under the irradiation of the light source after the intensity is adjusted.
Optionally, in the system, the image capturing module captures an image of the target object under illumination of the light source with a fixed exposure time and/or gain.
Optionally, in the system, the determining unit intercepts a region including a target object from the acquired image, and acquires a current brightness value of the region; comparing the obtained current brightness value of the area with a target brightness value of the area; determining that the intensity of the light source needs to be adjusted under the condition that the comparison result indicates that the current brightness value of the area does not meet the target brightness value of the area; and determining that the intensity of the light source does not need to be adjusted if the comparison result indicates that the current luminance value of the region satisfies the target luminance value of the region.
Optionally, in the system, the instruction generating unit obtains a target current value of the light source based on a linear relationship between the intensity of the light source and the current of the light source, and generates the instruction for controlling the light source driving circuit according to the target current value of the light source.
According to another aspect of exemplary embodiments of the present invention, there is provided a photographing apparatus including:
the system comprises a light source, an image acquisition module and a control module, wherein the light source is used for irradiating a target object under the control of a light source driving circuit and is set to have initial light source intensity; a processor configured to perform any of the above methods.
Optionally, the photographing apparatus includes a camera applying an active light source in the field of active binocular recognition, the field of structured light camera, and/or the field of TOF camera.
According to another aspect of exemplary embodiments of the present invention, there is provided a terminal device applied to image capturing in a room or a half-room, including the capturing apparatus as described above, wherein the terminal device is a door access, a gate, a door lock, a payment terminal, a 3D scanning device, or a 3D measuring device.
According to the embodiment of the invention, the brightness of the target object in the shot image is acquired, and then the light source used for shooting at present is controlled to adjust the intensity if necessary based on the brightness of the target object, so that the intensity adjustment of the light source is effectively combined with the brightness of the target object, the optimal adjustment of the image brightness quality can be rapidly realized, the stability and efficiency problems possibly caused by the traditional automatic exposure mode of a sensor are avoided, and the user experience is improved.
Drawings
Other features, objects, and advantages of exemplary embodiments of the invention will become apparent from the following detailed description of non-limiting embodiments thereof, when read in conjunction with the accompanying drawings, in which like reference characters designate like parts throughout the several views:
fig. 1 illustrates a block diagram of a photographing apparatus according to an exemplary embodiment of the present invention;
fig. 2 illustrates a block diagram of a photographing apparatus according to another exemplary embodiment of the present invention;
FIG. 3 illustrates a flowchart of a method of image capturing by controlling light source intensity according to an exemplary embodiment of the present invention;
FIG. 4 illustrates a graph of a linear relationship between light source intensity and light source current according to an exemplary embodiment of the present invention;
fig. 5 illustrates a flowchart of a method of image capturing by controlling light source intensity according to another exemplary embodiment of the present invention;
FIG. 6 illustrates a graph of a linear relationship between a light source target current value and a code parameter according to an exemplary embodiment of the present invention; and
fig. 7 illustrates a block diagram of a system for image capturing by controlling light source intensity according to an exemplary embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed in any way limiting.
With the development of technologies such as optics, image processing, artificial intelligence, internet of things and the like, image shooting is required in more and more scenes, particularly shooting for a certain specific target, for example, human face recognition is required to be carried out in scenes such as subway gates/entrance guards, hotel door locks, market payment and the like for anti-counterfeiting; in an intelligent production scenario, shooting and identifying of accessories or parts are often required to help complete production procedures such as screening or quality control. Further, in various fields such as security, criminal investigation, commerce, manufacturing, agriculture, etc., image capturing may be required for a target object.
In these diversified scenes, insufficient light is encountered, for example, when taking images indoors or semi-indoors, the shooting device needs to be equipped with an active light source, and the intensity of the light source is fixed in the conventional manner, and the illumination brightness during image taking is controlled by adjusting the exposure time and/or gain. However, this method requires too long time for automatic exposure, which affects the shooting effect and the use experience.
Fig. 1 illustrates a block diagram of a photographing apparatus according to an exemplary embodiment of the present invention. By way of example and not limitation, the camera shown in fig. 1 can be applied to various fields and scenes as described above, in particular to terminal equipment for image capturing in a room or in a half-room. As an example, the terminal device may be a door access, gate, door lock, payment terminal, 3D scanning device, or 3D measuring device.
In the photographing apparatus shown in fig. 1, including a light source 10, an image acquisition module 20, and a processor 30, the photographing apparatus may be various cameras and the like to which an active light source is applied, such as an active binocular recognition field, a structured light camera field, and/or a TOF camera field, as examples.
The light source 10 is used to illuminate a target object under the control of a light source driving circuit. In particular, as mentioned above, in various application scenarios where a target object such as a human face or an object is photographed, for example, to further identify the target object, in order to improve the quality of the photographed image to ensure identification accuracy, for example, the photographing device (e.g., a near-infrared camera) may be equipped with a dedicated actively-emitting light source, here, by way of example only, the light source may be an infrared light source (e.g., a near-red LED), for example, including an infrared pan light source and/or an infrared surface light source, etc., and on the other hand, the infrared light source may be one or more pattern projectors of a particular structure, including speckles, stripes, and/or grids, etc. Here, the light source 10 may be a separately provided component, or may be integrated with other components (e.g., the image capturing module 20).
According to an exemplary embodiment of the present invention, the light source 10 is set to have an initial light source intensity, that is, the light source 10 has an initial intensity of a specific value when the photographing apparatus starts photographing of the target object, so that photographing of the image is performed under auxiliary illumination of a specific intensity. The initial intensity may be a preset value, which may also be adjusted according to the actual situation, or set manually by the user.
The image capturing module 20 is used for capturing an image including a target object under the irradiation of the light source. As an example, the image capturing module 20 may be an integrated module including an image sensor, a lens, a filter, and the like, which cooperate to capture a target object under illumination of a light source. The captured images may be temporarily or permanently stored for subsequent processing or use.
The processor 30 is configured to perform a method of image capturing by controlling the intensity of the light source according to an exemplary embodiment of the present invention. Specifically, the processor 30 may determine whether the intensity of the light source needs to be adjusted according to the brightness of the photographed target object, and generate an instruction for adjusting the intensity of the light source to control the light source to perform the intensity adjustment when the adjustment is needed.
Alternatively, the processor 30 may acquire the brightness of the target object and repeatedly adjust the intensity of the light source via the light source driving circuit until the target object with satisfactory brightness is photographed. Further, as an example, during this process, the exposure parameters can be kept completely unchanged, and the intensity adjustment of the light source is simply relied on to obtain satisfactory photographing effects. However, the exemplary embodiments of the present invention are not limited thereto, and the adjustment of the light source may be combined with the adjustment of the exposure parameter.
It should be noted that although the light source 10, the image acquisition module 20 and the processor 30 are depicted as separate components from each other in fig. 1, those skilled in the art should understand that the division of these components is merely for convenience of description, and they may be either physically independent components or may be completely or to some extent combined with each other to logically perform the corresponding operations or processes. For example, the processor 30 may be an external controller communicating with the image capturing module 20, or may be a control unit disposed therein.
According to an exemplary embodiment of the present invention, a light source may illuminate a target under the control of a light source driving circuit, and a photographing apparatus according to another exemplary embodiment of the present invention is described below with reference to fig. 2.
Referring to fig. 2, the photographing apparatus shown therein includes a light source 100, an image capturing module 200, and a processor 300. Further, the photographing apparatus may further include a light source driving circuit 400 and a memory 500, as an example.
Here, the image capturing module 200, the processor 300, the light source driving circuit 400 and the memory 500 may communicate with each other directly or via a communication bus, and communicate with the outside through a communication interface. The light source 100, the image capturing module 200 and the processor 300 can respectively cover the above operations of the light source 10, the image capturing module 20 and the processor 30, and therefore, the repeated description thereof is omitted.
Here, the light source driving circuit 400 is used to variably adjust the intensity of the light source 100, and the light source driving circuit 400 changes the input current of the light source 100 under the trigger of the frame synchronization signal, so that the intensity of the light source 100 is changed accordingly at the time of actual photographing.
According to an exemplary embodiment of the present invention, the processor 300 may intercept the brightness of the target object from the captured image, and determine whether the light source driving circuit 400 needs to be controlled based on the brightness, so as to further achieve the purpose of adjusting the intensity of the light source. Image data, data related to control instructions, and the like in the above-described control process may be stored in the memory 500.
Hereinafter, exemplary embodiments according to the present invention will be described with reference to fig. 3 to 7. It should be understood that these exemplary embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention.
Fig. 3 illustrates a flowchart of a method of image capturing by controlling light source intensity according to an exemplary embodiment of the present invention. The method shown in fig. 3 mainly relates to light source adjustment of a photographing apparatus, and according to an exemplary embodiment of the present invention, the brightness of a target object may be acquired from a photographed image, and the brightness of a light source may be adaptively adjusted according to the brightness, so as to obtain a target object with satisfactory photographing effect.
Specifically, in step S10, an image including a target object captured by an image capture module under illumination by a light source set to have an initial light source intensity is obtained. Here, when the image capturing module starts to perform image capturing, the light source irradiates the subject with the initial light source intensity, and accordingly, the image capturing module may trigger the light source driving circuit by the frame synchronization signal to drive the light source to perform illumination while the image signal is captured. As an example, the image acquisition module may capture optical signals of a target object via an integrated module of components such as sensors, lenses, and filters therein, convert them into image data of electrical signals, and temporarily or permanently store the image data for further processing.
In step S20, the brightness of the target object in the captured image is acquired, and it is determined whether the intensity of the light source needs to be adjusted based on the acquired brightness of the target object. Here, the luminance of the target object may refer to an average value of luminance values of respective pixels constituting the target object itself or an area in which it is located, as an example. From this brightness value it can be further determined whether the brightness of the current light source is suitable.
Specifically, whether to adjust the light source may be determined according to whether the current brightness value of the target object itself satisfies a certain threshold, for example, whether it is greater than a preset minimum brightness, falls within a preset brightness range, or is lower than a preset maximum brightness, and the like. Furthermore, whether to adjust the light source may also be determined according to the brightness variation of the target object, for example, whether there is a case where the brightness variation is too fast to cause the light source to need to be readjusted to adapt thereto in consideration of the fluctuation of the target brightness between a plurality of consecutive images.
In the case where it is determined that the intensity of the light source needs to be adjusted, in step S30, an instruction for adjusting the intensity of the light source is generated. According to an exemplary embodiment of the present invention, when the photographing result of the target object is determined to be non-ideal in brightness, the intensity of the light source may be controlled to be adjusted accordingly. Here, as an example, the instruction for adjusting the intensity of the light source may be used to indicate whether the direction of the adjustment is to cause the light source to be stronger or weaker, the corresponding adjustment being made by the light source according to a set adjustment rule (e.g., step size).
As another example, the instructions for adjusting the light source intensity may directly carry information associated with the particular light source intensity being adjusted, such that the light source can be adjusted according to the particular light source intensity. In this case, a target current value of the light source may be acquired based on a linear relationship between the intensity of the light source and the current of the light source, and an instruction for controlling the light source driving circuit may be generated in accordance with the target current value of the light source. As an example, the light source may be controlled in intensity via a light source driving circuit connected thereto, where, according to a linear relationship between the light source intensity and the light source current, a target intensity of the light source may be converted into an input current value of the light source, which is output by the light source driving circuit, and thus, an instruction to control the light source driving circuit to output a current having the input current value may be generated.
Fig. 4 shows a graph of a linear relationship between light source intensity and light source current according to an exemplary embodiment of the present invention. As shown, the abscissa is the input light source current (mA), and the ordinate represents the ratio of the present light source intensity to the reference light source intensity (i.e., the light source intensity value of the reference current) at the light source current of 350 mA. It can be seen that when the abscissa indicates that the input light source current is 350mA, the corresponding ordinate value is 1, and as the light source current increases or decreases, the ratio indicated by the ordinate also increases or decreases linearly in proportion. According to an exemplary embodiment of the present invention, a correspondence between the intensity of a light source and its input current is constructed, thereby effectively controlling the intensity adjustment of the light source.
Here, the target current value of the light source may be derived from a linear relationship between the target current value and the intensity of the light source, that is, in order to obtain a desired intensity of the light source, the target current value may be converted into a target input current of the light source. As an example, the target current value may be calculated correspondingly for the light source intensity to be adjusted via a processor, for example, or the like, and furthermore, the mapping relationship between the light source intensity and the light source current value may be stored in the memory in advance according to the linear relationship, so that the target current value of the light source can be obtained only by looking up the table, thereby generating the instruction for adjusting the light intensity thereof.
Next, in step S40, the generated command is used to control the light source to adjust the intensity, so that the image capturing module captures an image including the target object under the illumination of the light source after the intensity adjustment. Specifically, after generating the instruction for adjusting the intensity of the light source, the instruction can be used to directly (or via the light source driving circuit thereof) control the intensity of the light source, where the light source itself can be provided with the driving adjusting circuit itself, or an external independent driving chip can be used to realize the adjustment of the input power. After receiving the light source adjustment instruction, the light source irradiates the target object with the adjusted intensity, so that the image acquisition module can continuously shoot the target object under the illumination.
It can be seen that the exemplary embodiment of the present invention enables the shooting device to perform effective light source intensity adjustment when shooting the target object, so that the target object running is shot under the controllable illumination intensity of the active light source, thereby effectively and rapidly adapting to the light intensity change in the environment, obtaining an improved shooting effect, and improving user experience.
Fig. 5 illustrates a flowchart of a method of image capturing by controlling light source intensity according to another exemplary embodiment of the present invention. In the example of fig. 5, a human face is taken as an example of the target object, however, it should be understood that the specific content of the target object is not limited in any way by the exemplary embodiments of the present invention.
Referring to fig. 5, in step S100, a first image including a face of a person as a target object captured by an image capturing module under illumination of an initial intensity of a light source is obtained. Here, the photographed first image may be stored in a local or external memory.
In step S200, a region including the target object is cut out from the acquired image, and a current brightness value of the region is acquired. Here, a region including a target face may be recognized from the acquired image using a face recognition technique, and a luminance value of each pixel in the region may be further calculated as a current luminance value of the target object region.
In step S300, the acquired current brightness value of the area is compared with the target brightness value of the area. Here, a target brightness value may be set for the target object region to determine whether light source adjustment is required, where the target brightness value may be an upper limit and/or a lower limit of satisfactory brightness, and a value thereof may be selected according to a specific application scenario, or may be manually adjusted by a user.
In case the comparison result indicates that the current luminance value of the region meets the target luminance value of the region, it is determined that the intensity of the light source does not need to be adjusted. Accordingly, at step S900, subsequent processing such as storage, recognition, or application of an image is performed.
Conversely, in case the comparison result indicates that the current luminance value of the region does not satisfy the target luminance value of the region, it is determined that the intensity of the light source needs to be adjusted. For this, in step S500, in the case where it is determined that the intensity of the light source needs to be adjusted, the present current value of the light source is acquired. Here, the present current value refers to an input current of the light source at the present light source intensity, which is controlled to be output by the corresponding driving circuit, and the present current value of the light source may be read from the light source or via the driving circuit thereof.
Next, in step S600, a target current value of the light source is determined based on the current value of the light source, the current luminance value of the region including the target object, and the target luminance value of the region. Here, as an example, the luminance value contrast of the region is proportional to the intensity value contrast of the light source, whereas as shown in fig. 4, there is a linear relationship between the light source intensity and the light source current. Accordingly, the target current value of the light source may be determined according to the following equation:
Y1/Yo=P1/Po;
Po=δK×Io×P_IF;
P1=I1xP_IF;
where Y1 denotes a current luminance value of a region including the target object, yo denotes a target luminance value of the region, P1 denotes a current intensity value of the light source, po denotes a target intensity value of the light source, δ K denotes a light source intensity-versus-current coefficient, io denotes a target current value of the light source, P _ IF denotes a light source intensity value of the reference current, and I1 denotes a current value of the light source.
Next, in step S700, an instruction for adjusting the intensity of the light source may be generated based on the determined target current value of the light source. As an example, instructions for adjusting the input current of the light source to a target current value by the respective light source drive circuit such that the light source intensity reaches a desired target intensity value may be generated after the target current value of the light source is determined. Accordingly, the command carries information related to the target current value.
In particular, fig. 6 illustrates a graph of a linear relationship between a target current value of a light source and a code parameter for controlling an output current of a light source driving circuit according to an exemplary embodiment of the present invention. The graph shown in fig. 6 may show a linear relationship between the current value of a single LED light source and the code parameters of its driving circuit at three different temperatures (-40 ℃, +25 ℃, +85 ℃), but it should be noted that exemplary embodiments of the present invention are not limited to a single LED unit, but may employ any suitable associated power source, for example, a dual LED light source each having the curve relationship shown in fig. 6.
Here, the code parameter for controlling the output current of the light source driving circuit may be acquired based on the determined target current value of the light source according to the following equation: iout = Brightness _ Code × Ii + Is, where Iout denotes an output current of the light source driving circuit, which Is equal to a current value of the light source, brightness _ Code denotes a Code parameter for controlling the output current of the light source driving circuit, ii denotes a current value corresponding to a unit value of Brightness _ Code, and Is an inherent starting current value of the light source driving circuit; further, an instruction for controlling the light source driving circuit to bring the current value of the light source to the target current value may be generated according to the code parameter. Specifically, the code parameter may be used as a part of information carried by the instruction to control the light source driving circuit to make the current value of the light source reach the target current value. Here, the mapping relationship between the light source current value and the Brightness _ Code may be stored in the memory in advance, so that the Brightness _ Code value corresponding to the target light source current value can be obtained only by looking up the table.
In step S800, the generated command is used to control the light source to adjust the intensity, so that the image capturing module captures the image including the target object again under the illumination of the light source after the intensity adjustment, i.e., the second image. After that, the method returns to step S200 again, and the above operation is performed again for the second image. That is, after the image acquisition module acquires the image including the target object under the illumination of the light source after the intensity adjustment, the steps S200 to S800 are executed in a loop until it is determined that the intensity of the light source does not need to be adjusted. Here, as an example, each time an image is taken, the exposure parameters may be fixed without allowing them to change, i.e., the image capture module captures an image of the target object under illumination by the light source with a fixed exposure time and/or gain. In this way, the improvement of the brightness of the target object is achieved entirely by the intensity adjustment of the light source, and the exposure adjustment time can be greatly reduced.
In summary, the method in fig. 5 performs image capturing by controlling the intensity of the light source, and can continuously and correspondingly adjust the intensity of the light source when the brightness of the target object is insufficient, so that the capturing effect is rapidly improved, and the user experience is improved.
The photographing process according to the exemplary embodiment of the present invention is described above with reference to fig. 3 to 6, and the process may be performed by the processor 30 of fig. 1 or the processor 300 of fig. 2, or may be performed by a dedicated photographing system, which may be composed of software modules performing corresponding operations, or hardware modules, or may be configured by a combination of software and hardware.
Fig. 7 illustrates a block diagram of a system for image capturing by controlling light source intensity according to an exemplary embodiment of the present invention. In the photographing system shown in fig. 7, there are included: an image acquisition unit 1000 configured to obtain an image including a target object acquired by an image acquisition module under illumination of a light source, wherein the light source is set to have an initial light source intensity; a determination unit 2000 configured to acquire brightness of a target object in the acquired image and determine whether the intensity of the light source needs to be adjusted based on the acquired brightness of the target object; an instruction generating unit 3000 configured to generate an instruction for adjusting the intensity of the light source in a case where it is determined that the intensity of the light source needs to be adjusted; and a control unit 4000 configured to control the light source to adjust the intensity using the generated instruction, so that the image acquisition module acquires an image including the target object under illumination of the light source after the intensity adjustment.
Further, as an example, the image capture module captures an image of the target object under illumination by the light source with a fixed exposure time and/or gain.
Further, as an example, the determination unit 2000 cuts out a region including the target object from the captured image, and acquires a current luminance value of the region; comparing the acquired current brightness value of the area with a target brightness value of the area; determining that the intensity of the light source needs to be adjusted under the condition that the comparison result indicates that the current brightness value of the area does not meet the target brightness value of the area; and determining that the intensity of the light source does not need to be adjusted if the comparison result indicates that the current luminance value of the region satisfies the target luminance value of the region.
Further, as an example, the instruction generating unit 3000 acquires a target current value of the light source based on a linear relationship between the light source intensity and the light source current, and generates an instruction for controlling the light source driving circuit according to the target current value of the light source.
The foregoing description is only exemplary of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, and other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the spirit of the invention are also encompassed. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (17)

1. A method of image capture by controlling light source intensity, comprising:
obtaining an image including a target object captured by an image capture module under illumination by a light source, wherein the light source is set to have an initial light source intensity;
acquiring the brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted or not based on the acquired brightness of the target object;
generating an instruction for adjusting the intensity of the light source in case it is determined that the intensity of the light source needs to be adjusted; and
and controlling the light source to adjust the intensity by using the generated instruction, so that the image acquisition module acquires an image comprising the target object under the irradiation of the light source with the adjusted intensity.
2. The photographing method according to claim 1, wherein the image capturing module captures an image of the target object under illumination of the light source with a fixed exposure time and/or gain.
3. The method of claim 1 or 2, further comprising:
after the image acquisition module acquires the image comprising the target object under the irradiation of the light source with the adjusted intensity, the following steps are executed in a circulating manner until the intensity of the light source is determined not to be adjusted:
acquiring the brightness of a target object in the acquired image, and determining whether the intensity of the light source needs to be adjusted again based on the acquired brightness of the target object;
in the event that it is determined that the intensity of the light source needs to be adjusted again, generating an instruction for adjusting the intensity of the light source again; and
and controlling the light source to adjust the intensity by utilizing the generated instruction, so that the image acquisition module acquires the image comprising the target object under the irradiation of the light source with the intensity adjusted again.
4. The method of claim 1, wherein the acquiring brightness of a target object in the acquired image and determining whether the intensity of the light source needs to be adjusted based on the acquired brightness of the target object comprises:
intercepting a region including a target object from an acquired image, and acquiring a current brightness value of the region;
comparing the obtained current brightness value of the area with a target brightness value of the area;
determining that the intensity of the light source needs to be adjusted under the condition that the comparison result indicates that the current brightness value of the area does not meet the target brightness value of the area; and
in case the comparison result indicates that the current luminance value of the region meets the target luminance value of the region, it is determined that the intensity of the light source does not need to be adjusted.
5. The method of claim 1, wherein the generating instructions for adjusting the intensity of the light source in the event that it is determined that the intensity of the light source needs to be adjusted comprises: and acquiring a target current value of the light source based on the linear relation between the intensity of the light source and the current of the light source, and generating an instruction for controlling the light source driving circuit according to the target current value of the light source.
6. The method of claim 4, wherein the generating instructions for adjusting the intensity of the light source in the event that it is determined that the intensity of the light source needs to be adjusted comprises:
under the condition that the intensity of the light source needs to be adjusted, acquiring the current value of the light source;
determining a target current value of the light source based on a current value of the light source, a current luminance value of the region, and a target luminance value of the region;
generating an instruction for adjusting the intensity of the light source based on the determined target current value of the light source.
7. The method of claim 6, wherein determining the target current value of the light source based on the current value of the light source, the current luminance value of the region, and the target luminance value of the region comprises:
the target current value of the light source is determined according to the following equation:
Y1/Yo=P1/Po;
Po=δK×Io×P_IF;
P1=I1xP_IF;
wherein Y1 represents a current luminance value of the region, yo represents a target luminance value of the region, P1 represents a current intensity value of the light source, po represents a target intensity value of the light source, δ K represents a light source intensity-versus-current coefficient, io represents a target current value of the light source, P _ IF represents a light source intensity value of the reference current, and I1 represents a current value of the light source.
8. The method of claim 7, wherein generating instructions for adjusting the intensity of the light source based on the determined target current value for the light source comprises:
acquiring a code parameter for controlling an output current of the light source driving circuit based on the determined target current value of the light source according to the following equation: iout = Brightness _ Code × Ii + Is, where Iout represents an output current of the light source driving circuit, which Is equal to a current value of the light source, brightness _ Code represents a Code parameter for controlling the output current of the light source driving circuit, ii represents a current value corresponding to a unit value of Brightness _ Code, and Is an inherent starting current value of the light source driving circuit;
and generating an instruction for controlling the light source driving circuit to enable the current value of the light source to reach the target current value according to the code parameter.
9. The method of claim 1, wherein the target object is a human face or an object; and/or the light source is an infrared light source.
10. The method of claim 1, wherein the infrared light source comprises a speckle, fringe, and/or grid pattern projector; and/or the infrared light source comprises an infrared flood light source and/or an infrared surface light source.
11. A system for image capture by controlling light source intensity, comprising:
an image acquisition unit configured to obtain an image including a target object acquired by an image acquisition module under illumination of a light source, wherein the light source is set to have an initial light source intensity;
a determination unit configured to acquire brightness of a target object in the acquired image and determine whether adjustment of intensity of the light source is required based on the acquired brightness of the target object;
an instruction generating unit configured to generate an instruction for adjusting the intensity of the light source in a case where it is determined that the intensity of the light source needs to be adjusted; and
and the control unit is configured to control the light source to adjust the intensity by utilizing the generated instruction, so that the image acquisition module acquires an image comprising the target object under the irradiation of the light source after the intensity is adjusted.
12. The system of claim 11, wherein the image acquisition module acquires an image of the target object under illumination by the light source with a fixed exposure time and/or gain.
13. The system of claim 11, wherein the determination unit intercepts a region including a target object from the acquired image, acquires a current brightness value of the region; comparing the obtained current brightness value of the area with a target brightness value of the area; determining that the intensity of the light source needs to be adjusted under the condition that the comparison result indicates that the current brightness value of the area does not meet the target brightness value of the area; and determining that the intensity of the light source does not need to be adjusted if the comparison result indicates that the current luminance value of the region satisfies the target luminance value of the region.
14. The system of claim 11, wherein the instruction generation unit obtains a target current value of the light source based on a linear relationship between the intensity of the light source and the current of the light source, and generates the instruction for controlling the light source driving circuit according to the target current value of the light source.
15. A camera, comprising:
a light source for illuminating a target object under control of a light source driving circuit, wherein the light source is set to have an initial light source intensity,
the image acquisition module is used for acquiring an image comprising a target object under the irradiation of the light source;
a processor configured to perform the method of any of claims 1 to 10.
16. The camera of claim 15, wherein the camera comprises a camera employing an active light source in the field of active binocular recognition, structured light camera, and/or TOF camera.
17. Terminal device for image capture in or semi-indoors comprising a camera device according to claim 15 or 16, wherein the terminal device is a door access, gate, door lock, payment terminal, 3D scanning device or 3D measuring device.
CN202210751577.0A 2022-06-28 2022-06-28 Image shooting method, system and shooting device thereof Active CN115278098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210751577.0A CN115278098B (en) 2022-06-28 2022-06-28 Image shooting method, system and shooting device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210751577.0A CN115278098B (en) 2022-06-28 2022-06-28 Image shooting method, system and shooting device thereof

Publications (2)

Publication Number Publication Date
CN115278098A true CN115278098A (en) 2022-11-01
CN115278098B CN115278098B (en) 2024-06-18

Family

ID=83762428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210751577.0A Active CN115278098B (en) 2022-06-28 2022-06-28 Image shooting method, system and shooting device thereof

Country Status (1)

Country Link
CN (1) CN115278098B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873437A (en) * 2009-09-15 2010-10-27 杭州海康威视***技术有限公司 Method and device for regulating exposure
CN104954699A (en) * 2015-06-15 2015-09-30 广东欧珀移动通信有限公司 Shooting parameter setting method and user terminal
CN107249105A (en) * 2017-06-16 2017-10-13 广东欧珀移动通信有限公司 Exposure compensation, device and terminal device
CN108206918A (en) * 2016-12-19 2018-06-26 杭州海康威视数字技术股份有限公司 A kind of smooth compensation method and device
CN110149471A (en) * 2019-06-28 2019-08-20 Oppo广东移动通信有限公司 Control method, imaging device, electronic equipment, computer equipment and storage medium
CN110351490A (en) * 2018-04-04 2019-10-18 杭州海康威视数字技术股份有限公司 Exposure method, device and picture pick-up device
CN110460782A (en) * 2019-08-28 2019-11-15 北京海益同展信息科技有限公司 Information collecting device, method, crusing robot and storage medium
CN110784660A (en) * 2019-11-13 2020-02-11 广州洪荒智能科技有限公司 Method, system, equipment and medium for controlling camera brightness
JP2020024401A (en) * 2018-08-07 2020-02-13 バスラー アーゲーBasler Ag Device and method for controlling illumination of industrial camera system
CN112040108A (en) * 2020-09-16 2020-12-04 重庆紫光华山智安科技有限公司 Mixed light supplement control method, system, medium and terminal for face snapshot camera
CN112139997A (en) * 2019-06-27 2020-12-29 宝山钢铁股份有限公司 Method for inhibiting ambient light in round steel grinding quality detection system
CN112312030A (en) * 2019-08-01 2021-02-02 深圳怡化电脑股份有限公司 Photographing light supplement method and device, computer equipment and storage medium
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium
CN112861645A (en) * 2021-01-18 2021-05-28 盛视科技股份有限公司 Infrared camera dim light environment compensation method and device and electronic equipment
CN113271414A (en) * 2020-02-14 2021-08-17 上海海思技术有限公司 Image acquisition method and device
CN113906730A (en) * 2019-05-31 2022-01-07 三星电子株式会社 Electronic device for obtaining skin image and control method thereof
CN114019746A (en) * 2021-11-05 2022-02-08 资阳联耀医疗器械有限责任公司 LED calibration method and system
CN114500865A (en) * 2022-01-29 2022-05-13 北京精英路通科技有限公司 Method and device for regulating and controlling light supplement lamp, electronic equipment and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873437A (en) * 2009-09-15 2010-10-27 杭州海康威视***技术有限公司 Method and device for regulating exposure
CN104954699A (en) * 2015-06-15 2015-09-30 广东欧珀移动通信有限公司 Shooting parameter setting method and user terminal
CN108206918A (en) * 2016-12-19 2018-06-26 杭州海康威视数字技术股份有限公司 A kind of smooth compensation method and device
CN107249105A (en) * 2017-06-16 2017-10-13 广东欧珀移动通信有限公司 Exposure compensation, device and terminal device
CN110351490A (en) * 2018-04-04 2019-10-18 杭州海康威视数字技术股份有限公司 Exposure method, device and picture pick-up device
JP2020024401A (en) * 2018-08-07 2020-02-13 バスラー アーゲーBasler Ag Device and method for controlling illumination of industrial camera system
CN113906730A (en) * 2019-05-31 2022-01-07 三星电子株式会社 Electronic device for obtaining skin image and control method thereof
CN112139997A (en) * 2019-06-27 2020-12-29 宝山钢铁股份有限公司 Method for inhibiting ambient light in round steel grinding quality detection system
CN110149471A (en) * 2019-06-28 2019-08-20 Oppo广东移动通信有限公司 Control method, imaging device, electronic equipment, computer equipment and storage medium
CN112312030A (en) * 2019-08-01 2021-02-02 深圳怡化电脑股份有限公司 Photographing light supplement method and device, computer equipment and storage medium
CN110460782A (en) * 2019-08-28 2019-11-15 北京海益同展信息科技有限公司 Information collecting device, method, crusing robot and storage medium
CN110784660A (en) * 2019-11-13 2020-02-11 广州洪荒智能科技有限公司 Method, system, equipment and medium for controlling camera brightness
CN113271414A (en) * 2020-02-14 2021-08-17 上海海思技术有限公司 Image acquisition method and device
CN112040108A (en) * 2020-09-16 2020-12-04 重庆紫光华山智安科技有限公司 Mixed light supplement control method, system, medium and terminal for face snapshot camera
CN112861645A (en) * 2021-01-18 2021-05-28 盛视科技股份有限公司 Infrared camera dim light environment compensation method and device and electronic equipment
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium
CN114019746A (en) * 2021-11-05 2022-02-08 资阳联耀医疗器械有限责任公司 LED calibration method and system
CN114500865A (en) * 2022-01-29 2022-05-13 北京精英路通科技有限公司 Method and device for regulating and controlling light supplement lamp, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115278098B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN1316814C (en) System and method to increase effective dynamic range of image sensors
CN104184958B (en) Automatic exposure control method and device based on FPGA (field programmable Gate array) and suitable for space detection imaging
EP2946249B1 (en) Imaging apparatus with scene adaptive auto exposure compensation
KR100914961B1 (en) Method and system for determining optimal exposure of structured light based 3d camera
JP5108093B2 (en) Imaging apparatus and imaging method
CN1926851B (en) Method and apparatus for optimizing capture device settings through depth information
US11418730B2 (en) Use of IR pre-flash for RGB camera's automatic algorithms
JP2004212385A (en) Photographic device, photographing method and control method for the photographic device
US20120121129A1 (en) Image processing apparatus
KR20120069539A (en) Device for estimating light source and method thereof
US10270979B2 (en) Automatically depth-of-field adjusting method and camera
JP2015034850A (en) Photographing device and photographing method
JP6336337B2 (en) Imaging apparatus, control method therefor, program, and storage medium
CN115278098B (en) Image shooting method, system and shooting device thereof
US20200036877A1 (en) Use of ir pre-flash for rgb camera's automatic algorithms
JP2012085093A (en) Imaging device and acquisition method
KR20100009967A (en) Method of controlling white balance at flashlight photographing
JP7218116B2 (en) IMAGING DEVICE AND METHOD OF CONTROLLING IMAGING DEVICE
KR102662564B1 (en) Camera device for improving image quality using hybrid light source
US20220078321A1 (en) Image capturing control apparatus, method for controlling image capturing apparatus, and storage medium
JP2008042644A (en) Color image pickup apparatus and image processing program
JP2014143645A (en) Imaging apparatus and imaging program
Yasukawa et al. Entropy-Based Exposure Time Setting for an Adaptive Multi-Exposure Image Fusion
CN118118803A (en) Depth camera and electronic equipment suitable for indoor and outdoor
CN118102113A (en) Indoor and outdoor high-precision exposure adjusting method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230607

Address after: 8 / F, building 3, 1156 Gaoqiao Avenue, Tongxiang City, Jiaxing City, Zhejiang Province, 314500

Applicant after: JIAXING UPHOTON OPTOELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: Room 1206-6, floor 12, building 7, yard a 13, Huayuan Road, Haidian District, Beijing 100088

Applicant before: BEIJING THETO OPTICAL SCIENCE AND TECHNOLOGY DEVELOPMENT CO.,LTD.

GR01 Patent grant
GR01 Patent grant