CN106060422B - A kind of image exposure method and mobile terminal - Google Patents

A kind of image exposure method and mobile terminal Download PDF

Info

Publication number
CN106060422B
CN106060422B CN201610533216.3A CN201610533216A CN106060422B CN 106060422 B CN106060422 B CN 106060422B CN 201610533216 A CN201610533216 A CN 201610533216A CN 106060422 B CN106060422 B CN 106060422B
Authority
CN
China
Prior art keywords
frame image
exposure
image
odd
exposure parameter
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.)
Active
Application number
CN201610533216.3A
Other languages
Chinese (zh)
Other versions
CN106060422A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610533216.3A priority Critical patent/CN106060422B/en
Publication of CN106060422A publication Critical patent/CN106060422A/en
Application granted granted Critical
Publication of CN106060422B publication Critical patent/CN106060422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

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

Abstract

The present invention provides a kind of image exposure method and mobile terminals, first frame image is obtained the method comprise the steps that exposing with the first exposure parameter, it is exposed with the second exposure parameter and obtains the second frame image, wherein the first frame image and the second frame image are the image of camera continuous acquisition;According to predetermined local viewfinder range, the topography being overlapped in the second frame image with local viewfinder range is obtained;The first frame image and the topography are merged, generated a preview image.The image exposure scheme provided through the invention, the exposure effect that can only treat some region in exposure image are adjusted, therefore are able to ascend the quality of captured exposure image.

Description

