CN110187591A - Flash lamp control method, device, electronic equipment and storage medium - Google Patents

Flash lamp control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110187591A
CN110187591A CN201910376511.6A CN201910376511A CN110187591A CN 110187591 A CN110187591 A CN 110187591A CN 201910376511 A CN201910376511 A CN 201910376511A CN 110187591 A CN110187591 A CN 110187591A
Authority
CN
China
Prior art keywords
flash lamp
infrared
visible light
imaging
muscle
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
CN201910376511.6A
Other languages
Chinese (zh)
Other versions
CN110187591B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910376511.6A priority Critical patent/CN110187591B/en
Publication of CN110187591A publication Critical patent/CN110187591A/en
Application granted granted Critical
Publication of CN110187591B publication Critical patent/CN110187591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The application proposes a kind of flash lamp control method, device, electronic equipment and storage medium, is applied in imaging process, and flash lamp includes visible light flash lamp and infrared flash lamp, and this method is included in when receiving imaging instruction, controls infrared flash lamp preflashing;The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;Visible light flash lamp is controlled to close.The influence to user's eye, effective guarantee imaging effect can be effectively avoided by the application.

Description

Flash lamp control method, device, electronic equipment and storage medium
Technical field
This application involves technical field of electronic equipment more particularly to a kind of flash lamp control method, device, electronic equipment and Storage medium.
Background technique
In the related technology, when being imaged using electronic equipment, usually before the main sudden strain of a muscle of flash lamp, ring is carried out by preflashing The pre-acquired of border brightness.
Under this mode, in application scenes, if being currently that user is imaged, in dark situation glitter down lamp Light source is often more dazzling, and the user that is taken may blink to avoid this discomfort, will affect imaging effect.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, the purpose of the application is to propose a kind of flash lamp control method, device, electronic equipment and storage medium, The influence to user's eye, effective guarantee imaging effect can effectively be avoided.
In order to achieve the above objectives, the flash lamp control method that the application first aspect embodiment proposes, applied to being imaged Cheng Zhong, the flash lamp include visible light flash lamp and infrared flash lamp, comprising: when receiving imaging instruction, control institute State infrared flash lamp preflashing;The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;Described in control Visible light flash lamp is closed.
The flash lamp control method that the application first aspect embodiment proposes, by the way that flash lamp to be configured to include visible light Flash lamp and infrared flash lamp control infrared flash lamp preflashing when receiving imaging instruction, and control visible light flash of light The main sudden strain of a muscle of lamp starts shutter imaging during main sudden strain of a muscle, and control visible light flash lamp is closed, since infrared flash lamp is dodging Light time using infrared light sources, can effectively avoid the influence to user's eye, effective guarantee imaging effect.
In order to achieve the above objectives, the device for controlling flashlight that the application second aspect embodiment proposes, applied to being imaged Cheng Zhong, the flash lamp include visible light flash lamp and infrared flash lamp, comprising: preflashing control module, for receiving When imaging instruction, the infrared flash lamp preflashing is controlled;Main sudden strain of a muscle control module, for controlling the visible light flash lamp master It dodges, starts shutter imaging during main sudden strain of a muscle, and the control visible light flash lamp is closed.
The device for controlling flashlight that the application second aspect embodiment proposes, by the way that flash lamp to be configured to include visible light Flash lamp and infrared flash lamp control infrared flash lamp preflashing when receiving imaging instruction, and control visible light flash of light The main sudden strain of a muscle of lamp starts shutter imaging during main sudden strain of a muscle, and control visible light flash lamp is closed, since infrared flash lamp is dodging Light time using infrared light sources, can effectively avoid the influence to user's eye, effective guarantee imaging effect.
In order to achieve the above objectives, the application third aspect also proposes a kind of electronic equipment, which includes shell, place Manage device, memory, circuit board, power circuit and flash lamp, the flash lamp includes visible light flash lamp and infrared flash lamp, Wherein, the circuit board is placed in the space interior that the shell surrounds, and the processor and the memory are arranged described On circuit board;The power circuit, for each circuit or the device power supply for the electronic equipment;The memory is for depositing Store up executable program code;The processor is run by reading the executable program code stored in the memory and institute The corresponding program of executable program code is stated, for executing: when receiving imaging instruction, controlling the infrared flash lamp Preflashing;The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;The visible light flash lamp is controlled to close It closes.
The electronic equipment that the application third aspect embodiment proposes, by the way that flash lamp to be configured to include visible light flash lamp And infrared flash lamp controls infrared flash lamp preflashing, and control visible light flash lamp master when receiving imaging instruction It dodges, starts shutter imaging during main sudden strain of a muscle, and control visible light flash lamp is closed, since infrared flash lamp is in flash of light Using infrared light sources, the influence to user's eye, effective guarantee imaging effect can be effectively avoided.
In order to achieve the above objectives, the application fourth aspect embodiment proposes a kind of non-transitory computer-readable storage medium Matter, when the instruction in the storage medium is executed by the processor of electronic equipment, so that electronic equipment is able to carry out a kind of sudden strain of a muscle Light lamp control method is applied in imaging process, and the flash lamp includes visible light flash lamp and infrared flash lamp, the side Method includes: to control the infrared flash lamp preflashing when receiving imaging instruction;The main sudden strain of a muscle of visible light flash lamp is controlled, Start shutter imaging during main sudden strain of a muscle;The visible light flash lamp is controlled to close.
The non-transitorycomputer readable storage medium that the application fourth aspect embodiment proposes, by configuring flash lamp Being includes visible light flash lamp and infrared flash lamp, when receiving imaging instruction, controls infrared flash lamp preflashing, and control The main sudden strain of a muscle of visible light flash lamp processed starts shutter imaging during main sudden strain of a muscle, and control visible light flash lamp is closed, due to infrared Line flash lamp, using infrared light sources, can effectively avoid the influence to user's eye, effective guarantee imaging in flash of light Effect.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the flash lamp control method that one embodiment of the application proposes;
Fig. 2 is the flow diagram for the flash lamp control method that another embodiment of the application proposes;
Fig. 3 is the structural schematic diagram for the device for controlling flashlight that one embodiment of the application proposes;
Fig. 4 is the structural schematic diagram for the device for controlling flashlight that another embodiment of the application proposes;
Fig. 5 is the structural schematic diagram for the electronic equipment that the application one embodiment proposes.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.On the contrary, this The embodiment of application includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the flow diagram for the flash lamp control method that one embodiment of the application proposes.
The present embodiment is configured as in device for controlling flashlight illustrating with flash lamp control method.
Flash lamp control method can be configured in device for controlling flashlight in the present embodiment, and device for controlling flashlight can To be arranged in the server, or also can be set in the electronic device, the embodiment of the present application to this with no restriction.
The present embodiment is by taking flash lamp control method is configured in the electronic device as an example.
It should be noted that the executing subject of the embodiment of the present application, can be, for example, server or electronics on hardware Central processing unit (Central Processing Unit, CPU) in equipment, on software can be, for example, server or Relevant background service in electronic equipment, with no restriction to this.
The embodiment of the present application is applied to using in electronic equipment imaging process.
The flash lamp of electronic equipment in the embodiment of the present application includes visible light flash lamp and infrared flash lamp, wherein Visible light flash lamp is the flash lamp of common lamp, and light source used by infrared flash lamp is infrared light sources.
Referring to Fig. 1, this method comprises:
S101: when receiving imaging instruction, infrared flash lamp preflashing is controlled.
Wherein, imaging instruction is by user's triggering of taking pictures, for object to be photographed to be imaged.
In the embodiment of the present application, when receiving imaging instruction, infrared flash lamp preflashing is controlled, due to infrared flash Lamp is infrared light sources, can not generate stimulation to the eye of photograph subject.
In the embodiment of the present application, referring to fig. 2, when receiving imaging instruction, infrared flash lamp preflashing is controlled, can wrap It includes:
S201: when receiving imaging instruction, the preset value of environmental light brightness is obtained, and obtains the intrinsic brilliance of environment light Value.
Wherein, in the preset value for obtaining environmental light brightness, actual Lighting information when can be according to imaging, from infrared ray Preset value is read in the preset table of flash lamp, includes multiple Lighting informations and the corresponding preset value of each Lighting information in preset table.
Lighting information therein can be, for example, brightness values.
It is understood that since different weather condition (for example, greasy weather, rainy day, snowy day and cloudy) can be corresponding with not Same illumination condition, used parameter is not general also identical when being imaged under different illumination conditions.
Therefore, in the embodiment of the present application, the corresponding illumination condition of each weather condition can be divided, and to actual Weather condition carries out the Lighting information under the determining each illumination condition of modeling, and divides a large amount of actual imaging empirical data Analysis configures optimal preset value for each Lighting information, and generates preset table according to each Lighting information and its corresponding preset value, To support the subsequent preset table that can be directly based upon to read preset value corresponding with Lighting information actual when being imaged, execution efficiency Height, and met actual Lighting information, guarantee imaging effect.
Alternatively, in the embodiment of the present application actual Lighting information when imaging can also be directly based upon, in conjunction with infrared flash Empirical data is imaged in the functional parameter and history of lamp, the preset value of an environmental light brightness is assigned for it, with no restriction to this.
In the embodiment of the present application, alsos for accurately carrying out preflashing control to infrared flash lamp, environment can also be obtained The intrinsic brilliance value of light, the brightness value of the environment light of environment where electronic equipment when which is imaging.
In the embodiment of the present application, preset infrared camera can be used, imaging parameters are acquired;According to imaging parameters, Determine the intrinsic brilliance value of environment light.
Optionally, imaging parameters include: automatic exposure control parameter and automatic gaining controling parameter, alternatively, imaging parameters It can also include automatic white balance parameter.
Wherein, infrared camera can be separately positioned in the electronic device with main camera, alternatively, infrared pick-up Head can also be with main camera integrated setting in the electronic device.
It, can be by infrared camera if infrared camera and main camera are separately positioned in the embodiment of the present application CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductor) sensitive chip, sense The parameters such as auto-exposure control, the automatic growth control under current environment are surveyed, then, environment when being imaged by these parameter extractions The total luminance value of light, as intrinsic brilliance value.
In the embodiment of the present application, if infrared camera can also with main camera integrated setting in the electronic device, The CMOS sensitive chip in main camera then can be directly used, sense auto-exposure control, automatic gain under current environment The parameters such as control, automatic white balance parameter determine the total luminance value of environment light, as intrinsic brilliance value.
It can be seen that the embodiment of the present application uses preset infrared camera, imaging parameters are acquired;Joined according to imaging Number, determines the realization process of the intrinsic brilliance value of environment light, is not intended to be limited to the framework of the actual camera of electronic equipment Setting, therefore, flash of light control when being imaged using infrared flash lamp can't carry out the overall structure of electronic equipment Excessive transformation can promote imaging effect in the case where not influencing electronic equipment hardware cost.
S202: intrinsic brilliance value and preset value are compared.
S203: according to comparison as a result, determining the object time.
Object time therein is the time of infrared flash lamp preflashing.
S204: according to the object time, infrared flash lamp preflashing is controlled.
In the embodiment of the present application, due to combine intrinsic brilliance value and preset value comparison result to infrared flash lamp The preflashing time adjusted so that the flash of light based on infrared ray can also meet actual image scene demand, from multi-angle Ensure flash of light control effect.
S102: the control main sudden strain of a muscle of visible light flash lamp starts shutter imaging during main sudden strain of a muscle.
In the embodiment of the present application, can be combined with comparing in above-mentioned S203 drives electrical parameter as a result, determining;According to driving Electrical parameter controls the main sudden strain of a muscle of visible light flash lamp.
Driving electrical parameter therein can be driving current or driving voltage, with no restriction to this.
In the embodiment of the present application, CMOS sensitive chip can be sensed by the central controller built in electronic equipment Intrinsic brilliance value, is compared with preset value, and exports what the corresponding main sudden strain of a muscle of visible light flash lamp should be arranged according to the result of comparison Parameter.
For example, central controller reduces the flashing of visible light flash lamp if the intrinsic brilliance value sensed is higher than preset value Time reduces driving current;If the intrinsic brilliance value sensed is lower than preset value, central controller increases visible color break-up The time of light lamp flashing increases driving current.
S103: control visible light flash lamp is closed.
In the embodiment of the present application, infrared flash lamp is introduced, can will be dodged while guaranteeing flash lamp function and performance In light lamp imaging process, the image processing logic of preflashing and main sudden strain of a muscle to glisten twice, be set as infrared ray preflashing and main sudden strain of a muscle at It as processing logic, realizes that subject only experiences primary flash of light with this, reduces secondary flash of light to the eye of subject The influence in portion ensures imaging effect, improves the user experience of flash lamp imaging process.
In the present embodiment, by the way that flash lamp to be configured to include visible light flash lamp and infrared flash lamp, receiving When imaging instruction, control infrared flash lamp preflashing, and control the main sudden strain of a muscle of visible light flash lamp, start during main sudden strain of a muscle shutter at Picture, and control visible light flash lamp close, due to infrared flash lamp flash of light when using infrared light sources, Neng Gouyou Effect avoids the influence to user's eye, effective guarantee imaging effect.
Fig. 3 is the structural schematic diagram for the device for controlling flashlight that one embodiment of the application proposes.
Applied in imaging process, flash lamp includes visible light flash lamp and infrared flash lamp.
Referring to Fig. 3, which includes:
Preflashing control module 301, for controlling infrared flash lamp preflashing when receiving imaging instruction.
Main sudden strain of a muscle control module 302 starts shutter imaging for controlling the main sudden strain of a muscle of visible light flash lamp during main sudden strain of a muscle, with And control visible light flash lamp is closed.
Optionally, in some embodiments, referring to fig. 4, preflashing control module 301, comprising:
Acquisition submodule 3011 for when receiving imaging instruction, obtaining the preset value of environmental light brightness, and obtains ring The intrinsic brilliance value of border light;
Submodule 3012 is compared, for intrinsic brilliance value and preset value to be compared;
Determine submodule 3013, for according to comparison as a result, determine the object time;
Control submodule 3014, for controlling infrared flash lamp preflashing according to the object time.
Optionally, in some embodiments, main sudden strain of a muscle control module 302 is specifically used for:
According to comparison as a result, determining driving electrical parameter;
According to driving electrical parameter, the main sudden strain of a muscle of visible light flash lamp is controlled.
Optionally, in some embodiments, acquisition submodule 3011 is specifically used for:
According to actual Lighting information when imaging, preset value is read from the preset table of infrared flash lamp, in preset table Include multiple Lighting informations and the corresponding preset value of each Lighting information.
Optionally, in some embodiments, acquisition submodule 3011 is specifically used for:
Using preset infrared camera, imaging parameters are acquired;
According to imaging parameters, the intrinsic brilliance value of environment light is determined.
Optionally, in some embodiments, imaging parameters include: automatic exposure control parameter and automatic gaining controling parameter.
It should be noted that also being fitted in earlier figures 1- Fig. 2 embodiment to the explanation of flash lamp control method embodiment For the device for controlling flashlight 300 of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by the way that flash lamp to be configured to include visible light flash lamp and infrared flash lamp, receiving When imaging instruction, control infrared flash lamp preflashing, and control the main sudden strain of a muscle of visible light flash lamp, start during main sudden strain of a muscle shutter at Picture, and control visible light flash lamp close, due to infrared flash lamp flash of light when using infrared light sources, Neng Gouyou Effect avoids the influence to user's eye, effective guarantee imaging effect.
Fig. 5 is the structural schematic diagram for the electronic equipment that the application one embodiment proposes.
Referring to Fig. 5, the electronic equipment 50 of the present embodiment includes: shell 501, processor 502, memory 503, circuit board 504, power circuit 505, flash lamp 506, flash lamp 506 include visible light flash lamp 5061 and infrared flash lamp 5062, electricity Road plate 504 is placed in the space interior that shell 501 surrounds, and processor 502, memory 503 are arranged on circuit board 504;Power supply Circuit 505, for powering for each circuit of electronic equipment 50 or device;Memory 503 is for storing executable program code;Its In, processor 502 is corresponding with executable program code to run by reading the executable program code stored in memory 503 Program, with for executing:
When receiving imaging instruction, infrared flash lamp preflashing is controlled;
The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;
Visible light flash lamp is controlled to close.
It should be noted that also being fitted in earlier figures 1- Fig. 2 embodiment to the explanation of flash lamp control method embodiment For the electronic equipment 50 of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by the way that flash lamp to be configured to include visible light flash lamp and infrared flash lamp, receiving When imaging instruction, control infrared flash lamp preflashing, and control the main sudden strain of a muscle of visible light flash lamp, start during main sudden strain of a muscle shutter at Picture, and control visible light flash lamp close, due to infrared flash lamp flash of light when using infrared light sources, Neng Gouyou Effect avoids the influence to user's eye, effective guarantee imaging effect.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, works as storage When instruction in medium is executed by the processor of electronic equipment, so that electronic equipment is able to carry out a kind of flash lamp control method, Applied in imaging process, flash lamp includes visible light flash lamp and infrared flash lamp, and method includes:
When receiving imaging instruction, infrared flash lamp preflashing is controlled;
The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;
Visible light flash lamp is controlled to close.
Non-transitorycomputer readable storage medium in the present embodiment, by the way that flash lamp to be configured to include visible color break-up Light lamp and infrared flash lamp control infrared flash lamp preflashing, and control visible light flash lamp when receiving imaging instruction Main sudden strain of a muscle starts shutter imaging during main sudden strain of a muscle, and control visible light flash lamp is closed, since infrared flash lamp is glistening When using infrared light sources, can effectively avoid the influence to user's eye, effective guarantee imaging effect.
In order to realize above-described embodiment, the application also proposes a kind of computer program product, when in computer program product Instruction when being executed by processor, execute a kind of flash lamp control method, be applied in imaging process, flash lamp includes visible light Flash lamp and infrared flash lamp, method include:
When receiving imaging instruction, infrared flash lamp preflashing is controlled;
The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;
Visible light flash lamp is controlled to close.
Computer program product in the present embodiment, by the way that flash lamp to be configured to include visible light flash lamp and infrared ray Flash lamp controls infrared flash lamp preflashing, and control the main sudden strain of a muscle of visible light flash lamp, in main sudden strain of a muscle when receiving imaging instruction In the process starting shutter imaging, and control visible light flash lamp close, due to infrared flash lamp flash of light when using Infrared light sources can effectively avoid the influence to user's eye, effective guarantee imaging effect.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (14)

