CN105227857A - A kind of method and apparatus of automatic exposure - Google Patents

A kind of method and apparatus of automatic exposure Download PDF

Info

Publication number
CN105227857A
CN105227857A CN201510649454.6A CN201510649454A CN105227857A CN 105227857 A CN105227857 A CN 105227857A CN 201510649454 A CN201510649454 A CN 201510649454A CN 105227857 A CN105227857 A CN 105227857A
Authority
CN
China
Prior art keywords
region
photometry region
emphasis
agent object
emphasis photometry
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
CN201510649454.6A
Other languages
Chinese (zh)
Other versions
CN105227857B (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 CN201510649454.6A priority Critical patent/CN105227857B/en
Publication of CN105227857A publication Critical patent/CN105227857A/en
Application granted granted Critical
Publication of CN105227857B publication Critical patent/CN105227857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention provides a kind of method and apparatus of automatic exposure; First the method for this automatic exposure determines the agent object in preview image, then in preview image region, form the emphasis photometry region only comprising agent object, thus to the accuracy that improve the brightness measurement of emphasis photometry region during described emphasis photometry region light-metering, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, bring experience of better taking pictures to user.

Description

A kind of method and apparatus of automatic exposure
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of method and apparatus of automatic exposure.
Background technology
Universal along with intelligent terminal, more and more user uses intelligent terminal to carry out learning, amusement etc., not only enriches user's life, also brings advantage to the user.
Now along with the development of intelligent terminal, camera function gets more and more, and can substitute list to a certain degree completely and instead wait mm professional camera special, increasing people likes taking pictures with intelligent terminal or making a video recording.But can there is scene overexposure in current intelligent terminal, and overexposure will have influence on effect of taking pictures to a great extent in the process of shooting.The main cause of scene overexposure is caused to be at present: due to AE (AutomaticExposure, automatic exposure) frame is excessive, the object of agent object periphery also frame can be entered, cause the light-metering of emphasis photometry region (i.e. AE frame choose region) inaccurate, thus it is accurate not to cause AE to restrain, and causes scene overexposure.
Such as, when user claps sky, the preview image of terminal demonstration is clicked certain region of sky, terminal can form AE circle and select this region, to determine the emphasis photometry region of taking pictures, due to the thing of this scene some luminance shortage of side on high, such as tree etc., when user clicks the sky from the not far place of tree, now because existing AE frame is excessive, therefore not only sky is had in AE frame, also has the tree on side, the brightness of such light-metering is by partially darker than simple sky, AE is in the process of convergence, the brightness of sky can not restrain too much, thus cause overexposure, affect the definition of photo.
To sum up, there is the technical problem of overexposure in existing intelligent terminal, is badly in need of solving.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus of automatic exposure, to solve the technical problem that existing intelligent terminal exists overexposure.
For solving the problems of the technologies described above, the invention provides following technical scheme:
Embodiments provide a kind of method of automatic exposure, comprise the following steps:
Triggering terminal forms the preview image of object to be captured in image preview region;
Determine the agent object in described preview image, and in described image preview region, form the emphasis photometry region only comprising described agent object;
Light-metering is carried out to described emphasis photometry region, to obtain the monochrome information of described photometry region;
Expose according to described monochrome information.
In the method for automatic exposure of the present invention, the described step forming the emphasis photometry region only comprising described agent object in image preview region specifically comprises:
In described image preview region, form emphasis photometry region according to described agent object, described emphasis photometry region comprises described agent object;
Adjust the area of described emphasis photometry region, only comprise described agent object to make described emphasis photometry region.
In the method for automatic exposure of the present invention, the step of the area of the described emphasis photometry region of described adjustment specifically comprises:
The ratio of the area in the area of described emphasis photometry region and described image preview region is adjusted to default ratio, and described default ratio is between 7.7% to 9.8%.
In the method for automatic exposure of the present invention, the described step forming emphasis photometry region according to described agent object in described image preview region specifically comprises:
Formed in described image preview region according to described agent object and be used for the marquee that frame selects described agent object, the region of described marquee institute's frame choosing in described preview image is described emphasis photometry region;
The area of the described emphasis photometry region of described adjustment, specifically comprises with the step making described emphasis photometry region only comprise described agent object:
Adjust the area of described marquee, with make described marquee only frame select described agent object.
In the method for automatic exposure of the present invention, described formation in described image preview region according to described agent object selects the step of the marquee of described agent object specifically to comprise for frame:
Obtain the profile of described agent object;
In described image preview region, form the marquee of correspondingly-shaped according to described profile, described marquee is used for frame and selects described agent object.
In the method for automatic exposure of the present invention, after determining emphasis photometry region, the method for described automatic exposure also comprises:
Formation association photometry region around emphasis photometry region described in described image preview region;
Light-metering is carried out to described association photometry region, to obtain the monochrome information of association photometry region;
Described step of carrying out exposing according to described monochrome information comprises:
Monochrome information according to emphasis photometry region exposes with the described monochrome information associating photometry region.
Embodiments of the invention additionally provide a kind of device of automatic exposure, comprising:
Trigger module, forms the preview image of object to be captured in image preview region for triggering terminal;
Emphasis photometry region generation module, for after the agent object determining described preview image, forms the emphasis photometry region only comprising described agent object in described image preview region;
Light-metering module, carries out light-metering to described emphasis photometry region, to obtain the monochrome information of described photometry region;
Exposure module, exposes according to described monochrome information.
In the device of automatic exposure of the present invention, described emphasis photometry region generation module specifically comprises:
Emphasis photometry region adjusting module, for adjusting the area of described emphasis photometry region, only comprises described agent object to make described emphasis photometry region.
In the device of automatic exposure of the present invention, described photometry region adjusting module specifically for:
The ratio of the area in the area of described emphasis photometry region and described image preview region is adjusted to default ratio, and described default ratio is between 7.7% to 9.8%.
In the device of automatic exposure of the present invention, described emphasis photometry region generation module specifically comprises:
Marquee generation module, selects the agent object in described preview image for frame, and the region of described marquee institute's frame choosing in described preview image is described emphasis photometry region;
Adjust the area of described marquee, with make described marquee only frame select described agent object.
In the device of automatic exposure of the present invention, also comprise:
Marquee generates submodule, for obtaining the profile of described agent object, forms the marquee of correspondingly-shaped according to described profile in described image preview region, and described marquee is used for frame and selects described agent object.
In the device of automatic exposure of the present invention, also comprise: association photometry region forms module;
Described association photometry region forms module, for after described determination module determination emphasis photometry region, and formation association photometry region around emphasis photometry region described in described image preview region;
Wherein, described light-metering module, also for carrying out light-metering to described association photometry region, to obtain the monochrome information of association photometry region;
Described exposure module, exposes with the described brightness associating photometry region specifically for the brightness according to emphasis photometry region.
The embodiment provides a kind of method and apparatus of automatic exposure; The method of this automatic exposure is by forming the emphasis photometry region only comprising agent object, thus improve the accuracy of emphasis photometry region brightness measurement, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, bring experience of better taking pictures to user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method for a kind of automatic exposure that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the method for a kind of automatic exposure that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the device of a kind of automatic exposure that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of a kind of emphasis photometry region generation module that Fig. 4 provides for the embodiment of the present invention three;
The structural representation of the device of the another kind of automatic exposure that Fig. 5 provides for the embodiment of the present invention three.
Embodiment
Please refer to graphic, wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
In the following description, specific embodiments of the invention illustrate, unless otherwise stating clearly with reference to the step performed by or multi-section computer and symbol.Therefore, these steps and operation will have to mention for several times and performed by computer, and computer execution as referred to herein includes by representing with the operation of the computer processing unit of the electronic signal of the data in a structuring pattern.These data of this operation transformation or the position maintained in the memory system of this computer, its reconfigurable or other running changing this computer in the mode known by the tester of this area.The data structure that these data maintain is the provider location of this internal memory, and it has the particular characteristics defined by this data format.But the principle of the invention illustrates with above-mentioned word, it is not represented as a kind of restriction, and this area tester can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Term as used herein " module " can regard the software object as performing in this arithmetic system as.Different assembly as herein described, module, engine and service can be regarded as the objective for implementation in this arithmetic system.And device and method as herein described is preferably implemented in the mode of software, certainly also can implement on hardware, all within scope.
Embodiments provide a kind of method and apparatus of automatic exposure, will be described in detail respectively below.
Embodiment one:
Angle from terminal is described by the present embodiment, and the method for automatic exposure of the present invention can be had the equipment enforcement of shoot function by terminal etc.
Refer to Fig. 1, the schematic flow sheet of the method for a kind of automatic exposure that Fig. 1 provides for the embodiment of the present invention one.The method of this automatic exposure, comprises the steps:
Step S100, triggering terminal forms the preview image of object to be captured in image preview region.
In the present embodiment, image preview region is the region for showing preview image, such as, after user opens a terminal shoot function, is image preview region in the region of shooting interface display preview image.
In the present embodiment, preview image is before exposure, the image of the object to be captured shown in terminal image preview area, such as, when certain personage is taken, after terminal operating camera function, in shooting interface, the image of this personage can be formed in certain region, for reference; Now, the region showing image in this shooting interface is image preview region, and the character image of display is preview image.
This step specifically comprises: the triggering command receiving user's input, camera application program (such as camera) corresponding in terminal is opened according to described triggering command, form an image preview region on a terminal screen, and in this image preview region, form the preview image of object to be captured.
In the present embodiment, object to be captured can be personage, landscape, animal, object (as house or automobile) etc.
Such as, user applies smart mobile phone when taking somewhere landscape, and first smart mobile phone receives the order of opening " camera " application program; Then smart mobile phone opens this " camera " application program automatically; Then smart mobile phone forms an image preview region on screen, and calls camera and treat reference object and take, to form the preview image of this object to be captured in image preview region.
Step S101, determines the agent object in this preview image, and in this image preview region, form the emphasis photometry region only comprising this agent object.
In the present embodiment, emphasis photometry region is the region at agent object place in preview image.Agent object in the present embodiment, refers to the object that terminal needs emphasis to treat when exposing, and such as when adopting AE convergence algorithm to expose, agent object to be in this algorithm luminance weights than maximum object.Preferably, in the present embodiment, agent object can be concrete object, such as character facial, human body or certain object etc., in the present embodiment, agent object also can be certain region in preview image, a region in such as somewhere landscape, personage and neighboring area etc. thereof.In actual scene, such as when taking computer, now computer is agent object, and this computer and neighboring area thereof also can be agent object.
The emphasis photometry region only comprising agent object in the present embodiment refers to: the emphasis photometry region of formation only comprises agent object, does not comprise other objects.
Determine in the present embodiment that the mode of agent object has multiple, such as, obtain the determination instruction that user is triggered by terminal screen, determine that instruction determines agent object in described preview image according to this.
The mode forming the emphasis photometry region only comprising agent object in the present embodiment has multiple, such as, can form the emphasis photometry region only comprising agent object by the mode of adjustment emphasis photometry region area; Particularly, step " forms the emphasis photometry region only comprising this agent object " and can comprise in image preview region:
In this image preview region, form emphasis photometry region according to this agent object, this emphasis photometry region comprises described agent object;
Adjust the area of this emphasis photometry region, only comprise this agent object to make this emphasis photometry region.
Through actual a large amount of measurement and experiment, preferably, step " is adjusted to the area of this emphasis photometry region " and specifically can comprises: the ratio of the area in the area of this emphasis photometry region and this image preview region is adjusted to default ratio, and this default ratio is between 7.7% to 9.8%.Now, emphasis photometry region only will comprise agent object.
In the present embodiment, the area ratio in emphasis photometry region and image preview region is between 7.7% to 9.8%, can comprise: 7.7% or 9.8%.Preferably, the area ratio in emphasis photometry region and image preview region can be: 7.8%, 8%, 8.1%, 8.5%, 8.8%, 9%, 9.5% etc.
In actual applications, general intelligence terminal display area is formed by pixel, and the number of the size pixel of viewing area is weighed, therefore, preferably, in the present embodiment, emphasis photometry region is made up of pixel, and described image preview region is made up of pixel; Now emphasis photometry region and the area ratio in image preview region are attached most importance to the ratio of pixel number that pixel number that photometry region comprises comprises with image preview region.Such as, in resolution be 1080*1920 terminal screen on, the pixel quantity that image preview region comprises is 540*1080, and the pixel quantity that emphasis photometry region comprises is 500*375, and now the area ratio in emphasis photometry region and image preview region is 500*375/540*1080.
When the present embodiment method can be applied to intelligent terminal, when to be such as applied in screen resolution be the intelligent terminal of 1080*1920, if the quantity of pixel is 1440*1080 in the preview area that the intelligent terminal under this resolution is formed when taking, and when the pixel quantity ratio in emphasis photometry region and described image preview region is 8%, the pixel quantity that emphasis photometry region comprises can be 407*305, it is less than the intelligent terminal pixel quantity (being generally 500*375) that emphasis photometry region comprises when taking that existing screen resolution is 1080*1920,
When the ratio of the pixel quantity in emphasis photometry region and described image preview region is 8.5%, the pixel quantity of emphasis photometry region is 419*314; When the pixel quantity ratio in emphasis photometry region and described image preview region is 9%, the pixel quantity that emphasis photometry region comprises is 432*324, and it is less than the intelligent terminal pixel quantity (being generally 500*375) that emphasis photometry region comprises when taking that existing screen resolution is 1080*1920.
Along with the development of screen display technology, the resolution of screen is more and more higher, when such as the present embodiment method being applied on the intelligent terminal that screen resolution is 2048*1536, the pixel quantity of the preview area that intelligent terminal is formed when taking is then 1774*1330, now, if the pixel quantity ratio in emphasis photometry region and described image preview region is 8%, the pixel quantity of emphasis photometry region is then 502*376;
If the pixel quantity ratio in emphasis photometry region and described image preview region is 8.5%, emphasis photometry region pixel quantity is 517*388; If when the pixel quantity ratio in emphasis photometry region and described image preview region is 9%, the pixel quantity of emphasis photometry region is 533*400.
Have multiple according to the mode of agent object formation emphasis photometry region in the present embodiment, such as can determine emphasis photometry region by marquee, now can be adjusted the area of emphasis photometry region by the area being adjusted to marquee; Namely also step " forms emphasis photometry region according to described agent object " and can comprise in described image preview region: is formed in this image preview region according to this agent object and be used for the marquee that frame selects this agent object, this marquee region that institute's frame selects in this preview image is this emphasis photometry region;
Now, step " adjusts the area of described emphasis photometry region, only comprises described agent object to make described emphasis photometry region " and can specifically comprise: the area adjusting described marquee, with make described marquee only frame select described agent object.Particularly, marquee rea adjusting process can be called to adjust area.Such as, carry out in the process of taking utilizing intelligent terminal, intelligent terminal shows the preview image of object to be captured in image preview region, receive the selection instruction of user's input, and according to the agent object in this rotate instruction determination preview image, afterwards, in image preview region, form a marquee (such as AE frame), containing this agent object in this marquee, now namely marquee to attach most importance to photometry region at the image-region that preview image center selects.
Again such as, utilize in the process of touch-screen taking photograph of intelligent mobile phone, after user clicks in preview image, the agent object in preview image is determined in the position that smart mobile phone can be clicked according to user, can form the marquee that a frame selects agent object afterwards, now namely this marquee to attach most importance to photometry region at the image-region that preview image center selects.
In actual applications, because emphasis photometry region is the image-region choosing circle choosing, therefore, the area ratio in emphasis photometry region and image preview region is between 7.7% to 9.8%, also the area ratio in circle favored area and image preview region is namely chosen between 7.7% to 9.8%, if when ignoring the edge width of marquee, be equivalent to the area ratio in marquee and image preview region between 7.7% to 9.8%.
Step S102, carries out light-metering to emphasis photometry region, to obtain the monochrome information of emphasis photometry region.
After determining agent object and emphasis photometry region by step S101, then the light that can reflect according to agent object carries out light-metering to agent object.Described light-metering, namely measures the brightness that subject reflects, is also referred to as reflective light-metering.Exposure Metering is divided into External metering and interior light-metering two kinds of modes by the riding position of photometry element is unusual.
External metering: outside in Exposure Metering, the light path of photometry element and camera lens is separately independently.This Exposure Metering is widely used in looking squarely in viewing lens shutter camera, and it has enough sensitivity and accuracy.Single-sens reflex camera does not generally use this Exposure Metering.
Interior light-metering: this Exposure Metering carries out light-metering by camera lens, consistent with photography conditions, change camera lens or photo distance change, add filter time all can carry out automatic calibration.
Carry out light-metering according to described agent object, whole monochrome informations of whole pixel can be measured, then average, thus camera according to the brightness of agent object, can be mated suitable exposure, obtain clear photograph.When there is multiple main body in image, when the brightness of especially multiple agent object is not identical, then can receive the instruction of user, selecting user to wish the agent object exposed.Such as in a preview image, an object trial of strength.Another object is then comparatively dark, now can wish according to user the agent object taken and specifically carry out selecting to need the agent object of light-metering, carry out light-metering, obtain monochrome information to it.
Step S103, the monochrome information according to emphasis photometry region exposes.
When exposing according to the monochrome information of described agent object, when ISO (English full name is InternationalStandardizationOrganization Chinese photosensitivity by name) is constant, realize the adjustment to image brightness by adjustment camera aperture size or shutter speed.If agent object is partially dark, exposure value can be increased, to highlight the definition of picture.
As from the foregoing, the method of the present embodiment automatic exposure, by forming the emphasis photometry region only comprising agent object, improves the accuracy of emphasis photometry region brightness measurement, makes brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect; Particularly, the area ratio in the area of emphasis photometry region and image preview region is arranged between 7.7% to 9.8%, when image preview region area is determined, compared with prior art, reduce the area of emphasis photometry region, thus improve the accuracy of emphasis photometry region brightness measurement, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect, bring experience of better taking pictures to user; In addition, it is low that the method for the present embodiment automatic exposure can also have implementation cost, the advantages such as applied range.
Embodiment two:
According to the method described by embodiment one, below citing is described further.
In the present embodiment, be described further so that embodiment one method is applied to intelligent terminal.
Refer to Fig. 2, the schematic flow sheet of the method for a kind of automatic exposure that Fig. 2 provides for the embodiment of the present invention two.The method of this automatic exposure, comprises the following steps:
Step S201, intelligent terminal triggers the preview image forming object to be captured in image preview region.
Such as, when user opens the camera function shooting landscape of intelligent terminal, first intelligent terminal runs camera application program, calls the camera shooting landscape of intelligent terminal, with the preview screen of the display of image preview region in screen landscape.
The step of the preview image of certain triggering object to be captured not only can be realized by user's touch-control, also can come position location by button, and effect is then the same.
Step S202, the agent object in this preview image determined by intelligent terminal.
Specifically, intelligent terminal obtains the selection instruction that user is triggered by display screen, and then in preview image, determine agent object according to this selection instruction, this agent object can be people, animal, house, automobile etc.
Such as, user is when utilizing intelligent terminal to take landscape, and click certain scenery in landscape preview image after, intelligent terminal will obtain corresponding instruction, then determines that the scenery clicked is agent object according to this instruction.
S203, intelligent terminal forms emphasis photometry region according to this agent object in this image preview region, and this emphasis photometry region comprises described agent object.
Particularly, intelligent terminal, after determining agent object, can call corresponding photometry region and form process, run this process and make it in this image preview region, form emphasis photometry region according to this agent object.
Preferably, intelligent terminal can form emphasis photometry region by the mode generating marquee, also namely step " intelligent terminal forms emphasis photometry region according to this agent object in this image preview region " specifically can comprise: formed in this image preview region according to this agent object and be used for the marquee that frame selects this agent object, and the region of this marquee institute's frame choosing in described preview image is this emphasis photometry region.In preview image, such as form the AE frame of a rectangle, for determining emphasis photometry region.
S204, intelligent terminal adjusts the area of this emphasis photometry region, only comprises described agent object to make described emphasis photometry region.
Particularly, intelligent terminal calls the area of rea adjusting process to emphasis photometry region and adjusts, preferably, the ratio of the area in the area of this emphasis photometry region and this image preview region is adjusted to default ratio, and this default ratio is between 7.7% to 9.8%.
When utilizing marquee to form emphasis photometry region, step " adjusts the area of this emphasis photometry region; only comprise this agent object to make this emphasis photometry region " and can comprise: the area adjusting this marquee, with make this marquee only frame select described agent object.The region choosing circle choosing so only comprises agent object, and also namely emphasis photometry region only comprises agent object.
In order to improve exposure accuracy further, preferably, step " is formed according to this agent object and selects the marquee of described agent object for frame " and specifically can comprise in this image preview region:
Obtain the profile of agent object in image preview region; According to this profile form the marquee of correspondingly-shaped in this image preview region.
Such as user is when taking pictures, if the agent object chosen is object that is circular or similar circle, the frame so generated selects the marquee of described agent object also can be circular, if the agent object chosen is the object rectangle of rectangle or similar rectangle, the marquee so generated also can be rectangle.Like this just make other objects outside agent object the least possible appear in the middle of described marquee, improve the accuracy of light-metering, and then promote the exposure effect of photo.
Again such as, user is when taking pictures in order to emphasis claps certain object in preview image, and after user clicks this object in picture with hand, phase chance generates with emphasis photometry region, and described emphasis photometry region comprises this object, and now this object is agent object.
Step S205, intelligent terminal is formation association photometry region around emphasis photometry region.
Such as, user adopt intelligent terminal take pictures time using A object as agent object, first the A clicked in preview screen forms emphasis photometry region, and light-metering is carried out to it, then intelligent terminal can search for other objects such as B and C be associated automatically around A object, is formed associate photometry region according to object B with C.
Preferably, the present embodiment can form association photometry region by the mode choosing circle choosing, such as when taking sky, certain region of sky a is clicked in the preview image that user shows at intelligent terminal, now, intelligent terminal will form the sky areas a that a marquee A frame lives to click, simultaneously, around this click on area, form association marquee B, select the neighboring area b of this click on area a in order to frame
Step S206, intelligent terminal to emphasis photometry region with associate photometry region and carry out light-metering respectively.
Because association photometry region and emphasis photometry region are in close relations, so in order to finally obtain exposure effect more accurately, also will carry out light-metering to association photometry region, improving exposure accuracy, and then raising imaging effect.
In the present embodiment, as the example mentioned in step S203, user when taking pictures using A object as agent object, first the A clicked in preview screen forms emphasis photometry region, and light-metering is carried out to it, then phase chance searches for other objects such as B and C be associated automatically around A object, is formed and associates photometry region, and also carry out independent light-metering to described association photometry region according to object B with C.
Step S207, intelligent terminal obtains emphasis photometry region and the monochrome information associating photometry region.
After light-metering is carried out to emphasis photometry region and association photometry region geography, obtain the monochrome information of described emphasis photometry region and the monochrome information of described association photometry region.
Step S208, the monochrome information according to emphasis photometry region exposes with the described monochrome information associating photometry region.
In the present embodiment, the monochrome information comparison film that the monochrome information recorded by described emphasis photometry region and described association photometry region are recorded exposes.
Such as, form association photometry region B and C around emphasis photometry region A, it is accurate that the monochrome information that the monochrome information only obtained according to A carries out exposing with good grounds A, B and C unlikely carries out exposing the final effect obtained.
Particularly, this step comprises: to assign weight ratio to the monochrome information of emphasis photometry region and association photometry region; Weight ratio according to emphasis photometry region and described association photometry region calculates final monochrome information.
In the present embodiment, because the monochrome information of emphasis photometry region is different from the significance level of the monochrome information of described associated region, think that it distributes different weight ratios, the weight ratio of described emphasis photometry region is higher than the weight ratio of described association photometry region, such as, when calculating final monochrome information subsequently, the monochrome information of described emphasis photometry region accounts for 70%, and the monochrome information of described association photometry region accounts for 30%; Or the monochrome information of described emphasis photometry region accounts for 65%, the monochrome information of described association photometry region accounts for 35%.
Such as, X to the brightness value obtained after the light-metering of emphasis photometry region, Y to the brightness value obtained after association photometry region light-metering, when calculating final monochrome information, if account for 70% according to the monochrome information of described emphasis photometry region, when the monochrome information of described association photometry region accounts for 30%, final brightness value is exactly X*70%+Y*30%; Or the monochrome information of described emphasis photometry region accounts for 65%, the monochrome information of described association photometry region accounts for 35%, then final brightness is X*65%+Y*35%.
As can be seen here, the method of the present embodiment automatic exposure, by forming the emphasis photometry region only comprising agent object, improves the accuracy of emphasis photometry region brightness measurement, makes brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect; Particularly, the area ratio in the area of emphasis photometry region and image preview region is arranged between 7.7% to 9.8%, when image preview region area is determined, compared with prior art, reduce the area of emphasis photometry region, thus improve the accuracy of emphasis photometry region brightness measurement, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect, bring experience of better taking pictures to user; ; In addition, the method of the present embodiment automatic exposure also carries out light-metering to the association photometry region of emphasis photometry region, expose with the monochrome information associating photometry region with it according to emphasis photometry region, exposure accuracy can be improved further, and then improve imaging effect.
Embodiment three:
Refer to Fig. 3, the structural representation of the device of a kind of automatic exposure that Fig. 3 provides for the embodiment of the present invention three.The device of this automatic exposure, comprising:
Trigger module 301, forms the preview image of object to be captured in image preview region for triggering terminal;
Emphasis photometry region generation module 302, for after the agent object determining described preview image, forms the emphasis photometry region only comprising described agent object in described image preview region;
Light-metering module 303, for carrying out light-metering to described emphasis photometry region, to obtain the monochrome information of described photometry region;
Exposure module 304, for exposing according to described monochrome information.
Preferably, with reference to figure 4, in the present embodiment, emphasis photometry region generation module 302 specifically comprises:
Emphasis photometry region adjusting module 3021, for adjusting the area of described emphasis photometry region, only comprises described agent object to make described emphasis photometry region;
Marquee generation module 3022, is used for the marquee that frame selects described agent object, to determine emphasis photometry region for being formed in described image preview region; Wherein, described emphasis photometry region is the region that described marquee selects at described preview image center;
Marquee generates submodule 3023, for obtaining the profile of described agent object, forms the marquee of correspondingly-shaped according to described profile in described image preview region, and described marquee is used for frame and selects described agent object.
Preferably, with reference to figure 5, on said structure basis, the device of the automatic exposure of the present embodiment, also comprises association photometry region and forms module 305;
Association photometry region forms module 305, for after described determination module determination emphasis photometry region, and formation association photometry region around emphasis photometry region described in described image preview region;
Wherein, light-metering module 303, also for carrying out light-metering to described association photometry region, to obtain the monochrome information of association photometry region;
Exposure module 304, exposes with the described brightness associating photometry region specifically for the brightness according to emphasis photometry region.
The method of the present embodiment automatic exposure is by forming the emphasis photometry region only comprising agent object, improve the accuracy of emphasis photometry region brightness measurement, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect; Particularly, the area ratio in the area of emphasis photometry region and image preview region is arranged between 7.7% to 9.8%, when image preview region area is determined, compared with prior art, reduce the area of emphasis photometry region, thus improve the accuracy of emphasis photometry region brightness measurement, make brightness convergence in convergence process more accurate, and then avoid intelligent terminal generation overexposure, improve imaging effect, bring experience of better taking pictures to user; In addition, the method of the present embodiment automatic exposure also carries out light-metering to the association photometry region of emphasis photometry region, expose with the monochrome information associating photometry region with it according to emphasis photometry region, exposure accuracy can be improved further, and then improve imaging effect.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part described in detail in certain embodiment, see above for the detailed description of transmission of news mode recognition methods, can repeat no more herein.
The device of the automatic exposure that the embodiment of the present invention provides, be for example computer, panel computer, the mobile phone with touch function etc., the method of the automatic exposure in the device of described biography automatic exposure and foregoing embodiments belongs to same design, the device of described automatic exposure can run the either method provided in the embodiment of the method for described automatic exposure, its specific implementation process refers to described reminding method embodiment, repeats no more herein.
It should be noted that, for the method for automatic exposure of the present invention, this area common test personnel are appreciated that all or part of flow process of the method realizing automatic exposure described in the embodiment of the present invention, that the hardware that can control to be correlated with by computer program has come, described computer program can be stored in a computer read/write memory medium, as being stored in the memory of terminal, and performed by least one processor in this terminal, can comprise in the process of implementation as described in the flow process of embodiment of method of automatic exposure.Wherein, described storage medium can be magnetic disc, CD, read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory) etc.
For the device of the described automatic exposure of the embodiment of the present invention, its each functional module can be integrated in a process chip, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium, described storage medium such as be read-only memory, disk or CD etc.
Above the method and apparatus of a kind of automatic exposure that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for automatic exposure, is characterized in that, comprises the steps:
Triggering terminal forms the preview image of object to be captured in image preview region;
Determine the agent object in described preview image, and in described image preview region, form the emphasis photometry region only comprising described agent object;
Light-metering is carried out to described emphasis photometry region, to obtain the monochrome information of described photometry region;
Expose according to described monochrome information.
2. the method for automatic exposure as claimed in claim 1, it is characterized in that, the described step forming the emphasis photometry region only comprising described agent object in image preview region specifically comprises:
In described image preview region, form emphasis photometry region according to described agent object, described emphasis photometry region comprises described agent object;
Adjust the area of described emphasis photometry region, only comprise described agent object to make described emphasis photometry region.
3. the method for automatic exposure as claimed in claim 2, it is characterized in that, the step of the area of the described emphasis photometry region of described adjustment specifically comprises:
The ratio of the area in the area of described emphasis photometry region and described image preview region is adjusted to default ratio, and described default ratio is between 7.7% to 9.8%.
4. the method for automatic exposure as claimed in claim 2, is characterized in that, the described step forming emphasis photometry region according to described agent object in described image preview region specifically comprises:
Formed in described image preview region according to described agent object and be used for the marquee that frame selects described agent object, the region of described marquee institute's frame choosing in described preview image is described emphasis photometry region;
The area of the described emphasis photometry region of described adjustment, specifically comprises with the step making described emphasis photometry region only comprise described agent object:
Adjust the area of described marquee, with make described marquee only frame select described agent object.
5. the method for automatic exposure as claimed in claim 4, is characterized in that, described formation in described image preview region according to described agent object selects the step of the marquee of described agent object specifically to comprise for frame:
Obtain the profile of described agent object;
In described image preview region, form the marquee of correspondingly-shaped according to described profile, described marquee is used for frame and selects described agent object.
6. the method for the automatic exposure as described in any one of claim 1-5, is characterized in that, after determining emphasis photometry region, the method for described automatic exposure also comprises:
Formation association photometry region around emphasis photometry region described in described image preview region;
Light-metering is carried out to described association photometry region, to obtain the monochrome information of association photometry region;
Described step of carrying out exposing according to described monochrome information comprises:
Monochrome information according to emphasis photometry region exposes with the described monochrome information associating photometry region.
7. a device for automatic exposure, is characterized in that, comprising: trigger module, emphasis photometry region generation module, light-metering module and exposure module;
Trigger module, forms the preview image of object to be captured in image preview region for triggering terminal;
Emphasis photometry region generation module, for determining the agent object in described preview image, and forms the emphasis photometry region only comprising described agent object in described image preview region;
Light-metering module, carries out light-metering to described emphasis photometry region, to obtain the monochrome information of described photometry region;
Exposure module, exposes according to described monochrome information.
8. the device of automatic exposure as claimed in claim 7, it is characterized in that, described emphasis photometry region generation module specifically comprises:
Emphasis photometry region adjusting module, for adjusting the area of described emphasis photometry region, only comprises described agent object to make described emphasis photometry region.
9. the device of automatic exposure as claimed in claim 8, is characterized in that, described photometry region adjusting module specifically for:
The ratio of the area in the area of described emphasis photometry region and described image preview region is adjusted to default ratio, and described default ratio is between 7.7% to 9.8%.
10. the device of the automatic exposure as described in any one of claim 7-9, is characterized in that, also comprises: association photometry region forms module;
Described association photometry region forms module, for after described determination module determination emphasis photometry region, and formation association photometry region around emphasis photometry region described in described image preview region;
Wherein, described light-metering module, also for carrying out light-metering to described association photometry region, to obtain the monochrome information of association photometry region;
Described exposure module, exposes with the described brightness associating photometry region specifically for the brightness according to emphasis photometry region.
CN201510649454.6A 2015-10-08 2015-10-08 A kind of method and apparatus of automatic exposure Active CN105227857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510649454.6A CN105227857B (en) 2015-10-08 2015-10-08 A kind of method and apparatus of automatic exposure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510649454.6A CN105227857B (en) 2015-10-08 2015-10-08 A kind of method and apparatus of automatic exposure

