[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110149471A - Control method, imaging device, electronic equipment, computer equipment and storage medium - Google Patents

Control method, imaging device, electronic equipment, computer equipment and storage medium Download PDF

Info

Publication number
CN110149471A
CN110149471A CN201910578417.9A CN201910578417A CN110149471A CN 110149471 A CN110149471 A CN 110149471A CN 201910578417 A CN201910578417 A CN 201910578417A CN 110149471 A CN110149471 A CN 110149471A
Authority
CN
China
Prior art keywords
flash
scene
scene areas
flash lamp
imaging device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910578417.9A
Other languages
Chinese (zh)
Inventor
秦佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910578417.9A priority Critical patent/CN110149471A/en
Publication of CN110149471A publication Critical patent/CN110149471A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

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

Abstract

This application discloses control method, imaging device, electronic equipment, computer equipment and storage mediums.Imaging device includes multiple flash lamps, and each scene areas in photographed scene is by least one corresponding flash lighting.Control method includes: to control at least one pre flashing of flash lamp light and obtain preview image;Preview image is handled to identify human face region;The corresponding face scene areas in locating human face region;Flash lamp corresponding with face scene areas with control glistens in imaging.The application can carry out pre-flash by control flash lamp before imaging device is imaged, human eye is allowed to adapt to the light filling of imaging device in the insufficient situation of ambient light, there is the case where " blood-shot eye illness " when imaging is reduced or avoided, and pass through the human face region in detection preview image, corresponding flash lamp operation is controlled in imaging, to which the face scene areas light filling where face meets the more demands of user so that can protrude portrait effect in shooting image.

Description

Control method, imaging device, electronic equipment, computer equipment and storage medium
Technical field
This application involves image acquisition technologies, more specifically, are related to a kind of control method, imaging device, electronics Equipment, computer equipment and storage medium.
Background technique
In the related technology, mobile phone camera is typically provided with flash lamp and controls flash fire photographed scene in insufficient light Light filling.The effect of light filling is usually that center light filling is most strong, is gradually weakened outward, so for shooting main body not in photographed scene The case where heart, the prominent effect of shooting main body is poor, and light filling effect is poor, is unable to satisfy user demand.
Summary of the invention
The application embodiment provides a kind of control method, imaging device, electronic equipment, computer equipment and storage and is situated between Matter.
The application embodiment provides a kind of imaging device and controls control method, and the imaging device includes multiple flashes of light Lamp, each scene areas in photographed scene is by least one corresponding described flash lighting.The control method includes: control It makes at least one described pre flashing of flash lamp light and obtains preview image;The preview image is handled to identify human face region;Positioning The corresponding face scene areas of the human face region;It is being imaged with the flash lamp corresponding with the face scene areas is controlled When glisten.
The imaging device of the application embodiment, including control module and multiple flash lamps, each field in photographed scene Scene area is by least one corresponding described flash lighting.The imaging device includes: preflashing optical module, processing module, determines Position module and control module, the preflashing optical module is for controlling at least one described pre flashing of flash lamp light and obtaining preview graph Picture;The processing module is for handling preview image to identify human face region;The locating module is for positioning the face area The corresponding face scene areas in domain;With the control module for controlling the flash lamp corresponding with the face scene areas It glistens in imaging.
The electronic equipment of the application embodiment includes imaging device and processor, and the imaging device includes multiple flashes of light Lamp, each scene areas in photographed scene is by least one corresponding described flash lighting.The processor is for controlling At least one described pre flashing of flash lamp light simultaneously obtains preview image;And for handling the preview image to identify human face region; And for positioning the corresponding face scene areas of the human face region;And it is corresponding with the face scene areas for controlling The flash lamp glistens in imaging.
The computer equipment of the application embodiment includes memory and processor, and the memory is stored with computer journey Sequence realizes the control method for implementing embodiment when the computer program is executed by processor.
The storage medium of the application embodiment is stored with computer program, when the computer program is executed by processor Realize the control method of above embodiment.
In the control method of present embodiment, imaging device, electronic equipment, computer equipment and storage medium, Ke Yi Control flash lamp carries out pre-flash before imaging, and human eye is allowed to adapt to the benefit of imaging device in the insufficient situation of ambient light There is the case where " blood-shot eye illness " in light when imaging is reduced or avoided, and by the human face region in detection preview image, in imaging time control Corresponding flash lamp operation is made, thus the face scene areas light filling where face, so that people can be protruded in shooting image As effect, meet the more demands of user.
The additional aspect and advantage of presently filed embodiment will be set forth in part in the description, partially will be from following Description in become obvious, or recognized by the practice of presently filed embodiment.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, in which:
Fig. 1 is the flow diagram of the control method of the application embodiment.
Fig. 2 is the module diagram of the imaging device of the application embodiment.
Fig. 3 is the module diagram of the electronic equipment of the application embodiment.
Fig. 4 is the floor map of the electronic equipment of the application embodiment.
Fig. 5 is the schematic diagram of a scenario of the preview image of the application embodiment.
Fig. 6 is another schematic diagram of a scenario of the preview image of the application embodiment.
Fig. 7 is the another schematic diagram of a scenario of the preview image of the application embodiment.
Fig. 8 is another schematic diagram of a scenario of the preview image of the application embodiment.
Fig. 9 is the another flow diagram of the control method of the application embodiment.
Figure 10 is another flow diagram of the control method of the application embodiment.
Figure 11 is the module diagram of the computer equipment of the application embodiment.
Main element symbol description:
Imaging device 10, flash lamp 11, preflashing optical module 12, processing module 13, locating module 14, control module 15, really Order member 152, obtains module 16, preview image 17, scene areas 172, human face region 174 at control unit 154;
Electronic equipment 100, processor 20, computer equipment 200, memory 30.
Specific embodiment
Presently filed embodiment is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical or class As label indicate same or similar element or element with the same or similar functions from beginning to end.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.
Also referring to Fig. 1 to Fig. 5, the application embodiment provides the control method of a kind of imaging device 10, imaging dress Setting 10 includes multiple flash lamps 11.Each scene areas 172 in photographed scene is by least one corresponding 11 light filling of flash lamp. Control method includes:
Step S1 controls at least one 11 pre-flash of flash lamp and obtains preview image 17;
Step S3 handles preview image 17 to identify human face region 174;
Step S5, the corresponding face scene areas in locating human face region 174;With
Step S7 controls flash lamp 11 corresponding with face scene areas and glistens in imaging.
The application is implemented embodiment further provides a kind of imaging device 10, and imaging device 10 includes multiple flash lamps.It claps Each scene areas 172 in scene is taken the photograph by least one corresponding 11 light filling of flash lamp.10 preflashing optical module 12 of imaging device, Processing module 13, locating module 14 and control module 15.Wherein, step S1 can be realized that step S3 can by preflashing optical module 12 To be realized by processing module 13, step S5 can be realized by locating module 14, and step S7 can be realized by control module 15.Namely It is to say, preflashing optical module 12 can be used for controlling at least one 11 pre-flash of flash lamp and obtain preview image 17.Processing module 13 can be used for handling preview image 17 to identify human face region 174.It is right that locating module 14 can be used for locating human face region 174 The face scene areas answered.Control module 15 can be used for controlling flash lamp 11 corresponding with face scene areas sudden strain of a muscle in imaging Light.
The application implements embodiment further provides a kind of electronic equipment 100 to include imaging device 10 and processor 20.At As device 10 includes multiple flash lamps 11.Each scene areas 172 in photographed scene is by least one corresponding flash lamp 11 Light filling.Step S1, step S2, step S3 and step S7 can be realized by processor 20.In other words, processor 20 can be used for It controls at least one 11 pre-flash of flash lamp and obtains preview image 17;And for handling preview image 17 to identify human face region 174;And it is used for the corresponding face scene areas in locating human face region 174;And it is corresponding with face scene areas for controlling Flash lamp 11 glistens in imaging.
In some embodiments, electronic equipment 100 specifically can be mobile phone, tablet computer and digital camera etc. and set It is standby.In the example in the figures, electronic equipment 100 is mobile phone.The rear camera setting that imaging device 10 can be used as mobile phone exists Expose in mobile phone and from rear cover to obtain scene image.Specifically, the rear cover in mobile phone can be set in flash lamp 11.
When generally shooting in the environment of dark, when flash lamp 11 is irradiated to human eye, pupil, which can amplify, to be allowed more More light pass through, therefore the blood vessel of retina will generate general red phenomenon in imaging, the application embodiment can at As preceding control flash lamp 11 progress pre-flash, human eye is allowed to adapt to imaging device 10 in the insufficient situation of ambient light There is the case where " blood-shot eye illness " when imaging is reduced or avoided in light filling.
In addition, the application embodiment is by detecting the human face region 174 in preview image 17, and the control pair in imaging The flash lamp 11 answered works, for face be absent from the scene scape center the case where, can the accurately face scene areas where face Light filling enables without other scene areas light fillings outside to face scene areas and protrudes portrait effect when imaging, meets and uses The more demands in family.
The imaging device 10 of present embodiment can be equipped with preset mode, and under preset mode, imaging device 10 is controlled extremely Few 11 pre-flash of flash lamp and in imaging according to face scene areas select the flash lamp 11 of corresponding position and quantity for 172 light filling of part scene areas of photographed scene.
It is appreciated that user can choose whether to enter preset mode according to actual needs, if not entering preset mode, at As device 10 can be imaged in the normal mode.In the normal mode, imaging device 10 can each scene areas 172 open pair At least one flash lamp 11 for answering and be entire photographed scene light filling.Preferably, under normal mode, imaging device 10 can be opened All flash lamps 11 are entire photographed scene light filling.
Imaging device 10 can according to user input enter preset mode, user input can be key-press input, touch it is defeated Enter, gesture input or voice input etc..Wherein, key-press input can be realized by the combination of a key or multiple keys, tool Body, key can be physical button and/or virtual key, be not specifically limited herein.
It should be noted that can control flash lamp 11 in step S1 with lesser brightness pre-flash.Flash lamp 11 with compared with Small brightness pre-flash can make pupil of human adapt to light in the insufficient situation of ambient light, when imaging is reduced or avoided Flash of light leads to the situation of pupil hyperemia suddenly, realizes the function of " red-eye removal ".
Specifically, imaging device 10 can control the bright of the flash of light of flash lamp 11 by the driving current size of flash lamp 11 Degree, so that flash lamp 11 can be with lesser brightness pre-flash.In one example, the brightness and flash lamp that flash lamp 11 glistens 11 driving current is positively correlated, and smaller pre-flash driving current can be set in imaging device 10, controls 11 pre-flash of flash lamp When, it is glistened with pre-flash driving current driving flash lamp 11, so that flash lamp 11 is with lesser brightness pre-flash.
Certainly, in other embodiments, flash lamp 11 can pass through the driving voltage size or pulse frequency of flash lamp 11 Rate etc. controls the brightness that flash lamp 11 glistens, and is not specifically limited herein.
In the application embodiment, imaging device 10 can obtain preview graph in the case where 11 pre-flash of flash lamp Picture.
It is appreciated that the brightness of preview image 17 is lower, may can not identify people in the insufficient situation of ambient light Face region 174.Therefore, preview image 17 is obtained in pre-flash and advantageously ensures that the imaging effect of preview image 17, convenient at As device 10 identifies human face region 174.
Specifically, in step sl, preflashing optical module 12 can control all flash lamps 11 and meanwhile carry out pre-flash from And it is photographed scene light filling.In this way, realizing the photographed scene entirety light filling of preview image 17, the imaging effect of preview image 17 is improved Fruit.
In some embodiments, in step S1, preflashing optical module 12 can control specific flash lamp 11 and carry out preflashing Light.In this way, pre-flash can be realized using less flash lamp 11.
Specifically, flash lamp 11 may include sheen flash lamp.Controlling the specific progress of flash lamp 11 pre-flash can be Control sheen pre flashing of flash lamp light.
Correspondingly, preflashing optical module 12 can control 11 pre-flash of sheen flash lamp.Wherein, the light of sheen flash lamp compared with To be soft, the light of direct projection can be invested into photographed scene in diffusion shape after stopping, at this point, sheen flash lamp can be whole A photographed scene light filling is guaranteeing 17 imaging effect of preview image, while facilitating identification human face region 174, soft light Human eye can be stimulated to avoid flash lamp 11 during pre-flash, improve user experience.
In some embodiments, each flash lamp 11 of imaging device 10 can be individually controlled.
It is appreciated that photographed scene can be shown as multiple scene areas in preview image 17 when imaging device 10 is imaged Domain 172, each scene areas 172 is by least one corresponding 11 light filling of flash lamp.It needs for one of scene areas 172 When light filling, control module 14 can control at least one flash lamp 11 flash of light corresponding with the scene areas 172.And it needs to be more When a 172 light filling of scene areas, control module 14 can control multiple flash lamps 11 corresponding with multiple scene areas 172 and dodge Light.
In some embodiments, it is the corresponding scene of photographed scene that imaging device 10, which can be a flash lamp 11, 172 light filling of region.Multiple flash lamps 11 of imaging device 10 can be in array distribution.
In this way, flash lamp 11 and scene areas 172 correspond, each flash lamp 11 can be corresponding scene areas 172 realize essentially identical light filling effect.Multiple flash lamps 11 of array distribution can integrally be provided for photographed scene it is continuous and More uniform light filling.
In step S3, processing module 13 can obtain face characteristic by face recognition technology, to identify face area Domain 174.Wherein, face characteristic includes but is not limited to facial contour, eyes, nose and mouth etc..As shown in Fig. 5 to Fig. 8, imaging After device 10 obtains preview image 17, processing module 13 can be used for identifying the human face region where the face in preview image 17 174。
It is appreciated that the preview image 17 in imaging device 10 is corresponding with photographed scene, step S5 can pass through face area Position of the domain 174 in preview image 17 determines face scene areas.Wherein, face scene areas is 174 place of human face region Scene areas 172.
As shown in figure 5, photographed scene includes 4 scene areas 172 in the distribution of sphere of movements for the elephants type, wherein human face region 174 Corresponding face scene areas is bottom right scene areas 172.Imaging device 10 can be correspondingly provided with 4 flash lamps 11, in 2*2's Array distribution, each flash lamp 11 are 172 light filling of a corresponding scene areas.
Certainly, in other embodiments, the flash lamp 11 of imaging device 10 can be not limited to 4, and can be according to reality Border needs to select 2,3 or 4 or more other quantities.The distribution of flash lamp 11 is not limited to the array distribution in 2*2, and can To be converted according to actual needs, e.g. in 2*3 array distribution, 3*3 array distribution etc., it is not specifically limited herein.
Human face region 174 can be located at a scene areas 172 of photographed scene in the example shown in FIG. 5, at this point, The scene areas 172 can be used as face scene areas, and in step S7, imaging device 10 is controllable corresponding with face scene areas A light compensating lamp imaging when glisten, thus be face scene areas light filling, allow imaging device 10 be imaged when keep Background darkens, and prominent portrait main body obtains preferable imaging effect.
Certainly, in other examples, human face region 174 is not limited to a scene areas 172 positioned at photographed scene, and can To be multiple scene areas 172 positioned at photographed scene.As shown in fig. 6, human face region 174 is located at two on the right side of preview image Scene areas 172.At this point, multiple scene areas 172 where human face region 174 can be used as face scene areas.
Specifically, in step s 5, imaging device 10 can be located at the area of scene areas 172 according to human face region 174 The scene areas 172 where human face region 174 is determined with the ratio of 174 gross area of human face region.
It is appreciated that human face region 174 is located at the ratio of 174 gross area of area and human face region of some scene areas 172 When value reaches given threshold, the part that human face region 174 is located at the scene areas 172 is more, it is believed that human face region 174 In the scene areas 172,.
In one example, given threshold can be 10%, in other words, 10% or 10% or more in human face region 174 Area when being located at some scene areas 172, determine that human face region 174 is located at the scene areas 172.For example, human face region 174 In 95% area be located at a scene areas 172, and 5% area is located at other scene areas 172, then human face region 174 Positioned at a scene areas 172.In another example 50% area is located at a scene areas 172 in human face region 174, and 50% Area be located at another scene areas 172, then human face region 174 is located at two scene areas 172.
Certainly, in other embodiments, imaging device 10 can also be located at scene areas 174 according to human face region 172 Size determine the scene areas 172 where human face region 174.
It is appreciated that control changes scene area when the area that human face region 174 is located at scene areas 172 is less than area threshold The flash of light of the corresponding flash lamp 11 in domain 172 cannot achieve the face in the prominent scene areas 172, at this time, it is believed that human face region 174 are not located at the scene areas 172.Wherein, area threshold can be configured according to the flexible in size of scene areas 172, This is not specifically limited.
In some embodiments, step S7 includes: that control and multiple scene areas 172 where human face region 174 are right The multiple flash lamps 11 answered flash of light in imaging.
Correspondingly, in some embodiments, control module 15 can be used for controlling multiple where with human face region 174 The corresponding multiple flash lamps 11 of scene areas 172 glisten in imaging.
In some embodiments, processor 20 can be used for controlling multiple scene areas where with human face region 174 172 corresponding multiple flash lamps 11 glisten in imaging.
Further, multiple flash lamps 11 corresponding with multiple scene areas 172 where human face region 174 are in imaging The brightness of flash of light can be identical or not identical.In one example, step S7 includes: according to 174 gross area of human face region and people Face region 174 is located at the area accounting in each scene areas 172 and determines flash lamp corresponding with each scene areas 172 respectively The brightness of 11 flashes of light.
Specifically, flash lamp 11 can control the bright of the flash of light of flash lamp 11 by the driving current size of flash lamp 11 Degree, for example, can determine that different driving current value is corresponding with 12 flash luminance of light compensating lamp by means such as experiment or theoretical calculations Relationship, then store human face region 174 in imaging device 10 in advance and be located at the different faces region 174 in scene areas 172 always The corresponding relationship list of area and area accounting and different driving current value.When acquisition 174 gross area of human face region and face area Domain 174 is located at after the area accounting in a scene areas 172, obtains and the face by searching for corresponding corresponding relationship list The corresponding driving current value of product accounting drives flash lamp 11 corresponding with the scene areas 172 to shine, makes with the driving current value The face of the scene areas 172 obtains suitable light filling, realizes preferable light filling effect.
Please refer to Fig. 7 and Fig. 8, it is to be understood that preview image 16 includes multiple human face regions 174.Multiple face areas Domain 174 can be located at one or more scene areas 172 of photographed scene, and similarly, step S7 includes: according to multiple face areas Scene areas 172 where domain 174 controls corresponding one or more flash lamps 11 flash of light in imaging.
Correspondingly, control module 15 can be used for controlling the scene areas 172 corresponding one where multiple human face regions 174 A or multiple flash lamps 11 glisten in imaging.
In some embodiments, processor 20 can be used for controlling the scene areas where with multiple human face regions 174 172 corresponding one or more flash lamps 11 glisten in imaging.
In one example, multiple human face regions 174 can be located at a scene areas 172 of photographed scene.Such as Fig. 7 institute Show, two human face regions 174 are located at the bottom right scene areas of preview image.At this point, the control of control module 15 and multiple face areas The corresponding flash lamp 11 of scene areas 172 flash of light where domain 174.
In another example, multiple human face regions 174 can be located at multiple scene areas 172 of photographed scene. As shown in figure 8, two human face regions 172 are located at two scene areas 172.At this point, control module 15 controls and everyone The corresponding multiple flash lamps 11 of scene areas 172 where face region 174 glisten.Wherein, with each 174 institute of human face region The brightness glistened of the corresponding multiple flash lamps 11 of scene areas 172 can be identical or not identical.
For example, step S7 may include: the area accounting point being located in corresponding scene areas 172 according to human face region 174 It Que Ding not the brightness glistened of corresponding with each scene areas 172 flash lamp 11.
Correspondingly, the area that control module 15 can be used for being located at according to human face region 174 in corresponding scene areas 172 accounts for The brightness glistened than determining flash lamp 11 corresponding with each scene areas 172 respectively.
In some embodiments, processor 20 can be used for being located at according to human face region 174 in corresponding scene areas 172 Area accounting determine the brightness of corresponding with each scene areas 172 flash lamp 11 flash of light respectively.
Certainly, in other embodiments, processing module 13 is not limited to use in identification facial image, can also be for knowing Other objects such as others' body, animal, building, imaging device 10 can be controlled according to the scene areas 172 where object and be corresponded to Flash lamp 11 imaging when glisten.
It should be noted that imaging device 10 is not limited to obtain preview image 17 in the case where pre-flash, in other realities It applies in mode, imaging device 10 can first obtain preview image 17 and identify human face region and locating human face's scene areas, then 11 pre-flash of flash lamp is controlled before imaging and control flash lamp 11 corresponding with face scene areas glistens in imaging, together Sample can allow human eye to adapt to the light filling of imaging device 10 before imaging in the insufficient situation of ambient light, realize " red The function of eye elimination ".Particularly, in one example, after completing locating human face's scene areas, preflashing optical module 12 be can control 11 pre-flash of flash lamp corresponding with face scene areas.
In some embodiments, flash lamp 11 includes infrared flashlight, and control method includes: that control infrared flashlight dodges Light is to obtain infrared preview image 17.
Correspondingly, control module 15 can control the flash of light of infrared flashlight 11 to obtain infrared preview image.
In some embodiments, processor 20 can be used for controlling the flash of light of infrared flashlight 11 to obtain infrared preview graph Picture.
Wherein, infrared flashlight can be entire photographed scene light filling, and imaging device 10 can be according to infrared preview image 17 Identify human face region 174.Particularly, imaging device 10 can obtain infrared preview image, i.e. imaging device 10 before pre-flash Human face region 174 can be identified according to infrared preview image 17 in the insufficient situation of ambient light and determine by not carrying out pre-flash Position face scene areas.
It should be noted that using infrared flare flick of lamp to obtain infrared preview image, infrared preview Image is infrared image, and imaging device 10 can be used for obtaining infrared image and visible images.Generally, infrared image is being obtained In the case where, need imaging device 10 to receive infrared light.However, imaging device 10 is logical in the case where obtaining visible images It is standing to have cutoff filter, reduce interference of the infrared light to visual light imaging.
The infrared image infrared light demand different with when visible images is obtained to take into account, it can be by designing infrared cutoff The transmitance of optical filter, when so that obtaining visible images, the infrared light that imaging device 10 receives is less.Meanwhile it is red obtaining When outer image, increase the light filling power of infrared flashlight during pre-flash, allows imaging device 10 infrared pre- in acquisition Look at image 17 when receive more infrared light, thus realize according to infrared image identify human face region 174.
Certainly, imaging device 10 can also obtain respectively infrared image by the way that different image acquisition units are arranged and can Light-exposed image, or the acquisition of infrared image and visible images is realized by switching cutoff filter.
In some embodiments, imaging device 10 can also be that multiple flash lamps 11 are the corresponding field of photographed scene 172 light filling of scene area.
Wherein, multiple flash lamps 11 corresponding from a scene areas 172 can provide different for the scene areas 172 Light filling effect, to meet the different lighting demands to Same Scene region 172.
In one example, multiple flash lamps 11 can be the flash lamp 11 with different-colour.Each of photographed scene Scene areas 172 can be by 11 light filling of multiple flash lamps with different-colour.The flash lamp 11 of different-colour is, for example, white light Flash lamp, cold light flash lamp and/or warm light flash lamp etc..
It is appreciated that colour temperature is the color that light issues, the i.e. color of light source light spectrum composition.(K) expression of the unit of colour temperature, When the color of light is partially green, blue or bluish violet when, usually cold light (high color temperature).When the color of light is partially red, orange, yellow when, Usually warm light (low color temperature).When the color of light is white, usually normal color temperature.
Further, in some embodiments, it is scene that control method, which includes: according to the control of the color temperature value of photographed scene, The colour temperature of the corresponding flash lamp 11 in region 172 flash of light.
Correspondingly, it is that scene areas 172 is corresponding that control module 15, which can be used for being controlled according to the color temperature value of photographed scene, The colour temperature of flash fire 12.
In some embodiments, it is scene areas that processor 20, which can be used for being controlled according to the color temperature value of photographed scene, The colour temperature of 172 corresponding flash fires 12.
It is appreciated that in some environments (such as indoor), photographed scene will receive the influence of light source color temperature, and then be imaged 10 imaging effect of device and the processing of image white balance.In this way, filming apparatus 10 can select different-colour according to actual needs Flash lamp 11 influence of light source color temperature is reduced to corresponding 172 light filling of scene areas.
Specifically, imaging device 10 can be used for obtaining the colour temperature of photographed scene, and be selected according to the colour temperature of photographed scene Suitable flash lamp 11 is to corresponding 172 light filling of scene areas.In one example, when the colour temperature of photographed scene is lower, imaging It is 172 light filling of scene areas that device 10, which can choose the higher cold light flash lamp of colour temperature,.In another example, photographed scene When colour temperature is higher, it is 172 light filling of scene areas that imaging device 10, which can choose the lower warm light flash lamp of colour temperature,.To which dress be imaged The brightness of face scene areas can be promoted in the insufficient situation of ambient light by setting 10, and can be by using different-colour Flash lamp increase the color saturation of imaging picture, effectively promotion picture quality, meet different user for image not With requirement, user experience is promoted.
Referring to Fig. 9, in some embodiments, step S7 includes:
Step S72 determines the light filling intensity of corresponding face scene areas according to the size of human face region 174;With
Step S74 glistens according to light filling strength control flash lamp 11 in imaging.
Wherein, light filling intensity and the size of human face region 174 are in inverse correlation.
Correspondingly, control module 15 can include determining that unit 152 and control unit 154.Step S72 can be single by determining Member 152 realizes that step S74 can be realized by control unit 154.In other words, determination unit 152 can be used for according to face area The size in domain 174 determines the light filling intensity of corresponding face scene areas.Control unit 154 can be used for according to light filling intensity control Flash lamp 11 processed flash of light in imaging.
In some embodiments, processor 20 can be used for determining corresponding face according to the size of human face region 174 The light filling intensity of scene areas, and for being glistened according to light filling strength control flash lamp 11 in imaging
It is appreciated that in preview image 17 size of human face region 174 can reflect to a certain extent face at As the distance between device 10.When human face region 174 is smaller, face at a distance from imaging device 10 farther out, at this point, face scene The light filling intensity in region can be larger, in this way, brightness of image can be made low to avoid deficiency.When human face region 174 is larger, face With being closer for imaging device 10, at this point, the light filling intensity of face scene areas can be smaller, in this way, can be to avoid flash of light Lamp 11 dazzles and brightness of image is excessively high.
In this way, imaging device 10, which can be realized according to the difference of the distance between imaging device 10 and user, controls flash lamp 11 light filling intensity can be effectively improved the light filling effect of photographed scene in reasonable use scope, improve image quality.
It should be noted that the light filling intensity of face scene areas is related to the corresponding brightness of flash lamp 11.Flash lamp 11 Brightness it is bigger, light filling intensity is higher.
In some embodiments, imaging device 10 can control the bright of flash lamp 11 by the driving current of flash lamp 11 Degree.Wherein, the brightness of flash lamp 11 and the driving current size of flash lamp 11 are positively correlated.
In this way, imaging device 10 can be by being arranged lesser sudden strain of a muscle when light filling intensity needed for face scene areas is smaller 11 driving current of light lamp obtains lesser 11 brightness of flash lamp.When light filling intensity needed for face scene areas is larger, imaging dress Biggish 11 brightness of flash lamp can be obtained by the way that biggish 11 driving current of flash lamp is arranged by setting 10.
In one example, different light filling intensity passes corresponding with different driving current value are first stored in imaging device 10 Series of tables.After determining the light filling intensity of human face region, obtained by searching for corresponding corresponding relationship list strong with the light filling Corresponding driving current value is spent, drives flash lamp 11 corresponding with face scene areas to shine with the driving current value, makes face Face in scene areas obtains suitable light filling, realizes preferable light filling effect.
In other embodiments, control method includes: to obtain environmental light brightness and determine face according to environmental light brightness The light filling intensity in region.
Correspondingly, determination unit 152 can be also used for obtaining environmental light brightness and determine face according to environmental light brightness The light filling intensity of scene areas.
In some embodiments, processor 20 can be used for obtaining environmental light brightness and determine people according to environmental light brightness The light filling intensity in face region.
Specifically, imaging device 10 can be equipped with optical sensor for obtaining environmental light brightness.Environmental light brightness can be according to light The illumination of the photographed scene of sensor detection indicates that the unit of illumination can be lux (lux), in one example, can lead to The means such as experiment or theoretical calculation are crossed to determine the corresponding relationship between different illumination and light filling intensity and store to imaging device 10 It is interior.And then control unit 154 is glistened according to light filling strength control flash lamp 11 in imaging.
In some embodiments, control method includes: to obtain the distance between face and imaging device 10 and according to people The distance between face and imaging device 10 determine the light filling intensity of face scene areas.
Correspondingly, determination unit 152 can be also used for obtaining the distance between face and imaging device 10 and according to face The distance between imaging device 10 determines the light filling intensity of face scene areas.
In some embodiments, processor 20 can be used for obtaining the distance between face and imaging device 10 and basis The distance between face and imaging device 10 determine the light filling intensity of face scene areas.
Specifically, imaging device 10 can be equipped with range sensor be used for obtain between face and imaging device 10 away from From.Wherein, parasang can be rice (m), in one example, can determine different photographs by means such as experiment or theoretical calculations In corresponding relationship and storage to imaging device 10 between degree and light filling intensity.And then control unit 154 is according to light filling intensity control Flash lamp 11 processed flash of light in imaging.
In some embodiments, for the feelings for 172 light filling of scene areas that multiple flash lamps 11 are photographed scene Condition.Step S74 may include: to determine that face scene areas opens the quantity of flash lamp according to light filling intensity.
Correspondingly, control unit 154 can be used for determining that face scene areas opens the number of flash lamp according to light filling intensity Amount.
Wherein, it can be same flash lamp 11 for multiple flash lamps 11 of 172 light filling of photographed scene Same Scene region, Imaging device 10 can be 11 quantity of flash lamp of 172 light filling of Same Scene region to adjust corresponding scene areas by controlling 172 light filling intensity.It is appreciated that 11 quantity of flash lamp for 172 light filling of Same Scene region is more, corresponding scene areas 172 light filling intensity is higher.
Referring to Fig. 10, in some embodiments, control method includes:
Step S10 obtains the acquisition parameters of imaging device 10;With
Step S30 controls the flash of light duration of flash lamp 11 according to acquisition parameters.
Correspondingly, control module 14 includes obtaining module 16, and step S10 can be realized that step S30 can by acquisition module 16 To be realized by control module 15.In other words, obtaining module 16 can be used for obtaining the acquisition parameters of imaging device 10.Control mould Block 15 can be used for controlling the flash of light duration of flash lamp 11 according to acquisition parameters.
Wherein, the acquisition parameters of imaging device 10 include the time for exposure, control module 15 can according to imaging device 10 at As when time for exposure control flash lamp 11 flash of light duration.Preferably, the flash of light duration of flash lamp 11 and imaging device 10 Time for exposure is equal.In this way, the time for exposure of imaging device 10 is synchronous with the flash of light duration of flash lamp 11, guarantee imaging device 10 Light exposure.
Certainly, in other embodiments, acquisition parameters are not limited to the time for exposure, and selection focusing ginseng can be actually needed Number, aperture parameters, other parameters or combination of multiple parameters etc..Acquisition parameters are also not necessarily limited to the flash of light duration of control flash lamp, And can according to need the brightness etc. for controlling flash lamp, it is not specifically limited herein.
Figure 11 is please referred to, the computer equipment 200 of the application embodiment includes processor 20 and memory 30, memory 30 are stored with computer program, and computer program realizes the control method of any of the above-described embodiment when being executed by processor 20.
Computer equipment 200 can control flash lamp 11 before imaging device 10 is imaged and carry out pre-flash, so that human eye can To adapt to the light filling of imaging device 10 in the insufficient situation of ambient light, it is reduced or avoided and occurs the feelings of " blood-shot eye illness " when imaging Condition, and by the human face region 174 in detection preview image 17, and control corresponding flash lamp 11 in imaging and work, thus The face scene areas light filling where face meets the more demands of user so that can protrude portrait effect in shooting image.
The computer-readable recording medium storage of the application embodiment has computer program, and computer program is by processor 20 realize the control method of any of the above-described embodiment when executing.
In one example, it is performed the steps of when computer program is executed by processor 20
Step S1 controls at least one 11 pre-flash of flash lamp and obtains preview image 17;
Step S3 handles preview image 17 to identify human face region 174;
Step S5, the corresponding face scene areas in locating human face region 174;With
Step S7 controls flash lamp 11 corresponding with face scene areas and glistens in imaging.
In the computer readable storage medium of the application embodiment, computer program can be when being executed by processor 20 Imaging device 10 can control flash lamp 11 before imaging and carry out pre-flash, allow human eye in the situation of ambient light deficiency There is the case where " blood-shot eye illness ", and passes through detection preview image 17 in the lower light filling for adapting to imaging device 10 when imaging is reduced or avoided In human face region 174, and control corresponding flash lamp 11 in imaging and work, so that face scene areas is mended where face Light meets the more demands of user so that can protrude portrait effect in shooting image.
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.
In addition, can integrate in a processing module in each functional unit in each embodiment of the application, it can also To be that each unit physically exists alone, can also be integrated in two or more units in a module.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module If in the form of software function module realize and when sold or used as an independent product, also can store one calculating In machine read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
Although presently filed embodiment has been shown and described above, it is to be understood that above embodiment is Illustratively, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be right Above embodiment is changed, modifies, replacement and variant.

Claims (12)

1. the control method of a kind of imaging device, which is characterized in that the imaging device includes multiple flash lamps, in photographed scene Each scene areas by least one corresponding described flash lighting, the control method includes:
It controls at least one described pre flashing of flash lamp light and obtains preview image;
The preview image is handled to identify human face region;
Position the corresponding face scene areas of the human face region;With
The flash lamp corresponding with the face scene areas is controlled to glisten in imaging.
2. control method according to claim 1, which is characterized in that the flash lamp includes infrared flashlight, the control Method processed includes:
The infrared flare flick of lamp is controlled to obtain infrared preview image.
3. control method according to claim 1, which is characterized in that each of described photographed scene scene areas by Multiple flash lightings with different-colour, the control method include:
The colour temperature of the flash fire corresponding with the face scene areas is controlled according to the color temperature value of the photographed scene.
4. control method according to claim 1, which is characterized in that the human face region is located at the more of the photographed scene A scene areas, it is described to control the step of flash lamp corresponding with the face scene areas glistens in imaging packet It includes:
The corresponding multiple flash lamps of the multiple scene areas of the control where with the human face region glisten when being imaged.
5. control method according to claim 1, which is characterized in that the preview image includes multiple face areas The step of domain, corresponding with the face scene areas flash lamp of the control glistens when being imaged includes:
In the case where multiple human face regions are located at a scene areas of the photographed scene, control and multiple institutes The corresponding flash fire of the scene areas where stating human face region;Or
In the case where multiple human face regions are located at multiple scene areas of the photographed scene, control and every The corresponding multiple flash fires of the scene areas where a human face region.
6. control method according to claim 1, which is characterized in that the control is corresponding with the face scene areas The flash lamp imaging when glisten the step of include:
Determine the light filling intensity of the corresponding face scene areas according to the size of the human face region, the light filling intensity with The size of the human face region is in inverse correlation;With
It is glistened according to flash lamp described in the light filling strength control in imaging.
7. control method according to claim 6, which is characterized in that multiple flash lamps are used to be the photographed scene The correspondence one scene areas light filling, the flash lamp according to light filling strength control step for glistening in imaging Suddenly include:
Determine that the face scene areas opens the quantity of the flash lamp according to the light filling intensity.
8. control method according to claim 1, which is characterized in that the control method includes:
Obtain the acquisition parameters of the imaging device;With
The flash of light duration of the flash lamp is controlled according to the acquisition parameters.
9. a kind of imaging device, which is characterized in that including multiple flash lamps, each scene areas in photographed scene is by corresponding At least one described flash lighting, the imaging device further include:
Preflashing optical module, the preflashing light unit is for controlling at least one described pre flashing of flash lamp light and obtaining preview image;
Processing module, the processing unit is for handling the preview image to identify human face region;
Locating module, the positioning unit is for positioning the corresponding face scene areas of the human face region;With
Control module, described control unit are dodged for controlling the flash lamp corresponding with the face scene areas in imaging Light.
10. a kind of electronic equipment, which is characterized in that including
Imaging device, the imaging device include multiple flash lamps, each scene areas in photographed scene by it is corresponding at least One flash lighting;With
Processor, the processor are used for:
It controls the pre flashing of flash lamp light and obtains preview image;
The preview image is handled to identify human face region;
Position the corresponding face scene areas of the human face region;With
The flash lamp corresponding with the face scene areas is controlled to glisten in imaging.
11. a kind of computer equipment, which is characterized in that including memory and processor, the memory is stored with computer journey Sequence, the computer program realize control method according to claim 1-8 when being executed by processor.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, to realize control method according to claim 1-8.
CN201910578417.9A 2019-06-28 2019-06-28 Control method, imaging device, electronic equipment, computer equipment and storage medium Pending CN110149471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578417.9A CN110149471A (en) 2019-06-28 2019-06-28 Control method, imaging device, electronic equipment, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578417.9A CN110149471A (en) 2019-06-28 2019-06-28 Control method, imaging device, electronic equipment, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110149471A true CN110149471A (en) 2019-08-20

Family

ID=67596905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578417.9A Pending CN110149471A (en) 2019-06-28 2019-06-28 Control method, imaging device, electronic equipment, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110149471A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314618A (en) * 2020-03-17 2020-06-19 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
CN111885304A (en) * 2020-07-16 2020-11-03 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium
CN113840097A (en) * 2021-09-30 2021-12-24 联想(北京)有限公司 Control method and device
CN113973163A (en) * 2020-07-23 2022-01-25 北京小米移动软件有限公司 Image acquisition module, electronic device, image acquisition method and storage medium
CN113992859A (en) * 2021-12-27 2022-01-28 云丁网络技术(北京)有限公司 Image quality improving method and device
CN115242984A (en) * 2022-06-30 2022-10-25 纳欣科技有限公司 Shooting light supplement method and electronic equipment
CN115278098A (en) * 2022-06-28 2022-11-01 北京驭光科技发展有限公司 Image shooting method and system and shooting device thereof
TWI786609B (en) * 2020-04-26 2022-12-11 仁寶電腦工業股份有限公司 Electronic device and operation method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN104618637A (en) * 2013-11-01 2015-05-13 明基电通股份有限公司 Illumination supplement adjusting method and photographic device applying same
US20190020803A1 (en) * 2017-07-13 2019-01-17 Motorola Mobility Llc Controlling flash behavior during capture of image data
CN109314751A (en) * 2018-08-30 2019-02-05 深圳市锐明技术股份有限公司 A kind of light compensation method, light compensating apparatus and electronic equipment
CN109525782A (en) * 2018-12-25 2019-03-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN109639991A (en) * 2018-12-26 2019-04-16 上海与德通讯技术有限公司 A kind of photographic method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN104618637A (en) * 2013-11-01 2015-05-13 明基电通股份有限公司 Illumination supplement adjusting method and photographic device applying same
US20190020803A1 (en) * 2017-07-13 2019-01-17 Motorola Mobility Llc Controlling flash behavior during capture of image data
CN109314751A (en) * 2018-08-30 2019-02-05 深圳市锐明技术股份有限公司 A kind of light compensation method, light compensating apparatus and electronic equipment
CN109525782A (en) * 2018-12-25 2019-03-26 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN109639991A (en) * 2018-12-26 2019-04-16 上海与德通讯技术有限公司 A kind of photographic method, device, terminal and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314618A (en) * 2020-03-17 2020-06-19 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
CN111314618B (en) * 2020-03-17 2021-09-28 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
TWI786609B (en) * 2020-04-26 2022-12-11 仁寶電腦工業股份有限公司 Electronic device and operation method thereof
CN111885304A (en) * 2020-07-16 2020-11-03 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium
CN111885304B (en) * 2020-07-16 2022-12-27 深圳传音控股股份有限公司 Photographing method, mobile terminal and computer storage medium
CN113973163A (en) * 2020-07-23 2022-01-25 北京小米移动软件有限公司 Image acquisition module, electronic device, image acquisition method and storage medium
US11768423B2 (en) 2020-07-23 2023-09-26 Beijing Xiaomi Mobile Software Co., Ltd. Image acquisition apparatus, electronic device, image acquisition method and storage medium
CN113840097A (en) * 2021-09-30 2021-12-24 联想(北京)有限公司 Control method and device
CN113992859A (en) * 2021-12-27 2022-01-28 云丁网络技术(北京)有限公司 Image quality improving method and device
CN115278098A (en) * 2022-06-28 2022-11-01 北京驭光科技发展有限公司 Image shooting method and system and shooting device thereof
CN115242984A (en) * 2022-06-30 2022-10-25 纳欣科技有限公司 Shooting light supplement method and electronic equipment
EP4300987A1 (en) * 2022-06-30 2024-01-03 Nothing Technology Limited Method of supplemental lighting for photography and an electronic device

Similar Documents

Publication Publication Date Title
CN110149471A (en) Control method, imaging device, electronic equipment, computer equipment and storage medium
US9030600B2 (en) Method and apparatus for controlling flash
CN104754203B (en) Image pickup method, device and terminal
US10120267B2 (en) System and method for re-configuring a lighting arrangement
JP4236433B2 (en) System and method for simulating fill flash in photography
CN101753814B (en) Filming device, illumination processing device and illumination processing method
CN104735362B (en) Photographic method and device
TW200844896A (en) Device and program for correcting pupil color
CN101383907B (en) Image processing apparatus and image processing method
US8285133B2 (en) Dynamic lighting control in hybrid camera-projector device
CN111698409A (en) Indoor photographing light dimming method
CN106454077A (en) Photographing method, photographing apparatus and terminal
US20150029356A1 (en) Imaging device, imaging method and non-transitory storage medium in which imaging program is stored
CN106357970B (en) Light emission control device and its control method
CN106412449A (en) Method for shooting light supplement and equipment
CN106657798A (en) Photographing method for intelligent terminal
CN110290308A (en) Electronic device and its operation method
CN105915810B (en) Control method of electronic equipment and electronic equipment
CN108270914A (en) A kind of Intelligent photographing method and device, intelligent terminal
CN106791462B (en) Method and system for supplementing light during photographing of front camera of mobile terminal
US8270715B2 (en) Method for correcting red-eye
JP2014178146A (en) Image processing apparatus and method
CN107292261B (en) Photographing method and mobile terminal thereof
WO2018142771A1 (en) Control device, control method, and illumination system
WO2017169287A1 (en) White balance adjustment device, operation method therefor, and operation program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190820

RJ01 Rejection of invention patent application after publication