1. a kind of flash lamp control method, which is characterized in that be applied in imaging process, the flash lamp includes visible light flash of light Lamp and infrared flash lamp, the described method comprises the following steps:
When receiving imaging instruction, the infrared flash lamp preflashing is controlled;
The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;
The visible light flash lamp is controlled to close.
2. flash lamp control method as described in claim 1, which is characterized in that described when receiving imaging instruction, control The infrared flash lamp preflashing, comprising:
When receiving imaging instruction, the preset value of environmental light brightness is obtained, and obtains the intrinsic brilliance value of environment light;
The intrinsic brilliance value and the preset value are compared;
According to comparison as a result, determining the object time;
According to the object time, the infrared flash lamp preflashing is controlled.
3. flash lamp control method as claimed in claim 2, which is characterized in that the control visible light flash lamp master It dodges, comprising:
According to comparison as a result, determining driving electrical parameter;
According to the driving electrical parameter, the main sudden strain of a muscle of visible light flash lamp is controlled.
4. flash lamp control method as claimed in claim 2, which is characterized in that the preset value for obtaining environmental light brightness, Include:
Actual Lighting information, reads the preset value from the preset table of the infrared flash lamp when according to imaging, described It include multiple Lighting informations and the corresponding preset value of each Lighting information in preset table.
5. flash lamp control method as claimed in claim 2, which is characterized in that the intrinsic brilliance value for obtaining environment light, Include:
Using preset infrared camera, imaging parameters are acquired;
According to the imaging parameters, the intrinsic brilliance value of the environment light is determined.
6. flash lamp control method as claimed in claim 2, which is characterized in that the imaging parameters include: automatic exposure control Parameter processed and automatic gaining controling parameter.
7. a kind of device for controlling flashlight, which is characterized in that be applied in imaging process, the flash lamp includes visible light flash of light Lamp and infrared flash lamp, described device include:
Preflashing control module, for when receiving imaging instruction, controlling the infrared flash lamp preflashing;
Main sudden strain of a muscle control module starts shutter imaging, and control for controlling the main sudden strain of a muscle of visible light flash lamp during main sudden strain of a muscle The visible light flash lamp is made to close.
8. device for controlling flashlight as claimed in claim 7, which is characterized in that the preflashing control module, comprising:
Acquisition submodule for when receiving imaging instruction, obtaining the preset value of environmental light brightness, and obtains the reality of environment light Border brightness value;
Submodule is compared, for the intrinsic brilliance value and the preset value to be compared;
Determine submodule, for according to comparison as a result, determine the object time;
Control submodule, for controlling the infrared flash lamp preflashing according to the object time.
9. device for controlling flashlight as claimed in claim 8, which is characterized in that the main sudden strain of a muscle control module is specifically used for:
According to comparison as a result, determining driving electrical parameter;
According to the driving electrical parameter, the main sudden strain of a muscle of visible light flash lamp is controlled.
10. device for controlling flashlight as claimed in claim 8, which is characterized in that the acquisition submodule is specifically used for:
Actual Lighting information, reads the preset value from the preset table of the infrared flash lamp when according to imaging, described It include multiple Lighting informations and the corresponding preset value of each Lighting information in preset table.
11. device for controlling flashlight as claimed in claim 8, which is characterized in that the acquisition submodule is specifically used for:
Using preset infrared camera, imaging parameters are acquired;
According to the imaging parameters, the intrinsic brilliance value of the environment light is determined.
12. device for controlling flashlight as claimed in claim 8, which is characterized in that the imaging parameters include: automatic exposure control Parameter processed and automatic gaining controling parameter.
13. a kind of electronic equipment, including shell, processor, memory, circuit board, power circuit and flash lamp, the flash lamp Including visible light flash lamp and infrared flash lamp, wherein the circuit board is placed in the space interior that the shell surrounds, institute It states processor and the memory is arranged on the circuit board;The power circuit, for for each of the electronic equipment Circuit or device power supply;The memory is for storing executable program code;The processor is by reading the memory The executable program code of middle storage runs program corresponding with the executable program code, for executing:
When receiving imaging instruction, the infrared flash lamp preflashing is controlled;
The main sudden strain of a muscle of visible light flash lamp is controlled, starts shutter imaging during main sudden strain of a muscle;
The visible light flash lamp is controlled to close.
14. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program Such as flash lamp control method of any of claims 1-6 is realized when being executed by processor.
CN201910376511.6A 2019-05-07 2019-05-07 Flash lamp control method and device, electronic equipment and storage medium Active CN110187591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910376511.6A CN110187591B (en) 2019-05-07 2019-05-07 Flash lamp control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910376511.6A CN110187591B (en) 2019-05-07 2019-05-07 Flash lamp control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110187591A true CN110187591A (en) 2019-08-30
CN110187591B CN110187591B (en) 2021-09-17

