CN105245790A - Light filling method, device and mobile terminal - Google Patents

Light filling method, device and mobile terminal Download PDF

Info

Publication number
CN105245790A
CN105245790A CN201510671458.4A CN201510671458A CN105245790A CN 105245790 A CN105245790 A CN 105245790A CN 201510671458 A CN201510671458 A CN 201510671458A CN 105245790 A CN105245790 A CN 105245790A
Authority
CN
China
Prior art keywords
region
distance parameter
comprised
fixed area
light filling
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
CN201510671458.4A
Other languages
Chinese (zh)
Other versions
CN105245790B (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 CN201510671458.4A priority Critical patent/CN105245790B/en
Publication of CN105245790A publication Critical patent/CN105245790A/en
Application granted granted Critical
Publication of CN105245790B publication Critical patent/CN105245790B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a light filling method, device and a mobile terminal. The method comprises the following steps: dividing a framing preview interface into at least two regions; respectively acquiring a distance parameter between a subject in each region and a camera; for each region, controlling a light filling lamp to fill light for the subject in the current region according to the distance parameter corresponding to the current region. Through the adoption of above technical scheme, the mobile terminal is capable of respectively filing light according to the distance parameter between the subject and the camera while shooting a plurality of subjects, so that the plurality of subjects can obtain good light filing effect, and the shot picture looks more harmonious and the user demand is satisfied.

Description

A kind of light compensation method, device and mobile terminal
Technical field
The embodiment of the present invention relates to image taking technical field, particularly relates to a kind of light compensation method, device and mobile terminal.
Background technology
At present, be configured with the mobile terminals such as the smart mobile phone of camera, panel computer and digital camera and popularized, increasing user hankers after using mobile terminal to record personage at one's side, things and scenery at any time.
Along with the fast development of mobile terminal technology, the take pictures performance requirement of user to mobile terminal is more and more higher.In order to meet the demand of user, in present mobile terminal, camera side can arrange light compensating lamp usually, and in the shooting environmental of insufficient light, user is object light filling by light compensating lamp, obtains good shooting effect.But user is when using light compensating lamp to take pictures, and the luminous intensity of light compensating lamp is certain, and user may wish to be beated in by multiple object same photo simultaneously, the distance of object may distance differ.For object far away, the light filling intensity of light compensating lamp may be more weak, thus occurs that light filling is not enough; For nearer object, the light filling intensity of light compensating lamp may be comparatively strong, thus occurs that light filling is excessive.The photo light filling poor effect of finally taking out, cannot meet consumers' demand.
Summary of the invention
The object of the embodiment of the present invention proposes a kind of light compensation method, device and mobile terminal, to solve mobile terminal when taking multiple object, the problem of light filling weak effect.
First aspect, embodiments provides a kind of light compensation method, comprising:
Preview interface of finding a view is divided at least two regions;
Obtain the distance parameter between object and camera comprised in each region respectively;
For each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.
Second aspect, embodiments provides a kind of light compensating apparatus, comprising:
Division module, for finding a view, preview interface is divided at least two regions;
Distance parameter acquisition module, for obtaining the distance parameter between object and camera comprised in each region respectively;
Light filling control module, for for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.
The third aspect, embodiments provides a kind of mobile terminal, comprises the light compensating apparatus in the embodiment of the present invention.
The light filling scheme provided in the embodiment of the present invention, preview interface of first finding a view is divided at least two regions, then obtains the distance parameter between object and camera comprised in each region respectively; Finally, for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.By adopting technique scheme, mobile terminal, when taking multiple object, can carry out light filling according to the distance parameter between object and camera respectively, allows the light filling effect that multiple object can both obtain, make shooting photo out seem more to coordinate, meet consumers' demand.
Accompanying drawing explanation
The schematic flow sheet of a kind of light compensation method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of light compensation method that Fig. 2 provides for the embodiment of the present invention two;
The first light compensating lamp distribution schematic diagram that Fig. 3 provides for the embodiment of the present invention two;
The second light compensating lamp distribution schematic diagram that Fig. 4 provides for the embodiment of the present invention two;
The third light compensating lamp distribution schematic diagram that Fig. 5 provides for the embodiment of the present invention two;
The schematic flow sheet of a kind of light compensation method that Fig. 6 provides for the embodiment of the present invention three;
The structured flowchart of a kind of light compensating apparatus that Fig. 7 provides for the embodiment of the present invention four.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
Before in further detail exemplary embodiment being discussed, it should be mentioned that some exemplary embodiments are described as the process or method described as flow chart.Although each step is described as the process of order by flow chart, many steps wherein can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.Described process can be terminated when its operations are completed, but can also have the additional step do not comprised in the accompanying drawings.Described process can correspond to method, function, code, subroutine, subprogram etc.
Embodiment one
The schematic flow sheet of a kind of light compensation method that Fig. 1 provides for the embodiment of the present invention one, the method can be performed by light compensating apparatus, and wherein this device can by software and/or hardware implementing, and accessible site in the terminal.As shown in Figure 1, the method comprises:
Step 101, preview interface of finding a view are divided at least two regions.
Exemplary, described mobile terminal specifically can be the terminals such as mobile phone, panel computer and digital camera.Described preview interface of finding a view can be the interface of the preview image of finding a view for the display screen display dynamic change at mobile terminal; When mobile terminal is digital camera, described in preview interface of finding a view also can be the view-finder of camera.
Exemplary, subregion light filling function option can be increased in Operation system setting in the terminal in advance, can be selected voluntarily whether to open this function by user.User uses mobile terminal to take pictures, and when there is multiple object in preview interface of finding a view, can enter subregion light filling pattern according to the autonomous operation of user; Or when detect there is multiple object in preview interface of finding a view time, system automatically can trigger and enter subregion light filling pattern.
In this step, preview interface of finding a view is divided at least two regions, can carry out system default subregion by system according to preset rules, also can carry out dynamic partition according to real-time testing result.When carrying out system default subregion, the region of fixed number and fixed position can be divided into, such as, be divided into two regions, left and right; Or be divided into four regions forming similar sphere of movements for the elephants shape.When carrying out dynamic partition, can be detected object by transducer, and carry out subregion according to testing result, as the distance value utilizing range sensor to detect each object and camera, carry out subregion according to distance value; Also can be arranged by user oneself, as draw a circle on the display screen supporting touch operation or square frame to draw a circle to approve object, carry out subregion according to the delineation of the user detected operation.In the present embodiment, subregional size and shape is not specifically limited, the size and shape in each region can identical also can be different.The number of the object comprised in each region can be single, multiple or zero, specifically can be determined by actual photographed scene.
Exemplary, described region can show on a display screen, as identified with forms such as square frame or dotted line frames, representing a region, facilitate user to check in each square frame or dotted line frame; Can not show on a display screen, user is seen, and one does not have above-mentioned form to identify the preview interface of finding a view of blocking yet.
Step 102, obtain distance parameter between the object that comprises in each region and camera respectively.
Exemplary, obtain by the infrared sensor that configures in mobile terminal or the equidistant transducer of ultrasonic sensor the distance parameter between object and camera comprised in each region respectively.Described distance parameter can comprise the distance value between each object and camera comprised in each region, also can comprise the mean value of the distance value between all objects and camera comprised in each region.
Step 103, for each region, control light compensating lamp to the object light filling comprised in current region according to distance parameter corresponding to current region.
Exemplary, this step specifically can be: for each region, the driving current value corresponding according to the distance parameter determination current region that current region is corresponding; The driving current value corresponding according to current region drives light compensating lamp to the object light filling comprised in current region.Such as, by the corresponding relation of the means determination different driving current values such as experiment or theory calculate from the different luminous intensities of light compensating lamp, then in mobile terminal, the corresponding relation list of different distance parameter and different driving current value is stored in advance.After distance parameter between the object comprised in acquisition region and camera, the driving current value corresponding with this distance parameter is obtained by searching corresponding corresponding relation list, drive light compensating lamp luminous with this driving current value, make object obtain suitable light filling, realize preferably light filling effect.
Exemplary, the light compensating lamp in the present embodiment can be made up of light-emitting diode (LightEmittingDiode, LED).For the object comprised in each region, light compensating lamp, when carrying out light filling to it, all carries out light filling according to the distance parameter of itself and camera, so the light filling intensity in each region is suitable, thus reaches the effect that whole lightness coordinate.When carrying out system default subregion, can be each region and configuring a light compensating lamp respectively, then controlling light filling while that all light compensating lamps carrying out the region of its correspondence, disposablely can shoot the photo that a brightness is coordinated; When carrying out dynamic partition, only can adopt a light compensating lamp, successively light filling is carried out to each region, can multiple pictures be taken, and this multiple pictures is synthesized, obtain the photo that a brightness is coordinated.
The light compensation method that the embodiment of the present invention one provides, preview interface of first finding a view is divided at least two regions, then obtains the distance parameter between object and camera comprised in each region respectively; Finally, for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.By adopting technique scheme, mobile terminal, when taking multiple object, can carry out light filling according to the distance parameter between object and camera respectively, allows the light filling effect that multiple object can both obtain, make shooting photo out seem more to coordinate, meet consumers' demand.
Embodiment two
The schematic flow sheet of a kind of light compensation method that Fig. 2 provides for the embodiment of the present invention two, the present embodiment is optimized based on above-described embodiment, in the present embodiment, step " preview interface of finding a view is divided at least two regions " is optimized for: be divided at least two fixed area according to default zoning ordinance preview interface of finding a view, wherein, the number of fixed area is identical with the number of light compensating lamp, and the corresponding light compensating lamp of each fixed area.On this basis, carried out corresponding adjustment to follow-up step, concrete, the method for the present embodiment comprises the steps:
Step 201, preview interface of finding a view according to default zoning ordinance are divided at least two fixed area, and wherein, the number of fixed area is identical with the number of light compensating lamp, and the corresponding light compensating lamp of each fixed area.
Exemplary, can arrange multiple light compensating lamp in the face, camera place of mobile terminal, each light compensating lamp can be independently controlled.Number and the position of described default zoning ordinance and light compensating lamp are relevant, can be arranged, also can be adjusted according to personal habits on the basis of Operation system setting by user by system default.
Below provide the distribution mode of three kinds of light compensating lamps as an example.
The first light compensating lamp distribution schematic diagram that Fig. 3 provides for the embodiment of the present invention two.As shown in Figure 3, face, camera 301 place is the back side of mobile terminal, arranges top light compensating lamp 302 and bottom light compensating lamp 303 respectively in the upper left corner at the back side of mobile terminal and the lower right corner.The distance of top light compensating lamp 302 and bottom light compensating lamp 303 is set to distant, and the benefit done like this is, causes mutually larger interference when avoiding two light compensating lamps to carry out light filling simultaneously.Be longitudinal state of mobile terminal shown in Fig. 3, when mobile terminal is after its back side institute in the plane 90-degree rotation, just become transverse state.When detecting that mobile terminal is in longitudinal state, upper and lower two fixed area can be divided into according to default zoning ordinance preview interface of finding a view, the corresponding top of fixed area above light compensating lamp 302, light compensating lamp 303 bottom region correspondence below; Also can according to default zoning ordinance will find a view preview interface be divided into left and right two fixed area, the fixed area on the left side (when user in the face of find a view preview interface time, the region that user's left eye is corresponding is the fixed area on the left side) corresponding bottom light compensating lamp 303, corresponding top, the region light compensating lamp 302 on the right side.In like manner, when detecting that mobile terminal is in transverse state, also can be divided into upper and lower two fixed area or two, left and right fixed area according to default zoning ordinance preview interface of finding a view, concrete which light compensating lamp corresponding of each fixed area, is determined by the holding mode of user.Preferably, above-mentioned two fixed area be divided into is measure-alike.
The second light compensating lamp distribution schematic diagram that Fig. 4 provides for the embodiment of the present invention two.As shown in Figure 4, face, camera 405 place is the back side of mobile terminal, and in the upper left corner at the back side of mobile terminal, the lower left corner, the lower right corner and the upper right corner arrange the first light compensating lamp 401, second light compensating lamp 402, the 3rd light compensating lamp 403 and the 4th light compensating lamp 404 respectively.Preview interface of finding a view can be divided into according to default zoning ordinance four regions up and down forming similar sphere of movements for the elephants shape, each region is a corresponding light compensating lamp respectively.Preferably, above-mentioned four fixed area be divided into is measure-alike.
It should be noted that, the line of the light compensating lamp of two shown in Fig. 3 is the diagonal at the mobile terminal back side, so the distance of two light compensating lamps farthest, can farthest avoid mutual interference.But in order to ensure between two fixed area of vertical direction, or light filling effect between two of horizontal direction fixed area is more natural, when arranging two light compensating lamps, the line of two light compensating lamps also can be made parallel with a limit at the mobile terminal back side.Such as, the first light compensating lamp 401 in Fig. 4 and the 4th light compensating lamp 404 are only set at the mobile terminal back side.At this moment, when mobile terminal is in longitudinal state, be divided into two fixed area in left and right; When mobile terminal is in transverse state, be divided into upper and lower two fixed area.
The third light compensating lamp distribution schematic diagram that Fig. 5 provides for the embodiment of the present invention two.As shown in Figure 5, face, camera 503 place is the back side of mobile terminal, arranges the first giving young employees remedial-courses in general knowledge and vocational skills light modulation 501 and the second giving young employees remedial-courses in general knowledge and vocational skills light modulation 502 respectively at the edge, two, left and right at the back side of mobile terminal.Two sub-light compensating lamps are comprised in each giving young employees remedial-courses in general knowledge and vocational skills light modulation.Same, preview interface of finding a view can be divided into according to default zoning ordinance four regions up and down forming similar sphere of movements for the elephants shape, a sub-light compensating lamp in the corresponding giving young employees remedial-courses in general knowledge and vocational skills light modulation of each region difference.
More than only give the distribution citing of three kinds of light compensating lamps, the present embodiment is not construed as limiting the number of light compensating lamp and particular location.Accordingly, number and the position of the fixed area be divided into according to default zoning ordinance are also not construed as limiting, and those skilled in the art can design according to practical situations.
Step 202, obtain distance parameter between the object that comprises in each fixed area and camera respectively.
Ultrasonic sensor is configured with in mobile terminal in the present embodiment.Ultrasonic wave refers to that frequency is higher than the sound wave of 20000 hertz, and exemplary, described ultrasonic sensor can comprise at least one transmitting terminal and at least one receiving terminal.When the ultrasonic wave that the transmitting terminal of ultrasonic sensor sends runs into object, due to the barrier effect of object, hyperacoustic reflection and receiving course can be there is, by obtaining the difference of launch time and time of reception, and can realize in conjunction with the ultrasonic acoustic short-cut counting method and differential filtering algorithm etc. the distance detecting object in real time.According to the difference that chip and software algorithm are arranged, distance measure precision can reach a millimeter rank, and full scale is at 150-200 cm.It should be noted that, the present embodiment is not construed as limiting the quantity of the transmitting terminal in ultrasonic sensor and receiving terminal and particular location, and those skilled in the art can design according to the custom of concrete distance testing requirement, user's hand-held mobile terminal or comfort level and other practical situations.
Exemplary, the ultrasonic sensor by configuring in mobile terminal in this step obtains the distance parameter between object and camera comprised in each fixed area respectively.Because scene when user takes is different at every turn, single, multiple even zero (object not detected in the range ability of ultrasonic sensor) object in each fixed area, may be there is.In the present embodiment, the distance parameter between the object comprised in each region and camera, comprises the mean value of the distance value between all objects and camera comprised in each region.
Step 203, for each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to current fixed area to the object light filling comprised in current fixed area, and wherein, all light compensating lamps carry out light filling operation simultaneously.
Exemplary, for each fixed area, determine driving current value according to all objects comprised in this fixed area to the average departure distance values of camera, the light filling intensity that different driving current value is corresponding different.The driving current value corresponding according to different fixed area drives light compensating lamp to carry out light filling operation simultaneously.Such as, preview interface of finding a view is divided into two fixed area in left and right, and the object distance camera in the fixed area of the left side is comparatively far away, may correspond to higher light filling intensity; Object distance camera in the fixed area of the right is comparatively near, may correspond to more weak light filling intensity.It should be noted that, light filling intensity might not strengthen along with the increase of average departure distance values.Such as, average departure distance values threshold value can be set, when detecting that average departure distance values corresponding to certain fixed area is greater than the first average departure distance values threshold value, illustrate that the object distance camera in this region is too far away, possible user does not wish to be taken in photo, can not light filling be carried out, or a more weak light filling intensity is set.Certainly, also independently can be carried out selecting whether to carry out light filling to object far away by user.
Step 204, control camera shooting original photo.
Exemplary, after all light compensating lamps of control carry out light filling operation, control camera immediately and take pictures, using captured picture as original image.Because multiple light compensating lamp carries out light filling operation simultaneously, the light that different light compensating lamp sends has part and superposes, and can prevent the brightness of intersection from undergoing mutation to a certain extent.
Step 205, luminance transition process is carried out to the intersection of different fixed area corresponding in original photo, generate first object photo.
It should be noted that, this step is optional step, the benefit performing this step is, carrying out in luminance transition processing procedure to the intersection of different fixed area, treatment of details can be done to the superposition situation of intersection light intensity, prevent the brightness of intersection from undergoing mutation further, improve region lines sense, make the photo of finally presenting to user more natural.
Exemplary, when pressing the shoot button on mobile terminal as user, mobile terminal can complete above-mentioned steps 201 to step 205 automatically in turn, shows first object photo subsequently on the display screen of mobile terminal.User without the need to carrying out other operations, just can obtain the photo that the brightness being filled meaning is coordinated, greatly improving Consumer's Experience quickly and easily.
The light compensation method that the present embodiment two provides, different light compensating lamps can be controlled respectively according to corresponding distance parameter to the object light filling in different fixed area simultaneously, and control camera shooting original photo, luminance transition process is carried out to the intersection of different fixed area corresponding in original photo, generate first object photo, by brightness coordination and user presented to by the natural photo of transition, meet consumers' demand.
Embodiment three
The schematic flow sheet of a kind of light compensation method that Fig. 6 provides for the embodiment of the present invention three, the present embodiment is optimized based on above-described embodiment one, in the present embodiment, step " preview interface of finding a view is divided at least two regions " is optimized for: the azimuth information of all objects comprised in preview interface of finding a view, at least two sub regions are divided into according to azimuth information preview interface of finding a view, wherein, every sub regions corresponds to a few object.On this basis, carried out corresponding adjustment to follow-up step, wherein, light compensating lamp successively carries out light filling operation to all subregions according to preset order, the corresponding sub regions of each light filling operation.Concrete, the method for the present embodiment comprises the steps:
The azimuth information of all objects comprised in step 601, preview interface of finding a view.
Ultrasonic sensor is configured with in mobile terminal in the present embodiment.Exemplary, described ultrasonic sensor can comprise two transmitting terminals and two receiving terminals.To be found a view by the detection of ultrasonic sensor the azimuth information of all objects comprised in preview interface.Described azimuth information specifically can comprise object relative to the station-keeping data between the bearing data of camera and every two objects, also can comprise the range data between object and camera.
It should be noted that, the present embodiment is not construed as limiting the quantity of the transmitting terminal in ultrasonic sensor and receiving terminal and particular location, and those skilled in the art can require according to concrete orientation detection, the custom of user's hand-held mobile terminal or comfort level and other practical situations design.
Step 602, preview interface of finding a view according to azimuth information are divided at least two sub regions, and wherein, every sub regions corresponds to a few object.
Exemplary, when detecting that object has N number of, preview interface of finding a view can be divided into N number of subregion; Also preview interface of finding a view can be divided into M sub regions (M is less than N).Such as, when two objects are all positioned at the left front of camera, and the distance value of distance camera is very close, these two objects can be put into same subregion.Concrete, the area of subregion can be determined at proportion in preview interface of finding a view by the object of correspondence.
Preferably, when detecting that object has N number of, also can identify N number of object on a display screen, therefrom selecting L object (L is less than N) by user, and carrying out subregion according to the selection of user.
Step 603, obtain distance parameter between the object that comprises in every sub regions and camera respectively.
Exemplary, obtain in the azimuth information that distance parameter can directly obtain from step 601, also can again be undertaken detecting and obtaining by ultrasonic sensor.When comprising two or more object in subregion, distance parameter is the mean value of the distance value between each object and camera.
Step 604, the distance parameter corresponding according to current sub-region control light compensating lamp to the object light filling comprised in current sub-region, perform step 605.
Step 605, the control camera distance parameter corresponding to the subregion of this light filling operation correspondence is focused and takes material photo.
Exemplary, the distance parameter focusing corresponding to the subregion that the operation of this light filling is corresponding, can ensure that the object in this subregion can imaging clearly.
Step 606, judge whether current sub-region is last subregion, if so, then perform step 607; Otherwise, using the next subregion of current sub-region as new current sub-region, and return execution step 604.
Exemplary, the order of each sub regions by mobile terminal Lookup protocol, as random setting, or can be arranged according to rule from left to right, from top to bottom.
Step 607, all material photos to be synthesized, generate the second target picture.
Exemplary, after having taken all material photos, all material photos are synthesized.Such as, luminance transition process can be carried out to the image intersection of different brightness corresponding to different subregion, prevent the brightness of intersection from undergoing mutation, improve region lines sense, make the photo of finally presenting to user more natural.In addition, in the second synthesized target picture, each object can both imaging clearly, the photo making user obtain clear and brightness to coordinate.
The light compensation method that the embodiment of the present invention three provides, control light compensating lamp successively according to the object light filling of distance parameter to zones of different, and control camera shooting material photo, material photo is synthesized, generate the second target picture, by brightness coordination and transition nature, object clear photograph presents to user, meet consumers' demand.
On the basis of above-described embodiment, also can be the multiple light compensating lamp of mobile terminal configuration, when the operation of each light filling, can determine that this light filling specifically needs which or which light compensating lamp luminous by mobile terminal according to the azimuth information of object, thus reach better light filling effect.
Embodiment four
The structured flowchart of a kind of light compensating apparatus that Fig. 7 provides for the embodiment of the present invention four, this device can by software and/or hardware implementing, generally in the terminal integrated, by performing light compensation method.As shown in Figure 7, this device comprises division module 701, distance parameter acquisition module 702 and light filling control module 703.
Wherein, division module 701, for finding a view, preview interface is divided at least two regions; Distance parameter acquisition module 702, for obtaining the distance parameter between object and camera comprised in each region respectively; Light filling control module 703, for for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.
On the basis of above-described embodiment, described division module specifically can be used for: be divided at least two fixed area according to default zoning ordinance preview interface of finding a view, wherein, the number of described fixed area is identical with the number of light compensating lamp, and the corresponding light compensating lamp of each fixed area.Described distance parameter acquisition module specifically can be used for: obtain the distance parameter between object and camera comprised in each fixed area respectively.Described light filling control module specifically can be used for: for each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to the object light filling comprised in described current fixed area, wherein, all light compensating lamps carry out light filling operation simultaneously.
On the basis of above-described embodiment, this device also can comprise original photo taking module and first object photo generation module.Wherein, original photo taking module is used for described for each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to after the object light filling comprised in described current fixed area, controls described camera shooting original photo.First object photo generation module is used for carrying out luminance transition process to the intersection of different fixed area corresponding in described original photo, generates first object photo.
On the basis of above-described embodiment, described division module specifically can be used for: the azimuth information of all objects comprised in preview interface of finding a view; Be divided at least two sub regions according to described azimuth information preview interface of finding a view, wherein, every sub regions corresponds to a few object.Described distance parameter acquisition module specifically can be used for: obtain the distance parameter between object and camera comprised in every sub regions respectively.Described light filling control module specifically can be used for: for every sub regions, the distance parameter corresponding according to current sub-region controls light compensating lamp to the object light filling comprised in described current sub-region, wherein, described light compensating lamp successively carries out light filling operation to all subregions according to preset order, the corresponding sub regions of each light filling operation.
On the basis of above-described embodiment, this device also can comprise material photograph taking module and the second target picture generation module.Wherein, material photograph taking module, for after each light filling operation, controls the distance parameter of camera corresponding to the subregion of this light filling operation correspondence and focuses and take material photo; Second target picture generation module, for after having taken material photo corresponding to all subregions, has synthesized all material photos, has generated the second target picture.
On the basis of above-described embodiment, the area of described subregion can be determined by the object of correspondence proportion in described preview interface of finding a view.
On the basis of above-described embodiment, the distance parameter between the object comprised in described each region and camera can comprise: the mean value of the distance value between all objects comprised in each region and camera.
On the basis of above-described embodiment, the described distance parameter between object and camera comprised in each region that obtains respectively can comprise: obtained the distance parameter between object and camera comprised in each region respectively by the ultrasonic sensor configured in mobile terminal.
On the basis of above-described embodiment, described light filling control module can comprise driving current value determining unit and light filling control unit.Wherein, driving current value determining unit, for for each region, the distance parameter corresponding according to current region determines the driving current value that described current region is corresponding; Light filling control unit, drives light compensating lamp to the object light filling comprised in described current region for the driving current value corresponding according to described current region.
Embodiment five
The present embodiment five provides a kind of mobile terminal, and this mobile terminal comprises the light compensating apparatus described in the embodiment of the present invention, by performing light compensation method in shooting process to object light filling.
Exemplary, the mobile terminal in the present embodiment specifically can be the terminals such as mobile phone, panel computer and digital camera, is preferably smart mobile phone.
When user uses the mobile terminal in the present embodiment to take multiple object, light filling can be carried out respectively according to the distance parameter between object and camera, allow the light filling effect that multiple object can both obtain, make shooting photo out seem more to coordinate, meet consumers' demand.
The said goods can perform the method that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.The not ins and outs of detailed description in the present embodiment, the method that can provide see any embodiment of the present invention.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (19)

1. a light compensation method, is characterized in that, comprising:
Preview interface of finding a view is divided at least two regions;
Obtain the distance parameter between object and camera comprised in each region respectively;
For each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.
2. method according to claim 1, is characterized in that,
Described preview interface of finding a view is divided at least two regions, comprising:
Be divided at least two fixed area according to default zoning ordinance preview interface of finding a view, wherein, the number of described fixed area is identical with the number of light compensating lamp, and the corresponding light compensating lamp of each fixed area;
Describedly obtain the distance parameter between object and camera comprised in each region respectively, comprising:
Obtain the distance parameter between object and camera comprised in each fixed area respectively;
Described for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region, comprising:
For each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to the object light filling comprised in described current fixed area, and wherein, all light compensating lamps carry out light filling operation simultaneously.
3. method according to claim 2, it is characterized in that, described for each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to after the object light filling comprised in described current fixed area, also comprises:
Control described camera shooting original photo;
Luminance transition process is carried out to the intersection of different fixed area corresponding in described original photo, generates first object photo.
4. method according to claim 1, is characterized in that, described preview interface of finding a view is divided at least two regions, comprising:
The azimuth information of all objects comprised in preview interface of finding a view;
Be divided at least two sub regions according to described azimuth information preview interface of finding a view, wherein, every sub regions corresponds to a few object;
Describedly obtain the distance parameter between object and camera comprised in each region respectively, comprising:
Obtain the distance parameter between object and camera comprised in every sub regions respectively;
Described for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region, comprising:
For every sub regions, the distance parameter corresponding according to current sub-region controls light compensating lamp to the object light filling comprised in described current sub-region, wherein, described light compensating lamp successively carries out light filling operation to all subregions according to preset order, the corresponding sub regions of each light filling operation.
5. method according to claim 4, is characterized in that, after each light filling operation, also comprises:
Control the distance parameter of camera corresponding to the subregion of this light filling operation correspondence focus and take material photo;
After having taken material photo corresponding to all subregions, also comprise:
All material photos are synthesized, generates the second target picture.
6. method according to claim 4, is characterized in that, the area of described subregion is determined by object proportion in described preview interface of finding a view of correspondence.
7. method according to claim 1, is characterized in that, the distance parameter between the object comprised in described each region and camera, comprising:
The mean value of the distance value between all objects comprised in each region and camera.
8. method according to claim 1, is characterized in that, describedly obtains the distance parameter between object and camera comprised in each region respectively, comprising:
The distance parameter between object and camera comprised in each region is obtained respectively by the ultrasonic sensor configured in mobile terminal.
9. method according to claim 1, is characterized in that, for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region, comprising:
For each region, the distance parameter corresponding according to current region determines the driving current value that described current region is corresponding;
The driving current value corresponding according to described current region drives light compensating lamp to the object light filling comprised in described current region.
10. a light compensating apparatus, is characterized in that, comprising:
Division module, for finding a view, preview interface is divided at least two regions;
Distance parameter acquisition module, for obtaining the distance parameter between object and camera comprised in each region respectively;
Light filling control module, for for each region, the distance parameter corresponding according to current region controls light compensating lamp to the object light filling comprised in described current region.
11. devices according to claim 10, is characterized in that,
Described division module, specifically for:
Be divided at least two fixed area according to default zoning ordinance preview interface of finding a view, wherein, the number of described fixed area is identical with the number of light compensating lamp, and the corresponding light compensating lamp of each fixed area;
Described distance parameter acquisition module, specifically for:
Obtain the distance parameter between object and camera comprised in each fixed area respectively;
Described light filling control module, specifically for:
For each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to the object light filling comprised in described current fixed area, and wherein, all light compensating lamps carry out light filling operation simultaneously.
12. devices according to claim 11, is characterized in that, also comprise:
Original photo taking module, for described for each fixed area, the distance parameter corresponding according to current fixed area controls light compensating lamp corresponding to described current fixed area to after the object light filling comprised in described current fixed area, controls described camera shooting original photo;
First object photo generation module, for carrying out luminance transition process to the intersection of different fixed area corresponding in described original photo, generates first object photo.
13. devices according to claim 10, is characterized in that,
Described division module, specifically for:
The azimuth information of all objects comprised in preview interface of finding a view;
Be divided at least two sub regions according to described azimuth information preview interface of finding a view, wherein, every sub regions corresponds to a few object;
Described distance parameter acquisition module, specifically for:
Obtain the distance parameter between object and camera comprised in every sub regions respectively;
Described light filling control module, specifically for:
For every sub regions, the distance parameter corresponding according to current sub-region controls light compensating lamp to the object light filling comprised in described current sub-region, wherein, described light compensating lamp successively carries out light filling operation to all subregions according to preset order, the corresponding sub regions of each light filling operation.
14. devices according to claim 13, is characterized in that, also comprise:
Material photograph taking module, for after each light filling operation, controls the distance parameter of camera corresponding to the subregion of this light filling operation correspondence and focuses and take material photo;
Second target picture generation module, for after having taken material photo corresponding to all subregions, has synthesized all material photos, has generated the second target picture.
15. devices according to claim 13, is characterized in that, the area of described subregion is determined by object proportion in described preview interface of finding a view of correspondence.
16. devices according to claim 10, is characterized in that, the distance parameter between the object comprised in described each region and camera, comprising:
The mean value of the distance value between all objects comprised in each region and camera.
17. devices according to claim 10, is characterized in that, describedly obtain the distance parameter between object and camera comprised in each region respectively, comprising:
The distance parameter between object and camera comprised in each region is obtained respectively by the ultrasonic sensor configured in mobile terminal.
18. devices according to claim 10, is characterized in that, described light filling control module, comprising:
Driving current value determining unit, for for each region, the distance parameter corresponding according to current region determines the driving current value that described current region is corresponding;
Light filling control unit, drives light compensating lamp to the object light filling comprised in described current region for the driving current value corresponding according to described current region.
19. 1 kinds of mobile terminals, is characterized in that, comprise the light compensating apparatus described in any one of claim 10-18.
CN201510671458.4A 2015-10-15 2015-10-15 A kind of light compensation method, device and mobile terminal Expired - Fee Related CN105245790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510671458.4A CN105245790B (en) 2015-10-15 2015-10-15 A kind of light compensation method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510671458.4A CN105245790B (en) 2015-10-15 2015-10-15 A kind of light compensation method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105245790A true CN105245790A (en) 2016-01-13
CN105245790B CN105245790B (en) 2019-04-26

Family

ID=55043268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510671458.4A Expired - Fee Related CN105245790B (en) 2015-10-15 2015-10-15 A kind of light compensation method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105245790B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331505A (en) * 2016-09-30 2017-01-11 西安易朴通讯技术有限公司 Shooting method and device
CN106961554A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 A kind of camera arrangement and method, terminal
CN108460884A (en) * 2018-04-11 2018-08-28 深圳市欣视景科技股份有限公司 Intelligent instrument manages cabinet
CN109218623A (en) * 2018-11-05 2019-01-15 浙江大华技术股份有限公司 A kind of light compensation method and device, computer installation and readable storage medium storing program for executing
WO2019051683A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Fill light photography method, mobile terminal and computer-readable storage medium
CN109672825A (en) * 2019-02-13 2019-04-23 Oppo广东移动通信有限公司 Image pickup method, system and terminal
CN110691198A (en) * 2018-07-05 2020-01-14 杭州海康威视数字技术股份有限公司 Infrared lamp control method and device and electronic equipment
CN111314586A (en) * 2020-02-19 2020-06-19 北京小米移动软件有限公司 Light supplementing assembly, control method thereof, camera module and mobile terminal
CN111641789A (en) * 2020-06-11 2020-09-08 云从科技集团股份有限公司 Multi-camera system light supplement control method, device, equipment and medium
CN113727499A (en) * 2020-05-26 2021-11-30 浙江大华技术股份有限公司 Light supplement lamp control method and device, electronic equipment and storage medium
CN114630022A (en) * 2020-12-11 2022-06-14 安讯士有限公司 Spatially mapped illumination in an image system
US11769273B2 (en) 2019-04-26 2023-09-26 Vivo Mobile Communication Co., Ltd. Parameter obtaining method and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100317398A1 (en) * 2009-06-10 2010-12-16 Ola Thorn Camera system and method for flash-based photography
CN102316261A (en) * 2010-07-02 2012-01-11 华晶科技股份有限公司 Method for regulating light sensitivity of digital camera
CN103543575A (en) * 2012-07-10 2014-01-29 宏碁股份有限公司 Image acquisition device and light source assisted photographing method
CN103974010A (en) * 2013-02-04 2014-08-06 联想(北京)有限公司 Light compensating method and electronic equipment
CN104349068A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Shooting method and electronic equipment
CN104853109A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Flashing automatically adjusting method and shooting terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100317398A1 (en) * 2009-06-10 2010-12-16 Ola Thorn Camera system and method for flash-based photography
CN102316261A (en) * 2010-07-02 2012-01-11 华晶科技股份有限公司 Method for regulating light sensitivity of digital camera
CN103543575A (en) * 2012-07-10 2014-01-29 宏碁股份有限公司 Image acquisition device and light source assisted photographing method
CN103974010A (en) * 2013-02-04 2014-08-06 联想(北京)有限公司 Light compensating method and electronic equipment
CN104349068A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Shooting method and electronic equipment
CN104853109A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Flashing automatically adjusting method and shooting terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331505A (en) * 2016-09-30 2017-01-11 西安易朴通讯技术有限公司 Shooting method and device
CN106961554A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 A kind of camera arrangement and method, terminal
WO2019051683A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Fill light photography method, mobile terminal and computer-readable storage medium
CN108460884A (en) * 2018-04-11 2018-08-28 深圳市欣视景科技股份有限公司 Intelligent instrument manages cabinet
CN110691198A (en) * 2018-07-05 2020-01-14 杭州海康威视数字技术股份有限公司 Infrared lamp control method and device and electronic equipment
CN109218623A (en) * 2018-11-05 2019-01-15 浙江大华技术股份有限公司 A kind of light compensation method and device, computer installation and readable storage medium storing program for executing
CN109672825A (en) * 2019-02-13 2019-04-23 Oppo广东移动通信有限公司 Image pickup method, system and terminal
US11769273B2 (en) 2019-04-26 2023-09-26 Vivo Mobile Communication Co., Ltd. Parameter obtaining method and terminal device
CN111314586A (en) * 2020-02-19 2020-06-19 北京小米移动软件有限公司 Light supplementing assembly, control method thereof, camera module and mobile terminal
CN113727499A (en) * 2020-05-26 2021-11-30 浙江大华技术股份有限公司 Light supplement lamp control method and device, electronic equipment and storage medium
CN113727499B (en) * 2020-05-26 2023-08-18 浙江大华技术股份有限公司 Light supplementing lamp control method and device, electronic equipment and storage medium
CN111641789A (en) * 2020-06-11 2020-09-08 云从科技集团股份有限公司 Multi-camera system light supplement control method, device, equipment and medium
CN114630022A (en) * 2020-12-11 2022-06-14 安讯士有限公司 Spatially mapped illumination in an image system

Also Published As

Publication number Publication date
CN105245790B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN105245790A (en) Light filling method, device and mobile terminal
JP6946188B2 (en) Methods and equipment for multi-technology depth map acquisition and fusion
CN111052727B (en) Electronic device and control method thereof
US9704250B1 (en) Image optimization techniques using depth planes
US9001226B1 (en) Capturing and relighting images using multiple devices
KR101612727B1 (en) Method and electronic device for implementing refocusing
US9900500B2 (en) Method and apparatus for auto-focusing of an photographing device
US11778318B2 (en) Depth sensing techniques for virtual, augmented, and mixed reality systems
RU2635836C2 (en) Method and device for flash control and terminal
CN107426469A (en) The control method of Intelligent lightening device
CN108286945B (en) Three-dimensional scanning system and method based on visual feedback
JP2023509137A (en) Systems and methods for capturing and generating panoramic 3D images
JP2006244329A (en) Portable terminal, information processor, and system
CN108063928B (en) A kind of image automatic adjusting method, device and the electronic equipment of projector
US11240481B2 (en) Creation and user interactions with three-dimensional wallpaper on computing devices
JP2017520886A (en) Lighting system
US20170046813A1 (en) An apparatus and associated methods for image capture
CN104205827A (en) Image processing device and method, and imaging device
CN113870213A (en) Image display method, image display device, storage medium, and electronic apparatus
WO2021145913A1 (en) Estimating depth based on iris size
US10609350B1 (en) Multiple frequency band image display system
CN115802151A (en) Shooting method and electronic equipment

Legal Events

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190426

CF01 Termination of patent right due to non-payment of annual fee