Publications (2)

Publication Number Publication Date
CN105227857A true CN105227857A (en) 2016-01-06
CN105227857B CN105227857B (en) 2018-05-18

Family

ID=54996507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510649454.6A Active CN105227857B (en) 2015-10-08 2015-10-08 A kind of method and apparatus of automatic exposure

Country Status (1)

Country Link
CN (1) CN105227857B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959591A (en) * 2016-05-30 2016-09-21 广东欧珀移动通信有限公司 Local HDR implementation method and system
CN106506982A (en) * 2016-12-07 2017-03-15 浙江宇视科技有限公司 A kind of method for obtaining photometric parameter, device and terminal unit
CN108259773A (en) * 2018-01-31 2018-07-06 维沃移动通信有限公司 A kind of image pickup method and device
CN108955518A (en) * 2017-05-18 2018-12-07 武汉斗鱼网络科技有限公司 A kind of survey light processing method, system and equipment based on image recognition
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
WO2020024196A1 (en) * 2018-08-01 2020-02-06 深圳市大疆创新科技有限公司 Method for adjusting parameters of photographing device, control device and photographing system
US10713767B2 (en) 2017-07-10 2020-07-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest
CN111886854A (en) * 2018-03-29 2020-11-03 索尼公司 Exposure control device, exposure control method, program, imaging device, and moving object
CN112399065A (en) * 2019-08-12 2021-02-23 青岛海信移动通信技术股份有限公司 Method and equipment for adjusting focal length
CN114257738A (en) * 2021-11-30 2022-03-29 上海闻泰信息技术有限公司 Automatic exposure method, device, equipment and storage medium
CN115474007A (en) * 2022-08-12 2022-12-13 北京城市网邻信息技术有限公司 Shooting method, shooting device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582985A (en) * 2008-12-09 2009-11-18 王玉龙 Digital scene-touching technique camera
CN102819332A (en) * 2011-06-07 2012-12-12 联想(北京)有限公司 Multi-point light metering method, multi-point light metering device and display processing device
CN102821247A (en) * 2011-06-07 2012-12-12 联想(北京)有限公司 Display processing equipment and display processing method
CN104219518A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Photometry method and device
CN104320654A (en) * 2014-10-28 2015-01-28 小米科技有限责任公司 Light metering method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582985A (en) * 2008-12-09 2009-11-18 王玉龙 Digital scene-touching technique camera
CN102819332A (en) * 2011-06-07 2012-12-12 联想(北京)有限公司 Multi-point light metering method, multi-point light metering device and display processing device
CN102821247A (en) * 2011-06-07 2012-12-12 联想(北京)有限公司 Display processing equipment and display processing method
CN104219518A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Photometry method and device
CN104320654A (en) * 2014-10-28 2015-01-28 小米科技有限责任公司 Light metering method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959591A (en) * 2016-05-30 2016-09-21 广东欧珀移动通信有限公司 Local HDR implementation method and system
CN106506982A (en) * 2016-12-07 2017-03-15 浙江宇视科技有限公司 A kind of method for obtaining photometric parameter, device and terminal unit
CN106506982B (en) * 2016-12-07 2019-12-13 浙江宇视科技有限公司 method and device for obtaining photometric parameters and terminal equipment
CN108955518A (en) * 2017-05-18 2018-12-07 武汉斗鱼网络科技有限公司 A kind of survey light processing method, system and equipment based on image recognition
CN108955518B (en) * 2017-05-18 2020-06-16 武汉斗鱼网络科技有限公司 Light metering processing method, system and equipment based on image recognition
US10713767B2 (en) 2017-07-10 2020-07-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest
CN108259773A (en) * 2018-01-31 2018-07-06 维沃移动通信有限公司 A kind of image pickup method and device
US11363212B2 (en) 2018-03-29 2022-06-14 Sony Corporation Exposure control device, exposure control method, program, imaging device, and mobile body
CN111886854A (en) * 2018-03-29 2020-11-03 索尼公司 Exposure control device, exposure control method, program, imaging device, and moving object
WO2020024196A1 (en) * 2018-08-01 2020-02-06 深圳市大疆创新科技有限公司 Method for adjusting parameters of photographing device, control device and photographing system
CN110771147A (en) * 2018-08-01 2020-02-07 深圳市大疆创新科技有限公司 Method for adjusting parameters of shooting device, control equipment and shooting system
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
CN112399065A (en) * 2019-08-12 2021-02-23 青岛海信移动通信技术股份有限公司 Method and equipment for adjusting focal length
CN114257738A (en) * 2021-11-30 2022-03-29 上海闻泰信息技术有限公司 Automatic exposure method, device, equipment and storage medium
WO2023098743A1 (en) * 2021-11-30 2023-06-08 上海闻泰信息技术有限公司 Automatic exposure method, apparatus and device, and storage medium
CN115474007A (en) * 2022-08-12 2022-12-13 北京城市网邻信息技术有限公司 Shooting method, shooting device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN105227857B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN105227857A (en) A kind of method and apparatus of automatic exposure
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
CN108777767A (en) Photographic method, device, terminal and computer readable storage medium
CN106534714B (en) Exposal control method, device and electronic equipment
US10949958B2 (en) Fast fourier color constancy
CN109889724B (en) Image blurring method and device, electronic equipment and readable storage medium
CN107920211A (en) A kind of photographic method, terminal and computer-readable recording medium
CN111586282B (en) Shooting method, shooting device, terminal and readable storage medium
CN107820020A (en) Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
CN104333710A (en) Camera exposure method, camera exposure device and camera exposure equipment
CN110493538A (en) Image processing method, device, storage medium and electronic equipment
CN109729274B (en) Image processing method, image processing device, electronic equipment and storage medium
CN109218627A (en) Image processing method, device, electronic equipment and storage medium
WO2018210318A1 (en) Blurring method and apparatus for image, storage medium, and electronic device
CN108337445A (en) Photographic method, relevant device and computer storage media
CN109194882A (en) Image processing method, device, electronic equipment and storage medium
CN109040603A (en) High-dynamic-range image acquisition method, device and mobile terminal
CN104853106A (en) Information processing method and electronic equipment
CN108200351A (en) Image pickup method, terminal and computer-readable medium
CN109361853B (en) Image processing method, image processing device, electronic equipment and storage medium
CN112822412B (en) Exposure method, exposure device, electronic equipment and storage medium
CN103905732A (en) Shooting method and shooting device
CN109919116B (en) Scene recognition method and device, electronic equipment and storage medium
US10708499B2 (en) Method and apparatus having a function of constant automatic focusing when exposure changes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.