CN109040611A - Shoot method, apparatus, computer equipment and the storage medium of light filling - Google Patents

Shoot method, apparatus, computer equipment and the storage medium of light filling Download PDF

Info

Publication number
CN109040611A
CN109040611A CN201811052052.8A CN201811052052A CN109040611A CN 109040611 A CN109040611 A CN 109040611A CN 201811052052 A CN201811052052 A CN 201811052052A CN 109040611 A CN109040611 A CN 109040611A
Authority
CN
China
Prior art keywords
intensity
illumination
light filling
shooting
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811052052.8A
Other languages
Chinese (zh)
Other versions
CN109040611B (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.)
Xi'an Bee Language Mdt Infotech Ltd
Original Assignee
Xi'an Bee Language Mdt Infotech 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 Xi'an Bee Language Mdt Infotech Ltd filed Critical Xi'an Bee Language Mdt Infotech Ltd
Priority to CN201811052052.8A priority Critical patent/CN109040611B/en
Publication of CN109040611A publication Critical patent/CN109040611A/en
Application granted granted Critical
Publication of CN109040611B publication Critical patent/CN109040611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention relates to a kind of method, apparatus, computer equipment and storage mediums for shooting light filling.According to the first intensity of illumination in the first shooting command detection working environment of user's input;Obtain the intensity of illumination difference between the first intensity of illumination and preset second intensity of illumination;Light filling equipment output compensation light is controlled according to intensity of illumination difference, and sends the second shooting instruction to the capture apparatus connecting with light filling equipment, the second shooting instruction is used to indicate the capture apparatus and obtains image information.The method of above-mentioned shooting light filling, pass through the intensity of illumination difference between the first intensity of illumination and preset second intensity of illumination in the working environment of acquisition, light filling equipment output compensation light is controlled according to the intensity of illumination difference, enable light filling equipment accurately to export compensation light according to the intensity of illumination of current environment, improves the effect of shooting light filling.

Description