A kind of image exposure method and mobile terminal
Technical field
The present invention relates to technical field of image processing, more particularly, to a kind of image exposure method and mobile terminal.
Background technique
When the shooting or find a view of image is shown, control camera, which carries out reasonable exposure according to exposure compensating appropriate, is To the vital condition of the image of high quality.Current mobile terminal mostly supports to manually adjust exposure, manually adjusts exposure Light can be accomplished by the following way: user exposes item by clicking setting button and triggering mobile terminal and show on the screen, uses By the vernier in sliding exposure item, exposure compensating when can be to image taking is configured at family, reaches adjusting exposure effect Purpose.
Currently, mobile terminal is integrally carried out at identical exposure compensating to image Reason, that is to say, that if user wants to adjust the exposure effect in some region in image, other regions can also be adjusted in the image Whole is identical exposure effect.Such as: when carrying out Manual exposure processing to certain image, the image for dark place in promotion image is bright It spends and exposure bias value is turned up, then, though finally exposing the regional luminance of image dark place out can get a promotion, not The case where higher region of brightness ratio then will appear overexposure before exposure compensating.
As it can be seen that existing image exposure scheme, because can not only adjust the exposure effect in some region in image to be exposed, therefore The exposure image of high quality can not be obtained out.
Summary of the invention
The embodiment of the present invention provides a kind of image exposure method and mobile terminal, to solve in existing image procossing scheme The existing exposure that can not obtain out high quality in image to be exposed caused by the exposure effect in some region because can not only adjust The problem of light image.
In a first aspect, the embodiment of the invention provides a kind of image exposure methods, which comprises with the first exposure ginseng Number exposure obtains first frame image, is exposed with the second exposure parameter and obtains the second frame image, wherein the first frame image and the Two frame images are the image of camera continuous acquisition;According to predetermined local viewfinder range, the second frame image is obtained In the topography that is overlapped with local viewfinder range;The first frame image and the topography are merged, generated pre- Look at image.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: that the first image obtains Modulus block is obtained first frame image for being exposed with the first exposure parameter, is exposed with the second exposure parameter and obtain the second frame image, Wherein, the first frame image and the second frame image are the image of camera continuous acquisition;Topography obtains module, is used for root According to predetermined local viewfinder range, the topography being overlapped in the second frame image with local viewfinder range is obtained;It closes And module is generated a preview image for merging to the first frame image and the topography.
Image exposure method and mobile terminal provided in an embodiment of the present invention obtain continuous acquisition with different exposure parameters Two field pictures, and the topography in a wherein frame image is extracted and merges generation preview graph with another frame image Picture.Since this two field pictures of acquisition are that the therefore exposure effect that shooting obtains under different exposure parameters is different, correspondingly close And in the exposure effect and image of topography being merged into the preview image generated other regions exposure effect then not Together, the purpose that the exposure effect in some region in exposure image is adjusted only is treated to realize, therefore is able to ascend and is clapped Take the photograph the quality of exposure image.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of step flow chart of image exposure method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of image exposure method of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention five;
Fig. 6 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention six.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of flow chart of image exposure method of the embodiment of the present invention one is shown.
The image exposure method of the embodiment of the present invention the following steps are included:
Step S101: being exposed with the first exposure parameter and obtain first frame image, obtains second with the exposure of the second exposure parameter Frame image.
Wherein, first frame image and the second frame image are the image of camera continuous acquisition.Since both images are to take the photograph Object as the image of head continuous acquisition, therefore in image is undifferentiated.Camera acquired image can be on backstage It is obtained by way of taking pictures, is also possible to the image that preview is shown in preview interface.
It should be noted that the first exposure parameter, the second exposure parameter can be preset by user, it can also be by moving Terminal is obtained according to the image analysis that camera collects before the first frame image, the second frame image.
Step S102: according to predetermined local viewfinder range, obtain in the second frame image with local viewfinder range weight The topography of conjunction.
Wherein, local viewfinder range can be delimited manually by user, can also be by mobile terminal according in image to be captured The bright-dark degree in each region automatically determines, and can also determine that part takes according to the shooting main body in image to be captured by mobile terminal Scape range.
Such as: the shooting main body of image to be captured is one tree, and background is meadow and blue sky.Mobile terminal can be known automatically Not Pai She main body, by the tree in image to be captured be determined as shoot main body, will tree region be determined as local viewfinder range.That , when obtaining topography, the second frame region image Zhong Shu is the topography being overlapped with local viewfinder range.
Step S103: first frame image and topography are merged, generated a preview image.
When merging, the first partial image being overlapped in first frame image with local viewfinder range can be determined;It adopts Union operation can be completed with from the first partial image in the topography's replacement first frame extracted in the second frame image, it is raw At preview image.Topography can show the exposure effect different from other regions in preview image generated.
Such as: the exposure effect of first frame image is A effect, and the exposure effect of the second frame image is B effect, by the second frame After the topography being overlapped with local viewfinder range in image is merged into first frame image, office in the preview image that is merged into The exposure effect of portion's image is then B, and the exposure effect in other regions is then A, and therefore, topography can show in preview image The exposure effect different from other regions.
Image exposure method provided in an embodiment of the present invention obtains the two field pictures of continuous acquisition with different exposure parameters, And the topography in a wherein frame image is extracted to merge with another frame image and is generated a preview image.Due to obtaining This two field pictures be that the therefore exposure effect that obtains under different exposure parameters is different, correspondingly merge the preview image of generation In the exposure effect of topography that is merged into and in image other regions exposure effect it is then different, thus realize it is only right The purpose that the exposure effect in some region is adjusted in image to be exposed, therefore it is able to ascend the quality of captured exposure image.
Embodiment two
Referring to Fig. 2, a kind of flow chart of image exposure method of the embodiment of the present invention two is shown.
The image exposure method of the embodiment of the present invention the following steps are included:
Step S201: mobile terminal determines local viewfinder range.
Part viewfinder range is determined before image exposure and target light exposure effect is two necessary conditions.Target light exposure effect Fruit can be configured specific set-up mode referring to the correlation in step S204 by user after determining local viewfinder range Explanation.Determine part viewfinder range when, can in the following way in any one:
The first: the region for meeting setting condition in preview interface is determined as local viewfinder range by mobile terminal.
Wherein, the region for meeting setting condition, which can be, shoots region shared by main body in image, be also possible in image Brightness is lower than the region of the first preset threshold, can also be that brightness is higher than the region of the second preset threshold in image.
Second: mobile terminal receives user and operates to the first setting of local viewfinder range, according to the first setting operation Determine part viewfinder range.
User can delimit a range manually in preview interface, and the range that mobile terminal delimit user manually determines For local viewfinder range.
The third: the region for meeting setting condition in preview interface is determined as local viewfinder range by mobile terminal, and Determining local viewfinder range is demarcated in preview interface;And receive user and the adjustment of the local viewfinder range of calibration is operated, it will Region adjusted is determined as local viewfinder range.
The third mode is automatically with the mode that is combined manually, and mobile terminal automatically determines a part first and find a view model It encloses, and the determining range is demarcated in preview screen.When the local viewfinder range calibrated is unsatisfactory for user demand When, user can be adjusted the range of calibration manually until meeting self-demand, and mobile terminal is then adjusted by user Region is determined as local viewfinder range.
Step S202: the first odd-numbered frame image and the first even frame image of acquisition for mobile terminal camera continuous acquisition.
Wherein, acquisition includes taking pictures to show that two kinds of situations, camera acquired image can be logical on backstage with preview It crosses the mode taken pictures to obtain, is also possible to the image that preview is shown in preview interface.
Step S203: mobile terminal carries out automatic exposure calculating to the first odd-numbered frame image, obtains the first exposure parameter.
It is a kind of that automatic exposure calculating preferably being carried out to the first odd-numbered frame image, obtain the mode of the first exposure parameter such as Under:
S1: the first brightness value and the corresponding target brightness value of automatic exposure of the first odd-numbered frame image are determined.
Due to the brightness of pixel each in different images, the brightness value of every frame image is also different.Image brightness values It determines and participates in the relevant technologies, this is not specifically limited in the embodiment of the present invention.Such as: it can be by by picture in image The brightness value of vegetarian refreshments is averaging, and averaging of income value is determined as the corresponding brightness value of image.
It can be automatic according to brightness of image to be captured and current environment brightness when mobile terminal is to image progress automatic exposure Determine target brightness value.
S2: by calculating the first brightness value and target brightness value, the first exposure parameter is obtained.
Why processing is exposed to image, it is therefore an objective to brightness value image identical with target brightness value is obtained, and Such image then needs mobile terminal to treat shooting image according to certain exposure parameter to be exposed and be likely in order to obtain It realizes.Therefore, it needs that the first exposure parameter is calculated according to the first brightness value and target brightness value in this step, as adopting Collect exposure parameter when next frame odd-numbered frame image.
Step S204: mobile terminal adjusts operation according to the first exposure of user and is exposed meter to the first even frame image It calculates, obtains the second exposure parameter.
It includes: the operation such as brightness regulation, exposure compensating condition that exposure, which adjusts operation, adjusts adjustable movement by exposure Exposure parameter of the terminal when shooting image keeps the exposure effect of the image finally shot close or reaches ownership goal exposure effect Fruit.
User can be referred in the preview interface of mobile terminal by clicking specific button when being exposed adjusting operation Show that mobile terminal shows exposure item in preview interface, user adjusts exposure compensating by exposure middle reaches target slide Value or target brightness value.
It is of course also possible to not show exposure item, user is slided up and down in preview interface by finger, can be exposed The adjusting of offset.Such as: user's upward sliding finger is successively mapped as exposure compensating 0 to exposure according to the size of sliding distance Light compensation+4;User's slide downward finger, also according to distance number, be successively mapped as exposure compensating 0 to exposure compensating -4. User's exposure bias value option can also be provided, user is by selecting selection that can be exposed the selection operation of offset.
It is a kind of it is preferred according to user first exposure adjust operation calculating is exposed to the first even frame image, obtain The mode of second exposure parameter is as follows:
S1: the first exposure according to user, which adjusts to operate, determines target light exposure brightness.
When the first exposure of user, which adjusts operation, to be operated for the adjustment to exposure bias value, mobile terminal is mended by exposure Target light exposure brightness can be calculated by repaying value.And it is grasped when the first exposure of user adjusts operation for the adjustment to target brightness value When making, the target brightness value that user adjusts then directly can be determined as target light exposure brightness by mobile terminal.
S2: the second brightness value of the first even frame image is determined.
Corresponding mode is used with the first brightness value for determining the first odd-numbered frame image, that is, can determine the first even frame image The second brightness value.
S3: by calculating the second brightness value and target light exposure brightness, the second exposure parameter is obtained.
It should be noted that step S201 is by the brightness value and target of previous frame image into step S203 The explanation carried out for the mode of the exposure parameter of the determining current image to be exposed of brightness value.During specific implementation, expose Optical parameter is not limited to determine by mobile terminal, can also be preset according to actual needs by user.Correspondingly, Mobile terminal with the first exposure parameter expose obtain first frame image, with the second exposure parameter expose obtain the second frame image it Before, then the first exposure parameter of user preset can be directly acquired, after the second exposure parameter for obtaining user preset, controls camera Respective frame image is shot with the exposure parameter of acquisition respectively.
Step S205: mobile terminal is exposed with the first exposure parameter obtains first frame image, with the exposure of the second exposure parameter Obtain the second frame image.
Wherein, first frame image and the second frame image are the image of camera continuous acquisition.First in the embodiment of the present invention Frame image i.e. the second odd-numbered frame image, the second frame image i.e. the second even frame image.
In the embodiment of the present invention, the collected odd-numbered frame image of camera is separated with even frame image and is handled.It is right When every frame odd-numbered frame image is exposed, the exposure parameter by obtaining to former frame odd-numbered frame image analysis is all made of to image It is exposed;When being exposed to every frame even frame image, it is all made of the exposure by obtaining to former frame even frame image analysis Optical parameter is exposed image.
Step S206: mobile terminal is obtained in the second frame image and is taken with part according to predetermined local viewfinder range The topography that scape range is overlapped.
The topography being overlapped in the second even frame image with local viewfinder range is obtained in this step.
Step S207: mobile terminal merges first frame image and topography, generates a preview image.
When merging, the first partial image being overlapped in first frame image with local viewfinder range is determined;Using from Extracted in second frame image topography replacement first frame in first partial image be with replaced first frame image Preview image, topography can show the exposure effect different from other regions in preview image generated.
After generating a preview image, if the exposure effect of preview image generated is unsatisfactory for user demand, user can be with It carries out the second exposure and adjusts operation, readjust exposure effect.User carries out the second exposure adjusting operation and adjusts with the first exposure It operates similar, exposure effect can be adjusted by adjusting exposure bias value, can also be adjusted by adjusting target brightness value Exposure effect.User carries out the concrete mode that the second exposure adjusts operation, carries out first referring to user described in step S203 Exposure adjusts the related description of operation, is not specifically limited in the embodiment of the present invention to this.
Step S208: mobile terminal carries out automatic exposure calculating to first frame image, obtains third exposure parameter.
Mobile terminal carries out automatic exposure to first frame image and calculates to obtain the concrete mode of third exposure parameter, referring to shifting Dynamic terminal carries out automatic exposure to the first odd-numbered frame image and calculates to obtain the related description of the first exposure parameter, and the present invention is real It applies in example and this is not especially limited.
Why automatic exposure is carried out to i.e. the second odd-numbered frame image of first frame image in this step to calculate to obtain third exposure Optical parameter, it is therefore an objective to processing is exposed to third odd-numbered frame image using third exposure parameter, be more nearly shooting image The exposure effect of user preset.
It should be noted that step S208 is not limited to execute after step S207, first frame figure can obtained Any moment as after executes, naturally it is also possible to execute parallel with step S207.
Step S209: mobile terminal adjusts operation according to the second exposure of user and is exposed calculating to the second frame image, Obtain the 4th exposure parameter.
When calculating four exposure parameters, mobile terminal can adjust to operate according to the second exposure of user determines the second target Expose brightness, while determining the second frame image i.e. third brightness value of the second even frame image, by third brightness value and Second target light exposure brightness is calculated, and the 4th exposure parameter is obtained.
Why the second frame image i.e. the second even frame image is exposed in this step and the 4th exposure ginseng is calculated Number, it is therefore an objective to processing is exposed to third even frame image using the 4th exposure parameter, shooting image is made to be more nearly user Preset exposure effect.
Step S209 is not limited to execute after step S208, can be in any moment after obtaining the second frame image It executes, naturally it is also possible to be executed parallel with step S207, step S208.
Step S210: mobile terminal is exposed with third exposure parameter obtains third odd-numbered frame image, with the 4th exposure parameter Exposure obtains third even frame image.
Wherein, third odd-numbered frame image and third even frame image are the image of camera continuous acquisition.
Step S211: mobile terminal according to predetermined local viewfinder range, obtain in third even frame image with office The topography that portion's viewfinder range is overlapped.
Wherein, local viewfinder range can be identical as the local viewfinder range determined in step S204, can also be different.When After the preview image generated in the complete step S207 of mobile terminal execution, user not only can adjust operation adjustment by the second exposure Exposure effect, can also adjust local viewfinder range, and mobile terminal then needs to redefine local viewfinder range.Therefore, if with Family has adjusted local viewfinder range, then the part determined in the local viewfinder range and step S204 determined in this step is found a view model Enclosing will be different;Conversely, then identical.
Step S212: mobile terminal closes the topography in third odd-numbered frame image and third even frame image And it generates a preview image.
When merging, the second topography being overlapped in third frame image with local viewfinder range can be determined;It adopts Conjunction can be completed with from the second topography in the topography's replacement third odd-numbered frame extracted in third even frame image And operate, it generates a preview image, topography can show the exposure effect different from other regions in preview image generated Fruit.
It is only the image exposure method for generating two frame preview images to the embodiment of the present invention in the embodiment of the present invention It is illustrated, during specific implementation, if the preview image generated is unsatisfactory for user demand, step can be repeated S208 to step S212 generates third frame preview image, the 4th frame preview image etc..
Image exposure method provided in an embodiment of the present invention obtains the two field pictures of continuous acquisition with different exposure parameters, And the topography in a wherein frame image is extracted to merge with another frame image and is generated a preview image.Due to obtaining This two field pictures be that the therefore exposure effect that obtains under different exposure parameters is different, correspondingly merge the preview image of generation In the exposure effect of topography that is merged into and in image other regions exposure effect it is then different, thus realize it is only right The purpose that the exposure effect in some region is adjusted in image to be exposed, therefore it is able to ascend the quality of captured exposure image.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
The mobile terminal of the embodiment of the present invention includes: the first image collection module 301, for the exposure of the first exposure parameter First frame image is obtained, is exposed with the second exposure parameter and obtains the second frame image, wherein the first frame image and the second frame figure Image as being camera continuous acquisition;Topography obtains module 302, is used for according to predetermined local viewfinder range, Obtain the topography being overlapped in the second frame image with local viewfinder range;Merging module 303, for the first frame Image and the topography merge, and generate a preview image.
The mobile terminal of the embodiment of the present invention is when carrying out image exposure, with the two of different exposure parameters acquisition continuous acquisition Frame image, and the topography in a wherein frame image is extracted to merge with another frame image and is generated a preview image. Since this two field pictures of acquisition are the therefore exposure effect differences obtained under different exposure parameters, correspondingly merge generation The exposure effect for the topography being merged into preview image and the exposure effect in regions other in image are then different, thus real Show and only treated the purpose that the exposure effect in some region in exposure image is adjusted, therefore has been able to ascend captured exposure image Quality.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
The mobile terminal of the embodiment of the present invention is advanced optimizing to the mobile terminal in embodiment three, the shifting after optimization Dynamic terminal includes: the first image collection module 401, obtains first frame image for exposing with the first exposure parameter, exposes with second Optical parameter exposure obtains the second frame image, wherein the first frame image and the second frame image are the figure of camera continuous acquisition Picture;Topography obtains module 402, for according to predetermined local viewfinder range, obtain in the second frame image with The topography that local viewfinder range is overlapped;Merging module 403, for being carried out to the first frame image and the topography Merge, generates a preview image.
Preferably, the mobile terminal further include: the second image collection module 404, for being obtained in the first image Module 401 is exposed with the first exposure parameter obtains first frame image, is exposed before obtaining the second frame image with the second exposure parameter, Obtain the first odd-numbered frame image and the first even frame image of camera continuous acquisition;First exposure parameter determining module 405 is used In carrying out automatic exposure calculating to the first odd-numbered frame image, the first exposure parameter is obtained;Second exposure parameter determining module 406, operation is adjusted for the first exposure according to user, calculating is exposed to the first even frame image, obtain the second exposure Optical parameter.
Preferably, the mobile terminal further include: the first parameter acquisition module 407, for being obtained in the first image Module 401 is exposed with the first exposure parameter obtains first frame image, is exposed before obtaining the second frame image with the second exposure parameter, Obtain the first exposure parameter of user preset;Second parameter acquisition module 408, for obtaining the second exposure ginseng of user preset Number.
Preferably, the mobile terminal further include: third exposure parameter determining module 409, in the first image It obtains module 401 and acquisition first frame image is exposed with the first exposure parameter, exposed with the second exposure parameter and obtain the second frame image Later, automatic exposure calculating is carried out to the first frame image, obtains third exposure parameter;4th exposure parameter determining module 410, operation is adjusted for the second exposure according to user, calculating is exposed to the second frame image, obtain the 4th exposure ginseng Number.
Preferably, the mobile terminal further include: third image collection module 411, for raw in the merging module 403 It after preview image, is exposed with third exposure parameter and obtains third odd-numbered frame image, exposed with the 4th exposure parameter and obtain third Even frame image, wherein the third odd-numbered frame image and third even frame image are the image of camera continuous acquisition;Second Topography obtains module 412, for according to predetermined local viewfinder range, obtain in the third even frame image with The topography that local viewfinder range is overlapped;Second merging module 413, for the third odd-numbered frame image and the third Topography in even frame image merges, and generates a preview image.
Preferably, the mobile terminal further include: the first range determination module 414, for being obtained in second image It, will be full in preview interface before module 404 obtains the first odd-numbered frame image and the first even frame image that camera is continuously shot The region to impose a condition enough is determined as local viewfinder range;Alternatively, the second range determination module 415, plays a game for receiving user First setting operation of portion's viewfinder range determines local viewfinder range according to the first setting operation;Alternatively, third range is true Cover half block 416, for the region for meeting setting condition in preview interface to be determined as local viewfinder range, and in preview interface The determining local viewfinder range of calibration receives user and operates to the adjustment of the local viewfinder range of calibration, will adjust Region afterwards is determined as local viewfinder range.
Preferably, the first exposure parameter determining module 405 includes: that brightness value determines submodule 4051, for determining The first brightness value and the corresponding target brightness value of automatic exposure of the first odd-numbered frame image;Computational submodule 4052 is used In by calculating first brightness value and the target brightness value, the first exposure parameter is obtained.
Preferably, the second exposure parameter determining module 406 includes: that brightness value determines submodule 4061, is used for foundation The first exposure of user, which adjusts to operate, determines target light exposure brightness, determines the second brightness value of the first even frame image;Calculate son Module 4062, for obtaining the second exposure ginseng by calculating second brightness value and the target light exposure brightness Number.
Preferably, the merging module 403 includes: that topography determines submodule, for determining the first frame image In the first partial image that is overlapped with the local viewfinder range;Extracting sub-module, for using being mentioned in the second frame image First partial image in topography's replacement first frame image of taking-up;Preview image determines submodule, after with replacement First frame image be preview image.
The mobile terminal of the embodiment of the present invention is for realizing image exposure side corresponding in previous embodiment one, embodiment two Method, and there is beneficial effect corresponding with embodiment of the method, details are not described herein.
Embodiment five
Referring to Fig. 5, the structural block diagram of the mobile terminal of the embodiment of the present invention five is shown.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memory 702, at least one net Network interface 704 and user interface 703.Various components in mobile terminal 700 are coupled by bus system 705.It can manage Solution, bus system 705 is for realizing the connection communication between these components.Bus system 705 is in addition to including data/address bus, also Including power bus, control bus and status signal bus in addition.But for the sake of clear explanation, in Fig. 5 all by various buses It is designated as bus system 705.
Wherein, user interface 703 may include display, keyboard or pointing device for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Ram bus RAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to this A little and any other suitable type memory.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701, which is used to expose with the first exposure parameter, obtains first frame image, with the The exposure of two exposure parameters obtains the second frame image, wherein the first frame image and the second frame image are camera continuous acquisition Image;According to predetermined local viewfinder range, the office being overlapped in the second frame image with local viewfinder range is obtained Portion's image;The first frame image and the topography are merged, generated a preview image.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 702, processor 701 reads the information in memory 702, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
Optionally, the processor 701 is also used to: first frame image is obtained exposing with the first exposure parameter, with second Before exposure parameter exposure obtains the second frame image, the first odd-numbered frame image and the first even frame of camera continuous acquisition are obtained Image;Automatic exposure calculating is carried out to the first odd-numbered frame image, obtains the first exposure parameter;The first exposure according to user It adjusts operation and calculating is exposed to the first even frame image, obtain the second exposure parameter.
Preferably, the processor 701 is also used to: first frame image is obtained exposing with the first exposure parameter, with second Before exposure parameter exposure obtains the second frame image, the first exposure parameter of user preset is obtained;Obtain the second of user preset Exposure parameter.
Preferably, the processor 701 is also used to: first frame image is obtained exposing with the first exposure parameter, with second After exposure parameter exposure obtains the second frame image, automatic exposure calculating is carried out to the first frame image, obtains third exposure Parameter;The second exposure according to user adjusts operation and is exposed calculating to the second frame image, obtains the 4th exposure parameter.
Preferably, the processor 701 is also used to: after generating a preview image, obtaining the with the exposure of third exposure parameter Three odd-numbered frame images are exposed with the 4th exposure parameter and obtain third even frame image, wherein the third odd-numbered frame image and the Three even frame images are the image of camera continuous acquisition;According to predetermined local viewfinder range, it is even to obtain the third The topography being overlapped in number frame image with local viewfinder range;To the third odd-numbered frame image and the third even frame figure Topography as in merges, and generates a preview image.
Preferably, the processor 701 is also used to: in the first odd-numbered frame image and first that acquisition camera is continuously shot Before even frame image, the region that setting condition is met in preview interface is determined as local viewfinder range;Alternatively, receiving user The first setting operation to local viewfinder range determines local viewfinder range according to the first setting operation;Alternatively, by preview The region for meeting setting condition in interface is determined as local viewfinder range, and demarcates the determining part in preview interface and take Scape range;It receives user to operate the adjustment of the local viewfinder range of calibration, region adjusted is determined as part and is taken Scape range.
Preferably, the processor 701 carries out automatic exposure calculating to the first odd-numbered frame image, obtains the first exposure When parameter, it is specifically used for: determines the first brightness value and the corresponding object brightness of automatic exposure of the first odd-numbered frame image Value;By calculating first brightness value and the target brightness value, the first exposure parameter is obtained.
Preferably, the processor 701 according to user first exposure adjust operation to the first even frame image into Row exposure calculating when obtaining the second exposure parameter, is specifically used for: the first exposure according to user, which adjusts to operate, determines target light exposure Brightness determines the second brightness value of the first even frame image;By to second brightness value and the target light exposure brightness It is calculated, obtains the second exposure parameter.
Preferably, the processor 701 merges the first frame image and the topography, generates preview graph When picture, it is specifically used for: determines the first partial image being overlapped in the first frame image with the local viewfinder range;Using institute State the first partial image in the topography's replacement first frame image extracted in the second frame image;With replaced first frame Image is preview image.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal of the embodiment of the present invention obtains the two field pictures of continuous acquisition with different exposure parameters, and will wherein Topography in one frame image extracts to merge with another frame image and generate a preview image.Due to this two frame of acquisition Image is the therefore exposure effect difference obtained under different exposure parameters, correspondingly merges and is merged into the preview image of generation Topography exposure effect and in image other regions exposure effect it is then different, only treat exposure diagram to realize The purpose that the exposure effect in some region is adjusted as in, therefore it is able to ascend the quality of captured exposure image.
Embodiment six
Referring to Fig. 6, the structural block diagram of the mobile terminal of the embodiment of the present invention six is shown.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 8301.Touch panel 8301, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 8301 such as finger, stylus), and according to pre- The formula first set drives corresponding attachment device.Optionally, touch panel 8301 may include touch detecting apparatus and touch control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give the processor 860, and order that processor 860 is sent can be received and executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 8301.It is defeated in addition to touch panel 8301 Enter unit 830 can also include other input equipments 8302, other input equipments 8302 can include but is not limited to physical keyboard, One of function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal.Display unit 840 may include display panel 8401, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 8401.
It should be noted that touch panel 8301 can cover display panel 8401, touch display screen is formed, when the touch display screen After detecting touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 8201, and is called and is stored in Data in second memory 8202 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Body monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 8201 in software program and/or module and/ Or the data in the second memory 8202, processor 860, which is used to expose with the first exposure parameter, obtains first frame image, with the The exposure of two exposure parameters obtains the second frame image, wherein the first frame image and the second frame image are camera continuous acquisition Image;According to predetermined local viewfinder range, the office being overlapped in the second frame image with local viewfinder range is obtained Portion's image;The first frame image and the topography are merged, generated a preview image.
Optionally, the processor 860 is also used to: first frame image is obtained exposing with the first exposure parameter, with second Before exposure parameter exposure obtains the second frame image, the first odd-numbered frame image and the first even frame of camera continuous acquisition are obtained Image;Automatic exposure calculating is carried out to the first odd-numbered frame image, obtains the first exposure parameter;The first exposure according to user It adjusts operation and calculating is exposed to the first even frame image, obtain the second exposure parameter.
Preferably, the processor 860 is also used to: first frame image is obtained exposing with the first exposure parameter, with second Before exposure parameter exposure obtains the second frame image, the first exposure parameter of user preset is obtained;Obtain the second of user preset Exposure parameter.
Preferably, the processor 860 is also used to: first frame image is obtained exposing with the first exposure parameter, with second After exposure parameter exposure obtains the second frame image, automatic exposure calculating is carried out to the first frame image, obtains third exposure Parameter;The second exposure according to user adjusts operation and is exposed calculating to the second frame image, obtains the 4th exposure parameter.
Preferably, the processor 860 is also used to: after generating a preview image, obtaining the with the exposure of third exposure parameter Three odd-numbered frame images are exposed with the 4th exposure parameter and obtain third even frame image, wherein the third odd-numbered frame image and the Three even frame images are the image of camera continuous acquisition;According to predetermined local viewfinder range, it is even to obtain the third The topography being overlapped in number frame image with local viewfinder range;To the third odd-numbered frame image and the third even frame figure Topography as in merges, and generates a preview image.
Preferably, the processor 860 is also used to: in the first odd-numbered frame image and first that acquisition camera is continuously shot Before even frame image, the region that setting condition is met in preview interface is determined as local viewfinder range;Alternatively, receiving user The first setting operation to local viewfinder range determines local viewfinder range according to the first setting operation;Alternatively, by preview The region for meeting setting condition in interface is determined as local viewfinder range, and demarcates the determining part in preview interface and take Scape range;It receives user to operate the adjustment of the local viewfinder range of calibration, region adjusted is determined as part and is taken Scape range.
Preferably, the processor 860 carries out automatic exposure calculating to the first odd-numbered frame image, obtains the first exposure When parameter, it is specifically used for: determines the first brightness value and the corresponding object brightness of automatic exposure of the first odd-numbered frame image Value;By calculating first brightness value and the target brightness value, the first exposure parameter is obtained.
Preferably, the processor 860 according to user first exposure adjust operation to the first even frame image into Row exposure calculating when obtaining the second exposure parameter, is specifically used for: the first exposure according to user, which adjusts to operate, determines target light exposure Brightness determines the second brightness value of the first even frame image;By to second brightness value and the target light exposure brightness It is calculated, obtains the second exposure parameter.
Preferably, the processor 860 merges the first frame image and the topography, generates preview graph When picture, it is specifically used for: determines the first partial image being overlapped in the first frame image with the local viewfinder range;Using institute State the first partial image in the topography's replacement first frame image extracted in the second frame image;With replaced first frame Image is preview image.
The mobile terminal of the embodiment of the present invention carries out image exposure, and two frames of continuous acquisition are obtained with different exposure parameters Image, and the topography in a wherein frame image is extracted to merge with another frame image and is generated a preview image.By It is the therefore exposure effect difference obtained under different exposure parameters in this two field pictures of acquisition, correspondingly merges the pre- of generation Look in image the topography being merged into exposure effect and in image other regions exposure effect it is then different, to realize It only treats the purpose that the exposure effect in some region in exposure image is adjusted, therefore is able to ascend captured exposure image Quality.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Provided herein image exposure scheme not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
It will appreciated by the skilled person that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in image exposure scheme according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (12)