Family

ID=67715855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910376511.6A Active CN110187591B (en) 2019-05-07 2019-05-07 Flash lamp control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110187591B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509130A (en) * 2002-12-14 2004-06-30 ����Techwin��ʽ���� Method for controlling flash-lamp apparatus, wherein one preflashing is executed
CN1811577A (en) * 2005-12-19 2006-08-02 佛山普立华科技有限公司 Method for regulating brightness of flash lamp
TW200820797A (en) * 2006-10-23 2008-05-01 Benq Corp Photographing methods and systems, and machine readable medium thereof
CN101790262A (en) * 2009-01-23 2010-07-28 华晶科技股份有限公司 Method for adjusting intensity of flash lamp
CN102868861A (en) * 2011-07-07 2013-01-09 华晶科技股份有限公司 Method for acquiring images
CN103402291A (en) * 2013-08-05 2013-11-20 曾金辉 External flash light, photo taking system and working method of external flash light
CN203799160U (en) * 2014-04-29 2014-08-27 常州市康辉摄影器材有限公司 Infrared flash lamp and hunting shooting machine assembled therewith
CN104243843A (en) * 2014-09-30 2014-12-24 北京智谷睿拓技术服务有限公司 Photographing illumination compensating method and device and user equipment
CN105163038A (en) * 2015-09-02 2015-12-16 移康智能科技(上海)有限公司 Linked light-supplementing method and device thereof
CN105721762A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Flash lamp control method and device
CN105867047A (en) * 2016-05-18 2016-08-17 深圳天珑无线科技有限公司 Flashlight adjusting method and shooting device
CN106303270A (en) * 2015-06-25 2017-01-04 佳能株式会社 Camera system, luminaire and focus detecting method
CN107026985A (en) * 2017-05-12 2017-08-08 北京小米移动软件有限公司 flash lamp control method, device, electronic equipment and storage medium
CN107302654A (en) * 2016-04-15 2017-10-27 中兴通讯股份有限公司 A kind of image pickup method and device
CN107483811A (en) * 2017-07-28 2017-12-15 广东欧珀移动通信有限公司 Imaging method and electronic installation
CN108737728A (en) * 2018-05-03 2018-11-02 Oppo广东移动通信有限公司 A kind of image capturing method, terminal and computer storage media
CN109639991A (en) * 2018-12-26 2019-04-16 上海与德通讯技术有限公司 A kind of photographic method, device, terminal and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509130A (en) * 2002-12-14 2004-06-30 ����Techwin��ʽ���� Method for controlling flash-lamp apparatus, wherein one preflashing is executed
CN1811577A (en) * 2005-12-19 2006-08-02 佛山普立华科技有限公司 Method for regulating brightness of flash lamp
TW200820797A (en) * 2006-10-23 2008-05-01 Benq Corp Photographing methods and systems, and machine readable medium thereof
CN101790262A (en) * 2009-01-23 2010-07-28 华晶科技股份有限公司 Method for adjusting intensity of flash lamp
CN102868861A (en) * 2011-07-07 2013-01-09 华晶科技股份有限公司 Method for acquiring images
CN103402291A (en) * 2013-08-05 2013-11-20 曾金辉 External flash light, photo taking system and working method of external flash light
CN203799160U (en) * 2014-04-29 2014-08-27 常州市康辉摄影器材有限公司 Infrared flash lamp and hunting shooting machine assembled therewith
CN104243843A (en) * 2014-09-30 2014-12-24 北京智谷睿拓技术服务有限公司 Photographing illumination compensating method and device and user equipment
CN105721762A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Flash lamp control method and device
CN106303270A (en) * 2015-06-25 2017-01-04 佳能株式会社 Camera system, luminaire and focus detecting method
CN105163038A (en) * 2015-09-02 2015-12-16 移康智能科技(上海)有限公司 Linked light-supplementing method and device thereof
CN107302654A (en) * 2016-04-15 2017-10-27 中兴通讯股份有限公司 A kind of image pickup method and device
CN105867047A (en) * 2016-05-18 2016-08-17 深圳天珑无线科技有限公司 Flashlight adjusting method and shooting device
CN107026985A (en) * 2017-05-12 2017-08-08 北京小米移动软件有限公司 flash lamp control method, device, electronic equipment and storage medium
CN107483811A (en) * 2017-07-28 2017-12-15 广东欧珀移动通信有限公司 Imaging method and electronic installation
CN108737728A (en) * 2018-05-03 2018-11-02 Oppo广东移动通信有限公司 A kind of image capturing method, terminal and computer storage media
CN109639991A (en) * 2018-12-26 2019-04-16 上海与德通讯技术有限公司 A kind of photographic method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110187591B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN107566747B (en) Image brightness enhancement method and device
CN105632414B (en) Method for controlling backlight thereof, device and equipment in a kind of terminal device start process
JP4115467B2 (en) Imaging device
CN104754203B (en) Image pickup method, device and terminal
CN113810602B (en) Shooting method and electronic equipment
CN2927109Y (en) Digital camera with flash controller
CN108111717A (en) It is configured to the display equipment of light source
US20130039583A1 (en) Image processing apparatus and image processing method, and computer program for causing computer to execute control method of image processing apparatus
CN106163059B (en) A kind of automatic light modulating method and electronic equipment
WO2012093519A1 (en) Imaging device and light emission amount control method
US20170374335A1 (en) Electronic device and color temperature adjusting method
CN110996477B (en) Air conditioner lamp control method, computer device and computer readable storage medium
US20100165143A1 (en) Method and apparatus for controlling a camera module to compensate for the color spectrum of a white led
EP1531356A1 (en) Exposure compensation method and system employing photometric matrix and flash
CN104601893A (en) Current setting device of LED (Light Emitting Diode) flashlight, method and flash photographing device
US20070264000A1 (en) Image Extraction Apparatus and Flash Control Method for Same
JP2015026931A (en) Imaging apparatus, imaging method, and imaging program
CN105635532A (en) Imaging method, image sensor, imaging device and electronic device
CN113747008A (en) Camera and light supplementing method
CN115604572A (en) Image acquisition method and device
CN105915810B (en) Control method of electronic equipment and electronic equipment
CN108765352A (en) Image processing method and electronic equipment
CN105635702A (en) Imaging method, image sensor, imaging device and electronic device
CN109729275A (en) Imaging method, device, terminal and storage medium
CN112383688B (en) Camera shooting light supplement method and device, electronic equipment and intelligent terminal

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