Shoot method, apparatus, computer equipment and the storage medium of light filling
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of method, apparatus, computer equipment for shooting light filling And storage medium.
Background technique
As the improvement of people's living standards, the scene for needing to take pictures is also more and more, when user needs in shooting at night When, it needs to carry out light filling to environment.
Common shooting light filling technology carries out light filling using the flash lamp that capture apparatus itself integrates, to promote shooting at night Effect, for example, by taking mobile phone photograph as an example, when taking pictures under the low environment of intensity of illumination, using the flash lamp integrated on mobile phone to night Between take pictures and carry out light filling.
But the flash lamp due to being integrated on capture apparatus, the intensity of illumination of supplement is limited, falls flat, and claps It is poor to take the photograph light filling effect.
Summary of the invention
Based on this, it is necessary to for shooting light filling effect difference problem, provide a kind of method, apparatus of shooting light filling, calculate Machine equipment and storage medium.
In a first aspect, a kind of method for shooting light filling, which comprises
According to the first intensity of illumination in the first shooting command detection working environment of user's input;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and to the bat connecting with the light filling equipment It takes the photograph equipment and sends the second shooting instruction, second shooting instruction is used to indicate the capture apparatus and obtains image information.
The method of above-mentioned shooting light filling, according to the first illumination in the first shooting command detection working environment of user's input Intensity obtains the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination, according to the illumination Strength difference controls light filling equipment output compensation light, and sends the second shooting to the capture apparatus connecting with the light filling equipment and refer to It enables, to indicate that the capture apparatus obtains image information.By the first intensity of illumination in the working environment of acquisition with it is preset Intensity of illumination difference between second intensity of illumination controls light filling equipment output compensation light according to the intensity of illumination difference, so that Light filling equipment can accurately export compensation light according to the intensity of illumination of current environment, improve the effect of shooting light filling.
First in the first shooting command detection working environment according to user's input in one of the embodiments, Intensity of illumination, comprising:
If detecting, the light filling equipment is connect with the capture apparatus, detects the work according to preset period of time Third intensity of illumination in environment;
According to the first intensity of illumination described in the third intensity of illumination and the first shooting command detection.
It is described in one of the embodiments, to be shot described in command detection according to the third intensity of illumination with described first First intensity of illumination, comprising:
According to the third intensity of illumination, the first pulse width modulation (PWM) regulated value is determined;
The light filling equipment is controlled according to the first PWM regulated value and exports detection light, and is receiving the first count First intensity of illumination is detected when taking the photograph instruction.
It is described in one of the embodiments, that light filling equipment output compensation light, packet are controlled according to the intensity of illumination difference It includes:
The first PWM regulated value is compensated according to the intensity of illumination difference, obtains the 2nd PWM regulated value;
The light filling equipment output compensation light is controlled according to the 2nd PWM regulated value.
It is described in one of the embodiments, that light filling equipment output compensation light is controlled according to the intensity of illumination difference, and After sending second shooting instruction to the capture apparatus connecting with the light filling equipment, the method also includes:
If receiving the shooting that the capture apparatus is sent completes instruction, controls the light filling equipment and stop described in output Compensate light.
If detecting in one of the embodiments, the light filling equipment is connect with the capture apparatus, and the shooting The camera application of equipment is open state, then sets shutter function for the function of button in the light filling equipment.
It is described in one of the embodiments, to send second shooting to the capture apparatus connecting with the light filling equipment Instruction, comprising:
Using communication, second shooting instruction is sent to the capture apparatus.
Second aspect, a kind of device shooting light filling, described device include:
Detection module, according to the first intensity of illumination in the first shooting command detection working environment of user's input;
First obtains module, and the intensity of illumination obtained between first intensity of illumination and preset second intensity of illumination is poor Value;
Output module controls light filling equipment output compensation light according to the intensity of illumination difference, and sets to the light filling The capture apparatus of standby connection sends the second shooting instruction, and second shooting instruction is used to indicate the capture apparatus and obtains image Information.
The third aspect, a kind of computer equipment, including memory and processor, the memory are stored with computer journey Sequence, the processor perform the steps of when executing the computer program
According to the first intensity of illumination in the first shooting command detection working environment of user's input;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and to the bat connecting with the light filling equipment It takes the photograph equipment and sends the second shooting instruction, second shooting instruction is used to indicate the capture apparatus and obtains image information.
Fourth aspect, a kind of computer readable storage medium are stored thereon with computer program, the computer program quilt Processor performs the steps of when executing
According to the first intensity of illumination in the first shooting command detection working environment of user's input;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and to the bat connecting with the light filling equipment It takes the photograph equipment and sends the second shooting instruction, second shooting instruction is used to indicate the capture apparatus and obtains image information.
5th aspect, a method of shooting light filling, which comprises
Receive the shooting instruction that the light filling equipment connecting with capture apparatus is sent;
Image information is obtained according to the shooting instruction.
In one of the embodiments, after the acquisition image information according to the shooting instruction, the method is also wrapped It includes:
Shooting, which is sent, to the light filling equipment completes instruction;The shooting completion instruction is used to indicate the light filling equipment and stops Only export the compensation light.
6th aspect, a kind of device shooting light filling, described device include:
Receiving module, the shooting instruction sent for receiving the light filling equipment connecting with capture apparatus;
Second obtains module, for obtaining image information according to the shooting instruction.
7th aspect, a kind of computer equipment, including memory and processor, the memory are stored with computer journey Sequence, the processor perform the steps of when executing the computer program
Receive the shooting instruction that the light filling equipment connecting with capture apparatus is sent;
Image information is obtained according to the shooting instruction.
Eighth aspect, a kind of computer equipment, including memory and processor, the memory are stored with computer journey Sequence, the processor perform the steps of when executing the computer program
Receive the shooting instruction that the light filling equipment connecting with capture apparatus is sent;
Image information is obtained according to the shooting instruction.
Method, apparatus, computer equipment and the storage medium of shooting light filling provided by the embodiments of the present application, it is defeated according to user The first intensity of illumination in the first shooting command detection working environment entered, obtains first intensity of illumination and preset second Intensity of illumination difference between intensity of illumination, according to the intensity of illumination difference control light filling equipment output compensation light, and to The capture apparatus of the light filling equipment connection sends the second shooting instruction, to indicate that the capture apparatus obtains image information.It is logical The intensity of illumination difference between the first intensity of illumination and preset second intensity of illumination in the working environment obtained is crossed, according to this Intensity of illumination difference controls light filling equipment output compensation light, can accurately export compensation according to the intensity of illumination of current environment Light improves the effect of shooting light filling.
Detailed description of the invention
Fig. 1 is the schematic diagram of a shooting light-supplementing system;
Fig. 2 is the flow diagram of the method for the shooting light filling that one embodiment provides;
Fig. 3 is the flow diagram of the method for the shooting light filling that one embodiment provides;
Fig. 4 is the flow diagram of the method for the shooting light filling that one embodiment provides;
Fig. 5 is the flow diagram of the method for the shooting light filling that one embodiment provides;
Fig. 6 is the flow diagram of the method for the shooting light filling that one embodiment provides;
Fig. 7 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides;
Fig. 8 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides;
Fig. 9 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides;
Figure 10 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides;
Figure 11 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides;
Figure 12 is the internal structure chart for the terminal that one embodiment provides.
Specific embodiment
As the improvement of people's living standards, the scene for needing to shoot is also more and more, when user needs to carry out at night When shooting, need to carry out light filling to environment, to reach good shooting effect.Common shooting light filling technology, is set using shooting The standby flash lamp itself integrated carries out light filling, to promote the shooting effect under the low environment of intensity of illumination.However, due to being integrated in Flash lamp on capture apparatus mostly uses low power LED, and the intensity of illumination of output is low, and is unable to adjust the light of output According to intensity, so in shooting at night, it is easy to phenomena such as illuminated object is partially dark or illuminated object is reflective, shooting effect occur Expected situation is not achieved in fruit.
Method, apparatus, computer equipment and the storage medium of shooting light filling provided by the embodiment of the present invention, it is intended to solve The problem of light filling effect difference is shot in the prior art.
It should be noted that the method for shooting light filling provided in an embodiment of the present invention, executing subject can be terminal, it should Terminal can be implemented as some or all of of terminal device by way of software, hardware or software and hardware combining.It is following The executing subject of embodiment of the method is illustrated by taking terminal device as an example.
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Fig. 1 is the schematic diagram of a shooting light-supplementing system, as shown in Figure 1, the system includes that light filling equipment 100 and shooting are set Standby 200, light filling equipment 100 can be connect by way of wireless transmission with capture apparatus 200, and light filling equipment 100 can pass through The mode of wire transmission is connect with capture apparatus 200, during shooting to subject 300, is referred to when receiving shooting When enabling, control light filling equipment 100 detects the intensity of illumination of working environment, and output compensation light, reaches according to testing result When ideal shooting intensity of illumination, control capture apparatus 200 obtains image.
Fig. 2 is the flow diagram of the method for the shooting light filling that one embodiment provides, and the executing subject of this method is to mend Light device, what is involved is the detailed processes that shooting light filling is carried out according to the intensity of illumination in working environment for the present embodiment, such as Fig. 2 institute Show, method includes the following steps:
S101, the first shooting instruction inputted according to user, detect the first intensity of illumination in working environment.
In the present embodiment, the first shooting instruction can serve to indicate that the intensity of illumination in light filling equipment detection working environment; First intensity of illumination can be the intensity of illumination of natural light, be also possible to the intensity of illumination by natural light and illumination optical superposition, It can also be the intensity of illumination etc. of the reflection light by equipment such as reflectors.
Illustratively, user can input the first shooting instruction by voice command, can also be by clicking light filling equipment Display screen on function button input the first shooting instruction, can also pass through written order input the first shooting instruction, this Shen Please embodiment it is without limitation.By taking shooting at night as an example, in the working environment of natural light, user is by clicking on display screen Function button, input the first shooting instruction, clap light device capture working environment in natural light intensity of illumination, obtain the first light According to intensity.
Intensity of illumination difference between S102, the first intensity of illumination of acquisition and preset second intensity of illumination.
In the present embodiment, the second intensity of illumination indicates that the intensity of illumination of ideal shooting effect can be obtained, and the second illumination is strong Degree can be a fixed empirical value, be also possible to a numerical value of user's selection.It is shot for example, it can be according to history The intensity of illumination that data statistics obtains, is also possible to constantly to adjust intensity of illumination and is shot, and obtains customer satisfaction system shooting and imitates Intensity of illumination when fruit, the embodiment of the present application is without limitation,
S103, light filling equipment output compensation light is controlled according to intensity of illumination difference, and to the shooting connecting with light filling equipment Equipment sends the second shooting instruction, and the second shooting instruction is used to indicate taken the photograph equipment and obtains image information.
In the present embodiment, compensation light is the output of light filling equipment for compensating the light of current environment intensity of illumination, illumination Intensity can be equal to the intensity of illumination difference that above-mentioned S102 is obtained, and be also possible to the intensity of illumination difference obtained according to above-mentioned S102 The intensity of illumination range of setting, the embodiment of the present application are without limitation.Capture apparatus can be photographing device, be also possible to take the photograph As equipment, the embodiment of the present application is without limitation.Further, the image information that capture apparatus obtains can be picture, It can be video, the embodiment of the present application is without limitation.Optionally, second is sent to capture apparatus using communication Shooting instruction can pass through Bluetooth transmission, WiFi, Mesh, bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi etc. Mode sends the second shooting instruction to capture apparatus, and the embodiment of the present application is without limitation.It is photographing device with capture apparatus For, on the basis of above-mentioned S102, the intensity of illumination obtained between the first intensity of illumination and preset second intensity of illumination is poor Value controls the compensation light that light filling equipment output illumination intensity is equal to the intensity of illumination difference, simultaneously according to the intensity of illumination difference The second shooting instruction for obtaining picture is sent to the capture apparatus being wirelessly connected with light filling equipment by way of wireless transmission.
In above-described embodiment, the first intensity of illumination in the first shooting command detection working environment inputted according to user, The intensity of illumination difference between first intensity of illumination and preset second intensity of illumination is obtained, it is poor according to the intensity of illumination Value control light filling equipment output compensation light, and the second shooting instruction is sent to the capture apparatus connecting with the light filling equipment, with Indicate that the capture apparatus obtains image information.Light filling equipment can obtain in real time the first intensity of illumination in working environment with Intensity of illumination difference between preset second intensity of illumination controls the output compensation of light filling equipment according to the intensity of illumination difference Light enables light filling equipment accurately to export compensation light according to the intensity of illumination of current environment, improves the effect of shooting light filling Fruit.
Optionally, after sending the second shooting instruction to the capture apparatus connecting with light filling equipment, if receiving shooting Instruction is completed in the shooting that equipment is sent, and control light filling equipment stops output compensation light.
In the present embodiment, light filling equipment output compensation light, so that the intensity of illumination in shooting environmental reaches ideal Shooting intensity of illumination when, light filling equipment simultaneously to capture apparatus send the second shooting instruction, instruction capture apparatus shoot image, After capture apparatus completes shooting, capture apparatus can also send shooting to light filling equipment and complete instruction, so that light filling equipment Stop output compensation light, to reduce the energy consumption of light filling equipment.
Fig. 3 is the flow diagram of the method for the shooting light filling that one embodiment provides, and what is involved is detection works for this method Make the detailed process of the first intensity of illumination in environment, as shown in figure 3, S101 " is examined according to the first shooting instruction of user's input A kind of possible implementation method of the first intensity of illumination surveyed in working environment " includes:
If S201, detecting that light filling equipment is connect with capture apparatus, according in preset period of time detection working environment Third intensity of illumination.
In the present embodiment, preset period of time can be fixed time interval, be also possible to the change according to intensity of illumination Change, the time interval being adjusted, the embodiment of the present application is without limitation.It is real-time that third intensity of illumination can be working environment Intensity of illumination, can change with the variation of the intensity of illumination of light source in working environment.For example, in working environment Light source is for illumination light, preset time interval is fixed value t, and at the T1 moment, the illumination that light filling equipment detects is strong Degree is L1, at this point, third intensity of illumination is L1;When T1 adds t moment, due to increasing the output power of illumination light, illuminate The intensity of illumination of light increases, and the intensity of illumination that light filling equipment detects for the second time is L2, at this point, third intensity of illumination is L2.
Optionally, if detecting, the light filling equipment is connect with the capture apparatus, and the shooting of the capture apparatus is answered With for open state, then shutter function is set by the function of button in the light filling equipment.
S202, the first intensity of illumination of command detection is shot according to third intensity of illumination and first.
In the present embodiment, on the basis of above-mentioned S201, according to the third intensity of illumination of acquisition, user's input is being received The first shooting instruction when, detect the first intensity of illumination.Optionally, as shown in figure 4, S202 is " according to the third intensity of illumination With the first intensity of illumination described in the first shooting command detection " a kind of possible implementation method includes:
S301, according to third intensity of illumination, determine the modulation of the first pulse width (Pulse Width Modulation, PWM) regulated value.
In the present embodiment, the intensity of illumination of light filling as needed obtains the output power of light filling equipment, according to the output work Rate obtains needing to adjust PWM regulated value.Specifically, being obtained real-time for characterizing working environment on the basis of above-mentioned S201 The third intensity of illumination of intensity of illumination, can be according to the intensity of illumination between third intensity of illumination and preset second intensity of illumination Difference obtains the output power of light filling equipment, is determining the first PWM regulated value according to the output power.
S302, light filling equipment output detection light is controlled according to the first PWM regulated value, and when receiving the first shooting instruction Detect first intensity of illumination.
In the present embodiment, according to the first PWM regulated value that above-mentioned S301 is obtained, the detection light of light filling equipment output is determined Intensity of illumination, specifically, light filling equipment detects when receiving the first shooting instruction by exporting detection light and has been superimposed inspection Survey the first intensity of illumination obtained from the intensity of illumination of light and natural light.
In above-described embodiment, if detecting, light filling equipment is connect with capture apparatus, detects work according to preset period of time Make the third intensity of illumination in environment, according to third intensity of illumination and first shooting the first intensity of illumination of command detection.Due to Before detecting the first intensity of illumination, real-time third intensity of illumination is obtained, according to third intensity of illumination, determines the first PWM tune Section value controls light filling equipment and exports detection light according to the first PWM regulated value, and when receiving the first shooting instruction, is detecting Light, which adds, detects the first intensity of illumination in the environment of natural light, that is to say, that before detecting the first intensity of illumination, light filling equipment is Through obtaining the range of the intensity of illumination of working environment, detection light is exported according to the range of the intensity of illumination, so that get First intensity of illumination is more accurate.
Fig. 5 is the flow diagram of the method for the shooting light filling that one embodiment provides, and what is involved is according to light for this method According to the detailed process of strength difference control light filling equipment output compensation light, on the basis of the above embodiments, as shown in figure 5, A kind of S103 " described to control light filling equipment output compensation light according to the intensity of illumination difference " possible implementation method includes:
S401, the first PWM regulated value is compensated according to intensity of illumination difference, obtains the 2nd PWM regulated value.
It is right according to the intensity of illumination difference between the first intensity of illumination and preset second intensity of illumination in the present embodiment First PWM regulated value compensates, to obtain the 2nd PWM regulated value.For example, when intensity of illumination difference is positive value, to the One PWM regulated value is just compensated, so that the 2nd PWM regulated value is obtained, when intensity of illumination difference is negative value, to the first PWM Regulated value carries out negative compensation, to obtain the 2nd PWM adjusting.
S402, light filling equipment output compensation light is controlled according to the 2nd PWM regulated value.
In the present embodiment, according to the 2nd PWM regulated value obtained in above-mentioned S401, the pulse width of light filling equipment is adjusted, So as to adjust the output power of light filling equipment, and then adjust the intensity of illumination of the compensation light of light filling equipment output.
Using the method for shooting light filling in above-described embodiment, the first PWM regulated value is mended according to intensity of illumination difference It repays, obtains the 2nd PWM regulated value, further according to the 2nd PWM regulated value control light filling equipment output compensation light.Due in the first PWM The 2nd PWM regulated value is obtained on the basis of regulated value, makes it possible to quickly control light filling equipment according to the 2nd PWM regulated value defeated Light is compensated out, improves the speed of shooting light filling, further improves the effect of shooting light filling.
Fig. 6 is the flow diagram of the method for the shooting light filling that one embodiment provides, and the executing subject of this method is to clap Equipment is taken the photograph, what is involved is the processes that the shooting instruction sent according to light filling equipment obtains image information for the present embodiment, such as Fig. 6 institute Show, which comprises
The shooting instruction that the light filling equipment of S501, reception and capture apparatus connection are sent.
In the present embodiment, shooting instruction can be received when capture apparatus is connect with light filling equipment, can also need to open Begin to receive shooting instruction when shooting.
S502, image information is obtained according to shooting instruction.
In the present embodiment, image information can be picture or video, and the embodiment of the present application is without limitation.Capture apparatus Image information can be immediately obtained after obtaining shooting instruction, obtain image information after the preset time interval that can also pause, The embodiment of the present application is without limitation.
After above-mentioned S502 " obtaining image information according to shooting instruction ", optionally, the method also includes setting to light filling Preparation send shooting to complete instruction;Shooting completes instruction and is used to indicate light filling equipment stopping output compensation light.
Specifically, being set when capture apparatus receives the shooting instruction of light filling equipment transmission according to shooting instruction control shooting Standby to obtain image information, after completing shooting, capture apparatus sends shooting to light filling equipment and completes instruction, and light filling equipment receives When instruction is completed in the shooting, stop output compensation light.For example, at the time of capture apparatus is connected with light filling equipment, capture apparatus The shooting instruction for receiving the transmission of light filling equipment controls capture apparatus according to shooting instruction and obtains photo, completes in capture apparatus When photograph taking, capture apparatus sends shooting to light filling equipment and completes instruction, after light filling equipment receives shooting completion instruction, Stop output compensation light.
It should be understood that although each step in the flow chart of Fig. 2-6 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-6 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out.
Fig. 7 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides.As shown in fig. 7, the shooting light filling Device, comprising: detection module 10, first obtains module 20 and output module 30, in which:
Detection module 10, the first illumination in the first shooting command detection working environment for being inputted according to user are strong Degree;
First obtains module 20, for obtaining the illumination between first intensity of illumination and preset second intensity of illumination Strength difference;
Output module 30, for according to the intensity of illumination difference control light filling equipment output compensation light, and to it is described The capture apparatus of light filling equipment connection sends second shooting instruction, and second shooting instruction is used to indicate the shooting and sets It is standby to obtain image information.
Fig. 8 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides.In above-mentioned embodiment illustrated in fig. 7 On the basis of, as shown in figure 8, detection module 10 includes: first detection unit 101 and second detection unit 102, in which:
First detection unit 101, if for detecting that the light filling equipment is connect with the capture apparatus, according to default Time cycle detects the third intensity of illumination in the working environment;
Second detection unit 102, according to the first light described in the third intensity of illumination and the first shooting command detection According to intensity.
In one embodiment, second detection unit 102 is specifically used for determining the first arteries and veins according to the third intensity of illumination Rush width modulated PWM regulated value;Detection light is exported for controlling the light filling equipment according to the first PWM regulated value, and First intensity of illumination is detected when receiving first shooting instruction.
In one embodiment, output module 30 is specifically used for according to the intensity of illumination difference to the first PWM tune Section value compensates, and obtains the 2nd PWM regulated value;The light filling equipment output compensation is controlled according to the 2nd PWM regulated value Light.
In one embodiment, if output module 30 is also used to receive the shooting completion that the capture apparatus is sent and refers to It enables, then controls the light filling equipment and stop exporting the compensation light.
The device of shooting light filling provided in an embodiment of the present invention, can execute above method embodiment, realization principle and Technical effect is similar, and details are not described herein.
Fig. 9 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides.It is real shown in above-mentioned Fig. 8 or Fig. 7 On the basis of applying example, as shown in figure 9, the device of shooting light filling further include: stopping modular 40, in which:
Stopping modular 40, if for detecting that the light filling equipment is connect with the capture apparatus, and the capture apparatus Camera application be open state, then set shutter function for the function of button in the light filling equipment.
In one embodiment, if output module 30 is also used to detect that the light filling equipment and the capture apparatus connect Connect, and the camera application of the capture apparatus be open state when, set fast for the function of the button in the light filling equipment Door function.
In one embodiment, using communication, second shooting instruction is sent to the capture apparatus.
It should be noted that Fig. 9 is based on being shown on the basis of Fig. 8, certain Fig. 9 can also be based on the knot of Fig. 7 Structure is shown, and is only a kind of example here.
The device of shooting light filling provided in an embodiment of the present invention, can execute above method embodiment, realization principle and Technical effect is similar, and details are not described herein.
Figure 10 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides.As shown in Figure 10, which mends The device of light, comprising: receiving module 50 and second obtains module 60:
Receiving module 50, the shooting instruction sent for receiving the light filling equipment connecting with capture apparatus;
Second obtains module 60, for obtaining image information according to the shooting instruction.
Figure 11 is the structural schematic diagram of the device for the shooting light filling that one embodiment provides.As shown in figure 11, which mends The device of light further include: sending module 70.
Sending module 70 completes instruction for sending shooting to the light filling equipment;The shooting completes instruction for referring to Show that the light filling equipment stops exporting the compensation light.
The device of shooting light filling provided in an embodiment of the present invention, can execute above method embodiment, realization principle and Technical effect is similar, and details are not described herein.
A kind of specific limit for limiting the method above for shooting light filling that may refer to about device for shooting light filling Fixed, details are not described herein.Modules in the device of above-mentioned shooting light filling can be fully or partially through software, hardware and its group It closes to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with Software form is stored in the memory in computer equipment, executes the corresponding behaviour of the above modules in order to which processor calls Make.
In one embodiment, a kind of computer equipment is provided, which can be terminal device, inside Structure chart is shown in Fig.12.The computer equipment includes that the processor, memory, network connected by system bus connects Mouth, display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer The memory of equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system and Computer program.The built-in storage provides ring for the operation of operating system and computer program in non-volatile memory medium Border.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is processed To realize a kind of method for shooting light filling when device executes.The display screen of the computer equipment can be liquid crystal display or electronics Ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, are also possible to computer and set Key, trace ball or the Trackpad being arranged on standby shell, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of terminal device, including memory and processor are provided, the memory is stored with Computer program, the processor perform the steps of when executing the computer program
According to the first intensity of illumination in the first shooting command detection working environment of user's input;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and to the bat connecting with the light filling equipment It takes the photograph equipment and sends second shooting instruction, second shooting instruction is used to indicate the capture apparatus and obtains image information.
In one embodiment, if processor also performs the steps of when executing computer program detects the light filling Equipment is connect with the capture apparatus, then the third intensity of illumination in the working environment is detected according to preset period of time;Root According to the first intensity of illumination described in the third intensity of illumination and the first shooting command detection.
In one embodiment, it also performs the steps of when processor executes computer program according to the third illumination Intensity determines the first pulse width modulation (PWM) regulated value;The light filling equipment output is controlled according to the first PWM regulated value Detection light, and first intensity of illumination is detected when receiving first shooting instruction.
In one embodiment, it also performs the steps of when processor executes computer program according to the intensity of illumination Difference compensates the first PWM regulated value, obtains the 2nd PWM regulated value;Institute is controlled according to the 2nd PWM regulated value State light filling equipment output compensation light.
In one embodiment, it is described according to the intensity of illumination difference control light filling equipment output compensation light, and to After the capture apparatus of the light filling equipment connection sends second shooting instruction, processor goes back reality when executing computer program Existing following steps: it if receiving the shooting that the capture apparatus is sent completes instruction, controls the light filling equipment and stops output The compensation light.
In one embodiment, if detecting, the light filling equipment is connect with the capture apparatus, and the capture apparatus Camera application be open state, processor execute computer program when also perform the steps of by the light filling equipment by The function of button is set as shutter function.
In one embodiment, using communication, second shooting instruction is sent to the capture apparatus.
In one embodiment, it is also performed the steps of when processor executes computer program
Receive the shooting instruction that the light filling equipment connecting with capture apparatus is sent;
Image information is obtained according to the shooting instruction.
In one embodiment, it is also performed the steps of when processor executes computer program
Terminal device provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein It repeats no more.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
According to the first shooting instruction that user inputs, the first intensity of illumination in working environment is detected;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and to the bat connecting with the light filling equipment It takes the photograph equipment and sends the second shooting instruction, second shooting instruction is used to indicate the capture apparatus and obtains image information.
In one embodiment, the light filling is detected if performing the steps of when computer program is executed by processor Equipment is connect with the capture apparatus, then the third intensity of illumination in the working environment is detected according to preset period of time;Root According to the first intensity of illumination described in the third intensity of illumination and the first shooting command detection.
In one embodiment, it is performed the steps of when computer program is executed by processor according to the third illumination Intensity determines the first pulse width modulation (PWM) regulated value;The light filling equipment output is controlled according to the first PWM regulated value Detection light, and first intensity of illumination is detected when receiving first shooting instruction.
In one embodiment, it is performed the steps of when computer program is executed by processor according to the intensity of illumination Difference compensates the first PWM regulated value, obtains the 2nd PWM regulated value;Institute is controlled according to the 2nd PWM regulated value State light filling equipment output compensation light.
In one embodiment, the shooting is received if performing the steps of when computer program is executed by processor Instruction is completed in the shooting that equipment is sent, then controls the light filling equipment and stop exporting the compensation light.
In one embodiment, the light filling is detected if performing the steps of when computer program is executed by processor Equipment is connect with the capture apparatus, and the camera application of the capture apparatus is open state, then will be in the light filling equipment The function of button is set as shutter function.
In one embodiment, it is performed the steps of when computer program is executed by processor using communication, Second shooting instruction is sent to the capture apparatus.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Receive the shooting instruction that the light filling equipment connecting with capture apparatus is sent;
Image information is obtained according to the shooting instruction.
In one embodiment, it performs the steps of when computer program is executed by processor and is sent out to the light filling equipment Shooting is sent to complete instruction;The shooting completes instruction and is used to indicate the light filling equipment stopping output compensation light.
Computer readable storage medium provided in this embodiment, implementing principle and technical effect and above method embodiment Similar, details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of method for shooting light filling, which is characterized in that the described method includes:
According to the first shooting instruction that user inputs, the first intensity of illumination in working environment is detected;
Obtain the intensity of illumination difference between first intensity of illumination and preset second intensity of illumination;
Light filling equipment output compensation light is controlled according to the intensity of illumination difference, and is set to the shooting being connect with the light filling equipment Preparation send the second shooting instruction, and second shooting instruction is used to indicate the capture apparatus and obtains image information.
2. the method according to claim 1, wherein first shooting instruction inputted according to user, detection The first intensity of illumination in working environment, comprising:
If detecting, the light filling equipment is connect with the capture apparatus, detects the working environment according to preset period of time In third intensity of illumination;
According to the first intensity of illumination described in the third intensity of illumination and the first shooting command detection.
3. according to the method described in claim 2, it is characterized in that, described according to the third intensity of illumination and the first count Take the photograph the first intensity of illumination described in command detection, comprising:
According to the third intensity of illumination, the first pulse width modulation (PWM) regulated value is determined;
The light filling equipment is controlled according to the first PWM regulated value and exports detection light, and is referred to receiving first shooting First intensity of illumination is detected when enabling.
4. according to the method described in claim 3, it is characterized in that, described control light filling equipment according to the intensity of illumination difference Output compensation light, comprising:
The first PWM regulated value is compensated according to the intensity of illumination difference, obtains the 2nd PWM regulated value;
The light filling equipment output compensation light is controlled according to the 2nd PWM regulated value.
5. method according to claim 1-4, which is characterized in that described to be controlled according to the intensity of illumination difference Light filling equipment output compensation light, and to after capture apparatus transmission second shooting instruction connect with the light filling equipment, The method also includes:
If receiving the shooting that the capture apparatus is sent completes instruction, controls the light filling equipment and stop exporting the compensation Light.
6. method according to claim 1-4, which is characterized in that the method also includes:
If detecting, the light filling equipment is connect with the capture apparatus, and the camera application of the capture apparatus is opening state State then sets shutter function for the function of button in the light filling equipment.
7. method according to claim 1-4, which is characterized in that described to the bat being connect with the light filling equipment It takes the photograph equipment and sends second shooting instruction, comprising:
Using communication, second shooting instruction is sent to the capture apparatus.
8. a kind of device for shooting light filling, which is characterized in that described device includes:
Detection module, the first intensity of illumination in the first shooting command detection working environment for being inputted according to user;
First obtains module, poor for obtaining the intensity of illumination between first intensity of illumination and preset second intensity of illumination Value;
Output module for controlling light filling equipment output compensation light according to the intensity of illumination difference, and is set to the light filling The capture apparatus of standby connection sends second shooting instruction, and second shooting instruction is used to indicate the capture apparatus and obtains Image information.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In when the processor executes the computer program the step of any one of realization claim 1-7 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method of any of claims 1-7 is realized when being executed by processor.
CN201811052052.8A 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium Active CN109040611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811052052.8A CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811052052.8A CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109040611A true CN109040611A (en) 2018-12-18
CN109040611B CN109040611B (en) 2020-12-29