1. a kind of image exposure method, which is characterized in that the described method includes:
It is exposed with the first exposure parameter and obtains the second odd-numbered frame image, exposed with the second exposure parameter and obtain the second even frame figure Picture, wherein the second odd-numbered frame image and the second even frame image are the image of camera continuous acquisition;
According to predetermined local viewfinder range, the office being overlapped in the second even frame image with local viewfinder range is obtained Portion's image;
The second odd-numbered frame image and the topography are merged, generated a preview image;
Wherein, the second odd-numbered frame image of acquisition is being exposed with the first exposure parameter, it is even to obtain second with the exposure of the second exposure parameter Before number frame image, further includes:
Obtain the first odd-numbered frame image and the first even frame image of camera continuous acquisition;
Automatic exposure calculating is carried out to the first odd-numbered frame image, obtains the first exposure parameter;
The first exposure according to user adjusts operation and is exposed calculating to the first even frame image, obtains the second exposure ginseng Number;
Wherein, described that the second odd-numbered frame image and the topography are merged, it generates a preview image and includes:
Determine the first partial image being overlapped in the second odd-numbered frame image with the local viewfinder range;
The first partial figure in the second odd-numbered frame image is replaced using the topography extracted in the second even frame image Picture;
Using replaced second odd-numbered frame image as preview image.
2. obtaining the second odd-numbered frame figure the method according to claim 1, wherein exposing with the first exposure parameter Picture is exposed with the second exposure parameter after obtaining the second even frame image, further includes:
Automatic exposure calculating is carried out to the second odd-numbered frame image, obtains third exposure parameter;
The second exposure according to user adjusts operation and is exposed calculating to the second even frame image, obtains the 4th exposure ginseng Number.
3. according to the method described in claim 2, it is characterized in that, after generating a preview image, further includes:
It is exposed with third exposure parameter and obtains third odd-numbered frame image, exposed with the 4th exposure parameter and obtain third even frame figure Picture, wherein the third odd-numbered frame image and third even frame image are the image of camera continuous acquisition;
According to predetermined local viewfinder range, the office being overlapped in the third even frame image with local viewfinder range is obtained Portion's image;
Topography in the third odd-numbered frame image and the third even frame image is merged, preview graph is generated Picture;
Wherein, the topography in the third odd-numbered frame image and the third even frame image merges, raw Include: at preview image
Determine the first partial image being overlapped in the third odd-numbered frame image with the local viewfinder range;
Utilize the first partial figure in the topography's replacement third odd-numbered frame image extracted in the third even frame image Picture;
Using replaced third odd-numbered frame image as preview image.
4. the method according to claim 1, wherein the first odd-numbered frame image being continuously shot in acquisition camera Before the first even frame image, further includes:
The region for meeting setting condition in preview interface is determined as local viewfinder range;Alternatively,
It receives user and operation is set to the first of local viewfinder range, determine local model of finding a view according to the first setting operation It encloses;Alternatively,
The region for meeting setting condition in preview interface is determined as local viewfinder range, and demarcates determination in preview interface The part viewfinder range;User is received to operate the adjustment of the local viewfinder range of calibration, region adjusted is true It is set to local viewfinder range.
5. the method according to claim 1, wherein carrying out actinograph to the first odd-numbered frame image The step of calculating, obtaining the first exposure parameter, comprising:
Determine the first brightness value and the corresponding target brightness value of automatic exposure of the first odd-numbered frame image;
By calculating first brightness value and the target brightness value, the first exposure parameter is obtained.
6. the method according to claim 1, wherein the first exposure according to user adjusts operation to described first The step of even frame image is exposed calculating, obtains the second exposure parameter, comprising:
The first exposure according to user, which adjusts to operate, determines target light exposure brightness;
Determine the second brightness value of the first even frame image;
By calculating second brightness value and the target light exposure brightness, the second exposure parameter is obtained.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First image collection module obtains the second odd-numbered frame image for exposing with the first exposure parameter, with the second exposure parameter Exposure obtains the second even frame image, wherein the second odd-numbered frame image and the second even frame image are continuously adopted for camera The image of collection;
Topography obtains module, for obtaining in the second even frame image according to predetermined local viewfinder range The topography being overlapped with local viewfinder range;
Merging module is generated a preview image for merging to the second odd-numbered frame image and the topography;
Further include:
Second image collection module exposes the second odd number of acquisition for obtaining module in the first image with the first exposure parameter Frame image is exposed before obtaining the second even frame image with the second exposure parameter, obtains the first odd number of camera continuous acquisition Frame image and the first even frame image;
First exposure parameter determining module obtains the first exposure for carrying out automatic exposure calculating to the first odd-numbered frame image Optical parameter;
Second exposure parameter determining module, for according to user first exposure adjust operation to the first even frame image into Row exposure calculating obtains the second exposure parameter;
Wherein, the merging module includes:
Topography determines submodule, for determining be overlapped in the second odd-numbered frame image with the local viewfinder range the One topography;
Extracting sub-module, for replacing the second odd-numbered frame image using the topography extracted in the second even frame image In first partial image;
Preview image determines submodule, for using replaced second odd-numbered frame image as preview image.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Third exposure parameter determining module obtains second for obtaining module in the first image with the exposure of the first exposure parameter Odd-numbered frame image is exposed after obtaining the second even frame image with the second exposure parameter, is carried out to the second odd-numbered frame image Automatic exposure calculates, and obtains third exposure parameter;
4th exposure parameter determining module, for according to user second exposure adjust operation to the second even frame image into Row exposure calculating obtains the 4th exposure parameter.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
Third image collection module, for being exposed and being obtained with third exposure parameter after the merging module generates a preview image Third odd-numbered frame image, with the 4th exposure parameter expose obtain third even frame image, wherein the third odd-numbered frame image and Third even frame image is the image of camera continuous acquisition;
Second local image collection module, for obtaining the third even frame figure according to predetermined local viewfinder range The topography being overlapped as in local viewfinder range;
Second merging module, for being carried out to the topography in the third odd-numbered frame image and the third even frame image Merge, generates a preview image;
Wherein, the topography in the third odd-numbered frame image and the third even frame image merges, raw Include: at preview image
Determine the first partial image being overlapped in the third odd-numbered frame image with the local viewfinder range;
Utilize the first partial figure in the topography's replacement third odd-numbered frame image extracted in the third even frame image Picture;
Using replaced third odd-numbered frame image as preview image.
10. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
First range determination module, for obtaining the first odd-numbered frame that camera is continuously shot in second image collection module Before image and the first even frame image, the region that setting condition is met in preview interface is determined as local viewfinder range;Or Person,
Second range determination module operates the first setting of local viewfinder range for receiving user, sets according to described first It sets operation and determines local viewfinder range;Alternatively,
Third range determination module, for the region for meeting setting condition in preview interface to be determined as local viewfinder range, and The determining local viewfinder range is demarcated in preview interface;Receive adjustment of the user to the local viewfinder range of calibration Operation, is determined as local viewfinder range for region adjusted.
11. mobile terminal according to claim 7, which is characterized in that the first exposure parameter determining module includes:
Brightness value determines submodule, and the first brightness value and automatic exposure for determining the first odd-numbered frame image are corresponding Target brightness value;
Computational submodule, for obtaining the first exposure by calculating first brightness value and the target brightness value Optical parameter.
12. mobile terminal according to claim 7, which is characterized in that the second exposure parameter determining module includes:
Brightness value determines submodule, adjusts for the first exposure according to user and operates determining target light exposure brightness;Determine first Second brightness value of even frame image;
Computational submodule, for obtaining second by calculating second brightness value and the target light exposure brightness Exposure parameter.
CN201610533216.3A 2016-07-06 2016-07-06 A kind of image exposure method and mobile terminal Active CN106060422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610533216.3A CN106060422B (en) 2016-07-06 2016-07-06 A kind of image exposure method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610533216.3A CN106060422B (en) 2016-07-06 2016-07-06 A kind of image exposure method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106060422A CN106060422A (en) 2016-10-26
CN106060422B true CN106060422B (en) 2019-02-22