Family

ID=64621140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811052052.8A Active CN109040611B (en) 2018-09-10 2018-09-10 Method and device for shooting supplementary lighting, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109040611B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200355A (en) * 2018-03-29 2018-06-22 四川斐讯信息技术有限公司 A kind of light compensation method, system and control system suitable for internet of things equipment shooting
CN110198416A (en) * 2019-06-11 2019-09-03 威海德盛电子有限公司 Light compensating apparatus and its control method
CN110456371A (en) * 2019-08-28 2019-11-15 上海禾赛光电科技有限公司 A kind of laser radar system and relevant measurement method
CN110855900A (en) * 2019-11-20 2020-02-28 何建军 Photographing control method and system based on external flash light source and storage medium
CN111935415A (en) * 2020-08-18 2020-11-13 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382752B (en) * 2008-12-19 2013-01-11 Hon Hai Prec Ind Co Ltd Image capturing device and light compensating method thereof
US20140036092A1 (en) * 2012-07-31 2014-02-06 Jadak, Llc Automatic Exposure Calibration And Compensation For Machine Vision
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN205545395U (en) * 2015-02-17 2016-08-31 张造伦 flash lighting device for electronic equipment
CN105959582A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Light supplement method and device based on selfie stick
CN107820025A (en) * 2017-12-13 2018-03-20 北京小米移动软件有限公司 Take pictures the method and apparatus of processing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382752B (en) * 2008-12-19 2013-01-11 Hon Hai Prec Ind Co Ltd Image capturing device and light compensating method thereof
US20140036092A1 (en) * 2012-07-31 2014-02-06 Jadak, Llc Automatic Exposure Calibration And Compensation For Machine Vision
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN205545395U (en) * 2015-02-17 2016-08-31 张造伦 flash lighting device for electronic equipment
CN104683702A (en) * 2015-03-25 2015-06-03 广东欧珀移动通信有限公司 Method and device for supplementing light during photographing as well as mobile terminal
CN105959582A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Light supplement method and device based on selfie stick
CN107820025A (en) * 2017-12-13 2018-03-20 北京小米移动软件有限公司 Take pictures the method and apparatus of processing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200355A (en) * 2018-03-29 2018-06-22 四川斐讯信息技术有限公司 A kind of light compensation method, system and control system suitable for internet of things equipment shooting
CN110198416A (en) * 2019-06-11 2019-09-03 威海德盛电子有限公司 Light compensating apparatus and its control method
CN110456371A (en) * 2019-08-28 2019-11-15 上海禾赛光电科技有限公司 A kind of laser radar system and relevant measurement method
CN110855900A (en) * 2019-11-20 2020-02-28 何建军 Photographing control method and system based on external flash light source and storage medium
CN111935415A (en) * 2020-08-18 2020-11-13 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device
CN111935415B (en) * 2020-08-18 2022-02-08 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN109040611B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN109040611A (en) Shoot method, apparatus, computer equipment and the storage medium of light filling
US20190007589A1 (en) Camera initialization for multiple camera devices
CN104488258B (en) Method and apparatus for double camera shutter
US9509919B2 (en) System and method for generating a digital image
KR102124598B1 (en) Image acquisition method and apparatus
CN105721748B (en) Imaging control device and fill-flash control device
CN105530438B (en) Camera system and xenon flasher
CN106101561A (en) Camera focusing detection method and device
WO2016086549A1 (en) Method and device for controlling flash lamp
CN105744175A (en) Screen light fill method and device and mobile terminal
CN105657281B (en) Filming control method, fill-flash control device and fill-flash control system
CN103167133A (en) Mobile phone dynamic camera flash lamp luminance compensation system and method
CN104811609A (en) Photographing parameter adjustment method and device
CN103631069A (en) Multifunctional digital studio system
CN104853097B (en) A kind of panning mode image pickup method and device
CN109697698A (en) Low-light (level) enhances processing method, device and computer readable storage medium
CN104240676B (en) Method for adjusting electronic device and electronic device
CN114640783A (en) Photographing method and related equipment
CN112179508A (en) Ambient light frequency acquisition method and apparatus, electronic device, and storage medium
CN105791694B (en) Imaging control device, fill-flash device and fill-flash control system
CN108040213A (en) The method and apparatus of shooting image
CN105323382B (en) A kind of screen light compensation method, device and mobile terminal
CN116132781B (en) Micro-distance light supplementing method, micro-distance light supplementing device, computer equipment and storage medium
CN105681642B (en) Imaging control device, fill-flash control device and fill-flash control system
CN105575361A (en) Screen brightness adjusting method and apparatus thereof

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
GR01 Patent grant
GR01 Patent grant