Family

ID=57185638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610533216.3A Active CN106060422B (en) 2016-07-06 2016-07-06 A kind of image exposure method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106060422B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851090B (en) * 2016-12-20 2019-06-28 Oppo广东移动通信有限公司 Image processing method and device, control method and device, imaging and electronic device
WO2018223394A1 (en) 2017-06-09 2018-12-13 华为技术有限公司 Method and apparatus for photographing image
CN111526300A (en) * 2017-08-17 2020-08-11 吴彬 Video shooting method capable of obtaining clear image quality
CN107395997A (en) * 2017-08-18 2017-11-24 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107592469B (en) * 2017-10-23 2021-01-05 努比亚技术有限公司 Exposure value adjusting method, mobile terminal and readable storage medium
CN107872631B (en) * 2017-12-06 2020-05-19 Oppo广东移动通信有限公司 Image shooting method and device based on double cameras and mobile terminal
CN108234880B (en) * 2018-02-02 2020-11-24 成都西纬科技有限公司 Image enhancement method and device
CN112399091B (en) * 2020-10-26 2023-01-20 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112511749A (en) * 2020-11-30 2021-03-16 上海摩象网络科技有限公司 Automatic exposure control method and device for target object and electronic equipment
CN113382169B (en) * 2021-06-18 2023-05-09 荣耀终端有限公司 Photographing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909150A (en) * 2009-06-03 2010-12-08 索尼公司 Imaging apparatus and imaging control method
CN103685973A (en) * 2013-12-26 2014-03-26 浙江宇视科技有限公司 Method and device for local area exposure adjustment on basis of encoder
CN103873780A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Video capture method and electronic equipment
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN105100637A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Image processing method and electronic equipment
CN105245784A (en) * 2014-06-26 2016-01-13 深圳锐取信息技术股份有限公司 Shooting processing method and shooting processing device for projection region in multimedia classroom

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8995783B2 (en) * 2012-09-19 2015-03-31 Qualcomm Incorporation System for photograph enhancement by user controlled local image enhancement

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909150A (en) * 2009-06-03 2010-12-08 索尼公司 Imaging apparatus and imaging control method
CN103873780A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Video capture method and electronic equipment
CN103685973A (en) * 2013-12-26 2014-03-26 浙江宇视科技有限公司 Method and device for local area exposure adjustment on basis of encoder
CN105245784A (en) * 2014-06-26 2016-01-13 深圳锐取信息技术股份有限公司 Shooting processing method and shooting processing device for projection region in multimedia classroom
CN104301624A (en) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 Image shooting brightness control method and device
CN105100637A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN106060422A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106060422B (en) A kind of image exposure method and mobile terminal
CN106131449B (en) A kind of photographic method and mobile terminal
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN107231530B (en) A kind of photographic method and mobile terminal
CN107205120B (en) A kind of processing method and mobile terminal of image
CN105827990B (en) A kind of automatic explosion method and mobile terminal
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN107454330B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106060406A (en) Photographing method and mobile terminal
CN106060386A (en) Preview image generation method and mobile terminal
CN106657793B (en) A kind of image processing method and mobile terminal
CN105827754B (en) A kind of generation method and mobile terminal of high dynamic range images
CN105227858A (en) A kind of image processing method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106657806B (en) A kind of exposure method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN107155064B (en) A kind of image pickup method and mobile terminal
CN107302664A (en) A kind of image pickup method and mobile terminal
CN106101569A (en) A kind of method of light filling of taking pictures and mobile terminal
CN105959574B (en) A kind of photographic method and mobile terminal
CN106131398B (en) A kind of image browsing method and mobile terminal
CN107613218A (en) The image pickup method and mobile terminal of a kind of high dynamic range images
CN106101545A (en) A kind of image processing method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal

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