CN107231530B - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107231530B
CN107231530B CN201710482317.7A CN201710482317A CN107231530B CN 107231530 B CN107231530 B CN 107231530B CN 201710482317 A CN201710482317 A CN 201710482317A CN 107231530 B CN107231530 B CN 107231530B
Authority
CN
China
Prior art keywords
dynamic range
exposure
adjustment mode
preview image
exposure area
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
CN201710482317.7A
Other languages
Chinese (zh)
Other versions
CN107231530A (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 CN201710482317.7A priority Critical patent/CN107231530B/en
Publication of CN107231530A publication Critical patent/CN107231530A/en
Application granted granted Critical
Publication of CN107231530B publication Critical patent/CN107231530B/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/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of photographic method and mobile terminals, wherein photographic method includes: to carry out Moving Objects detection during the preview image of camera acquisition photographed scene to photographed scene, obtain testing result.If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined, and according to the dynamic range adjustment mode, adjust dynamic range parameters, export photo.So that can be using suitable dynamic range adjustment mode under all kinds of photographed scenes, and then the negative effect caused during dynamic range enhancing is effectively avoided, promote picture quality.

Description

A kind of photographic method and mobile terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of photographic methods and mobile terminal.
Background technique
When being shot using equipment such as camera or mobile terminals, due to by complementary metal oxide semiconductor image The limitation of the hardware conditions such as sensor COMS sensor, generally occurs within the problem of dynamic range deficiency, that is, the bright place of photo occurs and see Not phenomena such as unclear or dark place is not seen.
Currently, mobile terminal user is in order to shoot the biggish reference object of dynamic range, it will usually use high dynamic range (High dynamic range, HDR) technology, however each existing HDR technology is all difficult to adapt to all kinds of photographed scenes.Example Such as, when using exposing photosynthetic mode enclosed more and shooting Moving Objects, the problem of being easy to appear ghost image;Empty using single frames Between the mode that more exposes of domain when shooting stationary object, be easily reduced image definition etc..
Therefore, existing high dynamic range technology is frequently present of negative effect, leads to figure when carrying out dynamic range enhancing Image quality amount reduces.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, with solve dynamic range enhancing be easy to cause it is negative The problem of influencing, picture quality is caused to reduce.
In a first aspect, providing a kind of photographic method, method includes:
During the preview image of camera acquisition photographed scene, Moving Objects detection is carried out to the photographed scene, Obtain testing result;
If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined;
According to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising:
Detection module, for being carried out to the photographed scene during preview image of camera acquisition photographed scene Moving Objects detection, obtains testing result;
Adjustment mode determining module, if, according to the testing result, determining dynamic range for receiving photographing instruction Adjustment mode;
Execution module exports photo for adjusting dynamic range parameters according to the dynamic range adjustment mode.
The third aspect, the embodiment of the invention also provides a kind of mobile terminals, including camera, further include processor, deposit Reservoir is stored in the computer program that can be run on the memory and on the processor, and the computer program is by institute State the step of realizing above-mentioned photographic method when processor executes.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the step of computer program realizes above-mentioned photographic method when being executed by processor.
To sum up, the embodiment of the present invention by camera acquire photographed scene preview image during, to photographed scene Moving Objects detection is carried out, testing result is obtained.If receiving photographing instruction, according to the testing result, dynamic range is determined Adjustment mode, and according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.So that in all kinds of bats Taking the photograph under scene can be using suitable dynamic range adjustment mode, and then dynamic range enhancing is effectively avoided to cause in the process Negative effect promotes picture quality.
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 flow chart of photographic method of the embodiment of the present invention;
Fig. 2 is the flow chart of another photographic method of the embodiment of the present invention;
Fig. 3 is a kind of block diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 5 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 6 is the block diagram of another mobile terminal of the embodiment of the present invention.
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.
Referring to Fig.1, a kind of flow chart of photographic method in the embodiment of the present invention, method provided by the present embodiment are shown Can include: by mobile terminal execution, photographic method
Step 101, during the preview image of camera acquisition photographed scene, movement pair is carried out to the photographed scene As detection, testing result is obtained.
It, can be before receiving photographing instruction, in advance to bat when user prepares to take pictures to a certain photographed scene It takes the photograph scene to find a view, by image capture devices such as cameras, acquires the preview image of photographed scene.And it is acquired in camera During the preview image of photographed scene, Moving Objects detection is carried out to photographed scene, obtains testing result.
In practical applications, since every frame image can characterize the state of object at a time in photographed scene respectively, Therefore, if object is moved in photographed scene, two adjacent frame preview images will be had differences, adjacent by comparing Two frame preview images, can realize the detection to Moving Objects in photographed scene, and then obtain testing result.
Specifically, if the motion amplitude of object is larger in photographed scene, the difference of two adjacent frame preview images will be compared with Greatly, when carrying out dynamic range adjustment, if such two frames preview image is directly synthesized, it will be easy to appear ghost image, influences to clap According to effect.Therefore, it can be determined in photographed scene according to the difference degree of adjacent two frames preview image with the presence or absence of movement pair As.If the difference of adjacent two frames preview image is greater than preset threshold, it is determined that there are Moving Objects in the photographed scene, if adjacent The difference of two frame preview images is less than preset threshold, it is determined that Moving Objects are not present in photographed scene.
Step 102, if receiving photographing instruction, according to testing result, dynamic range adjustment mode is determined.
In practical applications, the preview graph in camera acquisition photographed scene can be transferred after receiving the photographing instruction The testing result as obtained in process, and according to the testing result, determine the dynamic range adjustment side of suitable present filming scene Formula.Wherein, the photographing instruction received can be to press camera button, identify at least one such as default voice, identification pre-set image.
Specifically, if testing result instruction photographed scene in be not present Moving Objects when, can be according to the photographed scene The suitable dynamic range adjustment mode of dynamic range selection fully demonstrates in image to obtain the higher image of clarity Details abundant under various brightness.If testing result indicates that single frames space can be used there are when Moving Objects in photographed scene The mode that domain exposes more carries out dynamic range adjustment.Wherein, the mode that single frames spatial domain exposes more refers to, by single frames space It is exposed at least twice in domain in a manner of realizing dynamic range enhancing, specifically includes zigzag high dynamic range (zig-zag HDR) and adaptive dynamic range corrects modes such as (adaptive dynamic range correction, ADRC).Due to list The mode that frame spatial domain exposes more is not necessarily to carry out image synthesis processing to multiple image, to effectively prevent shooting Moving Objects When, the difference between multiple image leads to ghost image occur when synthesis.
Step 103, according to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo.
It, can be according to this after the dynamic range adjustment mode for according to testing result, determining suitable present filming scene Dynamic range adjustment mode, adjust dynamic range parameters, export photo, thus effectively avoid various high dynamic range technologies into Mobile state range issuable counter productive when enhancing, so that can be obtained preferable dynamic when shooting all kinds of photographed scenes State range reinforcing effect, preferably reflects the visual effect in true environment.
In conclusion in the embodiment of the present invention, during preview image by acquiring photographed scene in camera, to bat It takes the photograph scene and carries out Moving Objects detection, obtain testing result.If receiving photographing instruction, according to the testing result, determine dynamic State range adjustment mode, and according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.So that It can be using suitable dynamic range adjustment mode, and then during effectively dynamic range being avoided to enhance under all kinds of photographed scenes The negative effect of initiation promotes picture quality.
Referring to Fig. 2, the flow chart of another photographic method of the embodiment of the present invention is shown.Side provided by the present embodiment Method can include: by mobile terminal execution, photographic method
Step 201, during the preview image of camera acquisition photographed scene, Moving Objects inspection is carried out to photographed scene It surveys, judges in photographed scene with the presence or absence of Moving Objects.
When user prepares to take pictures to a certain photographed scene, camera shooting can be passed through before receiving photographing instruction First-class image capture device in advance finds a view to photographed scene, to obtain at least two frame preview images of the photographed scene.And The preview image obtained when finding a view is prestored into memory, device for processing carries out preview image processing.
Due to when, there are when Moving Objects, two usually adjacent frame preview images can have notable difference in photographed scene. Therefore, it can be determined in photographed scene by analyzing the difference between two frame preview images with the presence or absence of Moving Objects.
Specifically, the difference between two frame preview images adjacent in the preview image found a view and obtained in the process can be compared It is different.If difference is greater than preset threshold, it is determined that there are Moving Objects in photographed scene, can execute step 202 and determine dynamic model Enclose the mode of adjustment;If difference is less than preset threshold, it is determined that Moving Objects are not present in photographed scene, step can be executed 203 determine the mode of dynamic range adjustment.
Step 202, if there are Moving Objects in photographed scene, it is determined that carried out in such a way that single frames spatial domain exposes more Dynamic range adjustment.
In order to shoot the biggish reference object of dynamic range, the HDR technology generallyd use in the prior art is that enclosed is more Expose photosynthetic mode.When carrying out dynamic range enhancing using which, needs to shoot at least three frame preview images and carry out image Synthesis.At least three frame preview images are usually made of the preview image of three kinds of different depth of exposure, wherein a kind of preview image For under exposed preview image, another preview image is the preview image of normal exposure, another preview image is overexposure Preview image.Retain highlighted details by under exposed preview image, dark place details promoted using the preview image of overexposure, The details for guaranteeing intermediate luminance by the preview image of normal exposure again, to retain the details of each brightness in photographed scene. However, since this mode needs the synthesis of multiframe preview image to be just able to achieve, when there are when Moving Objects, being shot in photographed scene The multiframe preview image to get off will appear the phenomenon that Moving Objects form is inconsistent in different preview images, i.e., between preview image Differ greatly.In this case, when the preview image that multiframe difference is greater than preset threshold being synthesized, it is easy to appear ghost image, Picture quality is caused to reduce.
In order to avoid difference be more than threshold value multiframe preview image synthesis lead to ghost image, when in photographed scene exist movement pair As when, the embodiment of the present application using single frames spatial domain more expose by the way of carry out dynamic range adjustment.The single frames spatial domain exposes more The mode of light refers to, being exposed at least twice in a manner of realizing dynamic range enhancing in single frames spatial domain, specifically Including the modes such as zigzag high dynamic range and adaptive dynamic range correction.Since the mode that single frames spatial domain exposes more is not necessarily to Image synthesis processing is carried out to multiframe preview image, thus when effectively preventing shooting Moving Objects, between multiframe preview image Difference cause synthesis when there is ghost image.
Wherein, zigzag high dynamic range refers to by the pixel in control COMS sensor, first to single frames preview image Interior different zones are exposed according to different exposure time, then by the image co-registration of different zones, to reach enhancing dynamic range Purpose.
Wherein, adaptive dynamic range correction refers to according to single-frame images data, is made whether each pixel for group The judgement for knitting information point is averaged the value for representing the point of organizational information to obtain organizational information mean value.It is equal further according to organizational information Value adjusts the position of the point of rotation, guarantees that the organizational information brightness of the image before and after dynamic range adjusts is held essentially constant, and Weak signal and strong signal are compressed or stretched as required, to realize the purpose of dynamic range enhancing.
Step 203, if Moving Objects are not present in photographed scene, according to the first exposure area and second in preview image The corresponding exposure value in exposure area, determines dynamic range adjustment mode.
Specifically, a frame preview image of available camera acquisition, and determine the first exposure in the preview image Behind region and the second exposure area, the first exposure value of the first exposure area and the second exposure value of the second exposure area are obtained. If testing result indicates that Moving Objects are not present in photographed scene, exposed according to first of the first exposure area in the preview image Second exposure value of light value and the second exposure area can determine the exposure ratio of the first exposure area and the second exposure area, According to the exposure ratio, the dynamic range adjustment mode for being suitble to the photographed scene can be determined.In practical applications, photographed scene Interior usual there are the higher region of brightness and the lower region of brightness, the region of different brightness corresponds to different exposure values, brightness Higher region needs lower exposure value, i.e. the time for exposure is shorter;The lower region of brightness needs higher exposure value, that is, exposes It is longer between light time.Different zones luminance difference is bigger, then dynamic range is bigger.It, can in order to determine the dynamic range of photographed scene When obtaining the corresponding preview image of photographed scene, every frame preview image is divided into brightness is lower to need the of time exposure One exposure area and higher the second exposure area for needing the short time to expose of brightness, and pass through first exposure area and second Exposure area corresponds to the ratio of exposure value, determines the dynamic range of the photographed scene.
Specifically, the dynamic range of i.e. photographed scene is lower, then can determine if exposure ratio is less than the first proportion threshold value Dynamic range adjustment mode is zigzag high dynamic range adjustment mode.For example, if the first proportion threshold value is 2:1, when exposure ratio When example is less than 2:1, the luminance difference in photographed scene between different zones is smaller, carries out dynamic using zigzag high dynamic range Range adjustment can effectively promote preview image quality.
If exposure ratio is greater than or equal to the first proportion threshold value and is less than or equal to second proportion threshold value, i.e. photographed scene Dynamic range is moderate, can determine that dynamic range adjustment mode is that enclosed exposes photosynthetic mode more.For example, if the first ratio Threshold value is 2:1, and the second proportion threshold value is 4:1, when the ratio of exposure is greater than or equal to 2:1 and is less than or equal to 4:1, can be used Enclosed exposes photosynthetic mode more, and shooting at least three frame preview images carry out image synthesis.At least three frame preview images are logical The preview image of Chang Yousan kind difference depth of exposure is constituted, wherein a kind of preview image is under exposed preview image, another Preview image is the preview image of normal exposure, another preview image is the preview image of overexposure.By under exposed pre- Image of looking at retains highlighted details, promotes dark place details, then the preview image for passing through normal exposure using the preview image of overexposure The details for guaranteeing intermediate luminance, to retain the details of each brightness in photographed scene.
If the ratio of exposure is greater than the second proportion threshold value, i.e. the dynamic range of photographed scene is higher, can determine dynamic range Adjustment mode is pre- to adjust a frame without dynamic range with a frame through zigzag high dynamic range preview image adjusted Image of looking at carries out image synthesis.For example, if the second proportion threshold value is 4:1, when the ratio of exposure is greater than 4:1, due to dynamic range Higher, a frame preview image will lead to clarity reduction after the adjustment of zigzag high dynamic range, and adjust without dynamic range Preview image clarity it is higher.Therefore, in this case, by by the frame through the preview adjusted of zigzag high dynamic range Image is synthesized with the preview image that a frame is adjusted without dynamic range, can effectively promote the clarity of preview image, to keep away Exempt from individually to carry out the negative effect that the adjustment of zigzag high dynamic range may cause to a frame preview image.
If the ratio of exposure is greater than the second proportion threshold value, it can also determine that dynamic range adjustment mode is by multiframe through zigzag High dynamic range preview image adjusted carries out image synthesis, wherein multiframe is adjusted pre- through zigzag high dynamic range Image of looking at is respectively provided with different exposure ratios.
Specifically, in this case, according to enclosed, exposing photosynthetic mode carries out dynamic range adjustment, overexposure more It is easily lost highlighted details while promoting dark place details, and under-exposure is easy to lose while promoting highlighted details Dark place details is lost, therefore is difficult to find that characteristic point in synthesis, to be difficult to realize effectively dynamic range adjustment.
In the embodiment of the present application by way of synthesizing multiframe through zigzag high dynamic range preview image adjusted Dynamic range adjustment is carried out, since each frame is by showing dark place details through zigzag high dynamic range preview image adjusted First exposure area and the second exposure area synthesis for showing highlighted details therefore both will not be because of overexposures or under-exposure Relevant details are caused to be lost, and can synthesize by multiframe preview image enhances dynamic range, to effectively be promoted pre- Look at picture quality.For example, if exposing ratio under the photographed scene is m:1, it can be according to formula zzHDR (m:1)+zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+zzHDR (2:1), to preview image carry out image synthesis.I.e. by m:1, (m- 1): 1, (m-2): what 1,2:1 etc. exposed ratio carries out image synthesis through zigzag high dynamic range preview image adjusted, with Realize that effectively dynamic range adjusts.Wherein, zzHDR (m:1) refers to that exposure ratio is m:1 through zigzag high dynamic range tune Preview image after whole.
Step 204, according to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo.
According to testing result, the dynamic range of photographed scene, determine the dynamic range adjustment of suitable present filming scene After mode, dynamic range parameters can be adjusted according to the dynamic range adjustment mode, photo be exported, so that more efficient keep away Exempt from various high dynamic range technologies issuable counter productive when carrying out dynamic range enhancing, so that shooting all kinds of shootings When scene, preferable dynamic range reinforcing effect can be obtained, preferably reflects the visual effect in true environment.
In conclusion in the embodiment of the present invention, during preview image by acquiring photographed scene in camera, to bat It takes the photograph scene and carries out Moving Objects detection, judge in photographed scene with the presence or absence of Moving Objects.If there is movement pair in photographed scene As, it is determined that dynamic range adjustment is carried out in such a way that single frames spatial domain exposes more.If there is no movements pair in photographed scene As determining dynamic range tune then according to the corresponding exposure value in the first exposure area in preview image and the second exposure area Perfect square formula.According still further to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo.So that in all kinds of shootings The dynamic range adjustment effect obtained under scene, not only can guarantee the true reduction of dynamic range, but also can guarantee the clear of preview image Clear degree is not suffered a loss, and all kinds of negative effects that may cause during dynamic range enhancing are effectively avoided.
Referring to Fig. 3, a kind of block diagram of mobile terminal in the embodiment of the present invention is shown.Mobile terminal includes: detection module 31, adjustment mode determining module 32 and execution module 33.
Wherein, detection module 31, for camera acquisition photographed scene preview image during, to photographed scene into The detection of row Moving Objects, obtains testing result;
Adjustment mode determining module 32, if according to testing result, determining dynamic range tune for receiving photographing instruction Perfect square formula;
Execution module 33 exports photo for adjusting dynamic range parameters according to dynamic range adjustment mode.
To sum up, in the embodiment of the present invention, the preview image process of photographed scene is acquired in camera by detection module 31 In, Moving Objects detection is carried out to photographed scene, obtains testing result.If receiving photographing instruction, determined by adjustment mode Module 32 determines dynamic range adjustment mode according to the testing result, and by execution module 33 according to the dynamic range adjustment side Formula adjusts dynamic range parameters, exports photo.So that can be using suitable dynamic range under all kinds of photographed scenes Adjustment mode, and then the negative effect caused during dynamic range enhancing is effectively avoided, promote picture quality.
Referring to Fig. 4, in a preferred embodiment of the invention, on the basis of Fig. 3, adjustment mode determining module 32 It include: that preview image acquisition submodule 321, exposure area determine that submodule 322, exposure value acquisition submodule 323, first determine Submodule 324 and second determines submodule 325.
Wherein, preview image acquisition submodule 321, for obtaining a frame preview image of camera acquisition;
Exposure area determines submodule 322, for determining the first exposure area and the second exposure area in preview image;
Exposure value acquisition submodule 323, for obtaining the first exposure value and second exposure area of the first exposure area Second exposure value;
First determines submodule 324, if for Moving Objects to be not present in testing result instruction photographed scene, according to the The corresponding exposure value in one exposure area and the second exposure area, determines dynamic range adjustment mode;
Second determines submodule 325, if for there are Moving Objects in testing result instruction photographed scene, it is determined that use The mode that single frames spatial domain exposes more carries out dynamic range adjustment;
Wherein, the first exposure area refers to that the long exposure area in preview image, the second exposure area refer to preview image In short exposure region;The mode that single frames spatial domain exposes more includes: that zigzag high dynamic range and adaptive dynamic range are rectified Just.
Specifically, the first determining submodule 324, comprising: exposure ratio-dependent unit 3241 and adjustment mode determine list Member 3242.
Wherein, ratio-dependent unit 3241 is exposed, for determining the first exposure according to the first exposure value and the second exposure value The exposure ratio in region and the second exposure area;
Adjustment mode determination unit 3242, for determining dynamic range adjustment mode according to exposure ratio.
Specifically, the adjustment mode determination unit 3242, if being specifically used for exposure ratio is greater than or equal to the first ratio threshold It is worth and is less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is that enclosed exposes photosynthetic mode more.If Exposure ratio is greater than the second proportion threshold value, it is determined that dynamic range adjustment mode is to adjust a frame through zigzag high dynamic range Preview image afterwards carries out image without the preview image that dynamic range adjusts with a frame and synthesizes.If the ratio of exposure is greater than the second ratio Example threshold value, it is determined that dynamic range adjustment mode is that multiframe is carried out figure through zigzag high dynamic range preview image adjusted As synthesis, wherein multiframe is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.
In addition, the adjustment mode determination unit 3242, if being greater than the second proportion threshold value also particularly useful for exposure ratio, really Determining dynamic range adjustment mode is that multiframe is carried out image synthesis through zigzag high dynamic range preview image adjusted, In, multiframe is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.Further, the tune Perfect square formula determination unit 3242 can use formula: zzHDR (m:1)+zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+ ZzHDR (2:1) carries out image synthesis to preview image;Wherein, zzHDR (m:1) refers to that exposure ratio is m:1 through zigzag High dynamic range preview image adjusted.
To sum up, in the embodiment of the present invention, the preview image process of photographed scene is acquired in camera by detection module 31 In, Moving Objects detection is carried out to photographed scene, is judged in photographed scene with the presence or absence of Moving Objects.If existing in photographed scene Moving Objects are then determined by adjustment mode determining module 32 and carry out dynamic range tune in such a way that single frames spatial domain exposes more It is whole.If Moving Objects are not present in photographed scene, by adjustment mode determining module 32 according to the first exposure region in preview image The corresponding exposure value in domain and the second exposure area, determines dynamic range adjustment mode.Again by execution module 33 according to this Dynamic range adjustment mode adjusts dynamic range parameters, exports photo.So that the dynamic obtained under all kinds of photographed scenes Range adjustment effect, not only can guarantee the true reduction of dynamic range, but also can guarantee that the clarity of preview image is not suffered a loss, effectively Avoid all kinds of negative effects that may cause during dynamic range enhancing.
In addition, the embodiment of the invention also provides a kind of mobile terminal, including processor, memory, it is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor Each process of above-mentioned photographic method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
On the other hand, described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes above-mentioned photographic method embodiment when being executed by processor Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable Storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
Specifically, Fig. 5 is the block diagram of another mobile terminal of the embodiment of the present invention.Mobile terminal 500 shown in fig. 5 wraps It includes: at least one processor 501, memory 502, at least one camera 506, at least one network interface 504 and other use Family interface 503.Various components in mobile terminal 500 are coupled by bus system 505.It is understood that bus system 505 For realizing the connection communication between these components.Bus system 505 except include data/address bus in addition to, further include power bus, Control bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system in Fig. 5 505。
Wherein, user interface 503 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 502 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- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 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 5022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, mobile terminal 500 further include: be stored on memory 502 and can be on processor 501 The computer program of operation specifically can be the computer program in application program 5022, computer program is by processor 501 realize following steps when executing: during the preview image of camera acquisition photographed scene, moving to photographed scene Object detection obtains testing result.If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined, And according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 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 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can The computer readable storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation In.The computer readable storage medium is located at memory 502, and processor 501 reads the information in memory 502, hard in conjunction with it Part completes the step of above method.Specifically, computer program, computer program are stored on the computer readable storage medium Each step such as above-mentioned photographic method embodiment is realized when being executed by processor 501.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App LicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronic units for executing the application function or In a combination thereof.
For software implementations, module (such as process, function etc.) Lai Shixian of execution function of the embodiment of the present invention can be passed through The technology of the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can handled Portion realizes in device or outside the processor.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: obtaining camera acquires one Frame preview image;Determine the first exposure area and the second exposure area in preview image;Obtain the first of the first exposure area Second exposure value of exposure value and the second exposure area;If testing result indicates that Moving Objects, root are not present in photographed scene According to the corresponding exposure value in the first exposure area and the second exposure area, dynamic range adjustment mode is determined;Wherein, first exposes Light region refers to that the long exposure area in preview image, the second exposure area refer to the short exposure region in preview image.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: according to the first exposure value and the Two exposure values determine the exposure ratio of the first exposure area and the second exposure area;According to exposure ratio, dynamic range tune is determined Perfect square formula.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: if exposure ratio is less than first Proportion threshold value, it is determined that dynamic range adjustment mode is zigzag high dynamic range adjustment mode.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: if exposure ratio is greater than or waits In the first proportion threshold value and it is less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is that enclosed exposes conjunction more At mode.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: if exposure ratio is greater than second Proportion threshold value, it is determined that dynamic range adjustment mode is by a frame through zigzag high dynamic range preview image adjusted and one Frame carries out image synthesis without the preview image that dynamic range adjusts.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: if exposure ratio is greater than second Proportion threshold value, it is determined that dynamic range adjustment mode is to carry out multiframe through zigzag high dynamic range preview image adjusted Image synthesis;Wherein, multiframe is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: according to formula zzHDR (m:1) + zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+zzHDR (2:1), to preview image carry out image synthesis;Wherein, ZzHDR (m:1) refers to that exposure ratio is m:1 through zigzag high dynamic range preview image adjusted.
Optionally, following steps be can also be achieved when computer program is executed by processor 501: if testing result instruction shooting There are Moving Objects in scene, it is determined that dynamic range adjustment mode is the mode that single frames spatial domain exposes more;Wherein, single frames is empty Between domain more expose mode include: zigzag high dynamic range and adaptive dynamic range correction.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
To sum up, the embodiment of the present invention by camera acquire photographed scene preview image during, to photographed scene Moving Objects detection is carried out, testing result is obtained.If receiving photographing instruction, according to the testing result, dynamic range is determined Adjustment mode, and according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.So that in all kinds of bats Taking the photograph under scene can be using suitable dynamic range adjustment mode, and then dynamic range enhancing is effectively avoided to cause in the process Negative effect promotes picture quality.
Fig. 6 is the block diagram of another mobile terminal of the embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 can be Mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input unit 630, display unit 640, camera 650, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 With power supply 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 631), and according to setting in advance Fixed formula drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then The processor 660 is given, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 Can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 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 640 may include display panel 641, optionally, can use LCD or organic light emission The forms such as diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 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 660 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 621, and is called and is stored in Data in second memory 622 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, the mobile terminal in Fig. 6 further include: be stored in first memory 621 and/or second deposit On reservoir 622 and the computer program that can be run on processor 660, realized such as when computer program is executed by processor 660 Lower step: during the preview image of camera acquisition photographed scene, Moving Objects detection is carried out to photographed scene, is examined Survey result.If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined, and according to the dynamic model Adjustment mode is enclosed, dynamic range parameters are adjusted, exports photo.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: obtaining camera acquires one Frame preview image;Determine the first exposure area and the second exposure area in preview image;Obtain the first of the first exposure area Second exposure value of exposure value and the second exposure area;If testing result indicates that Moving Objects, root are not present in photographed scene According to the corresponding exposure value in the first exposure area and the second exposure area, dynamic range adjustment mode is determined;Wherein, first exposes Light region refers to that the long exposure area in preview image, the second exposure area refer to the short exposure region in preview image.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: according to the first exposure value and the Two exposure values determine the exposure ratio of the first exposure area and the second exposure area;According to exposure ratio, dynamic range tune is determined Perfect square formula.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: if exposure ratio is less than first Proportion threshold value, it is determined that dynamic range adjustment mode is zigzag high dynamic range adjustment mode.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: if exposure ratio is greater than or waits In the first proportion threshold value and it is less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is that enclosed exposes conjunction more At mode.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: if exposure ratio is greater than second Proportion threshold value, it is determined that dynamic range adjustment mode is by a frame through zigzag high dynamic range preview image adjusted and one Frame carries out image synthesis without the preview image that dynamic range adjusts.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: if exposure ratio is greater than second Proportion threshold value, it is determined that dynamic range adjustment mode is to carry out multiframe through zigzag high dynamic range preview image adjusted Image synthesis;Wherein, multiframe is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: according to formula zzHDR (m:1) + zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+zzHDR (2:1), to preview image carry out image synthesis;Wherein, ZzHDR (m:1) refers to that exposure ratio is m:1 through zigzag high dynamic range preview image adjusted.
Optionally, following steps be can also be achieved when computer program is executed by processor 660: if testing result instruction shooting There are Moving Objects in scene, it is determined that dynamic range adjustment mode is the mode that single frames spatial domain exposes more;Wherein, single frames is empty Between domain more expose mode include: zigzag high dynamic range and adaptive dynamic range correction.
Mobile terminal can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here not It repeats again.
As it can be seen that the mobile terminal in the embodiment of the present invention, the preview of photographed scene is acquired by processor 660 in camera In image process, Moving Objects detection is carried out to photographed scene, obtains testing result.If receiving photographing instruction, basis should Testing result determines dynamic range adjustment mode, and according to the dynamic range adjustment mode, adjusts dynamic range parameters, output Photo.So that can be using suitable dynamic range adjustment mode under all kinds of photographed scenes, and then effectively avoid moving The negative effect caused during the enhancing of state range, promotes picture quality.
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 unit, only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
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.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part of part or the technical solution that technology contributes can be embodied in the form of software products, and the computer is soft Part product is stored in a computer readable storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) execute all or part of the steps of each embodiment method of the present invention. Specifically, computer program is stored on the computer readable storage medium, computer program is realized when being executed by processor 660 Such as each step of above-mentioned photographic method embodiment.And computer readable storage medium above-mentioned include: USB flash disk, mobile hard disk, ROM, The various media that can store program code such as RAM, magnetic or disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (18)

1. a kind of photographic method, applied to the mobile terminal including camera characterized by comprising
During the preview image of camera acquisition photographed scene, Moving Objects detection is carried out to the photographed scene, is obtained Testing result;
If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined;
According to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo;
It is described according to the testing result, the step of determining dynamic range adjustment mode, comprising:
Obtain a frame preview image of camera acquisition;
Determine the first exposure area and the second exposure area in the preview image;
Obtain the first exposure value of first exposure area and the second exposure value of second exposure area;
If the testing result indicates that Moving Objects are not present in the photographed scene, according to first exposure area and institute The corresponding exposure value in the second exposure area is stated, determines dynamic range adjustment mode;
Wherein, first exposure area refers to that the long exposure area in the preview image, second exposure area refer to Short exposure region in the preview image.
2. the method according to claim 1, wherein described expose according to first exposure area with described second The corresponding exposure value in light region, the step of determining dynamic range adjustment mode, comprising:
According to first exposure value and second exposure value, first exposure area and second exposure area are determined Exposure ratio;
According to the exposure ratio, dynamic range adjustment mode is determined.
3. according to the method described in claim 2, determining dynamic range tune it is characterized in that, described according to the exposure ratio The step of perfect square formula, comprising:
If the exposure ratio is less than the first proportion threshold value, it is determined that dynamic range adjustment mode is zigzag high dynamic range tune Perfect square formula.
4. according to the method described in claim 3, determining dynamic range tune it is characterized in that, described according to the exposure ratio The step of perfect square formula, comprising:
If the exposure ratio is greater than or equal to first proportion threshold value and is less than or equal to the second proportion threshold value, it is determined that dynamic State range adjustment mode is that enclosed exposes photosynthetic mode more.
5. according to the method described in claim 2, determining dynamic range tune it is characterized in that, described according to the exposure ratio The step of perfect square formula, comprising:
If the exposure ratio is greater than the second proportion threshold value, it is determined that dynamic range adjustment mode is to move a frame through zigzag height State range preview image adjusted carries out image without the preview image that dynamic range adjusts with a frame and synthesizes.
6. according to the method described in claim 2, determining dynamic range tune it is characterized in that, described according to the exposure ratio The step of perfect square formula, further includes:
If the exposure ratio is greater than the second proportion threshold value, it is determined that dynamic range adjustment mode is to move multiframe through zigzag height State range preview image adjusted carries out image synthesis;
Wherein, the multiframe is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.
7. according to the method described in claim 6, it is characterized in that, described that multiframe is adjusted through zigzag high dynamic range Preview image carries out the step of image synthesis, comprising:
According to formula zzHDR (m:1)+zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+zzHDR (2:1), to preview graph As carrying out image synthesis;
Wherein, zzHDR (m:1) refers to that exposure ratio is m:1 through zigzag high dynamic range preview image adjusted.
8. determining dynamic range tune the method according to claim 1, wherein described according to the testing result The step of perfect square formula, comprising:
If the testing result indicates that there are Moving Objects in the photographed scene, it is determined that dynamic range adjustment mode is single frames The mode that spatial domain exposes more;
Wherein, the mode that the single frames spatial domain exposes more includes: zigzag high dynamic range and adaptive dynamic range correction.
9. a kind of mobile terminal, including camera, which is characterized in that the mobile terminal further include:
Detection module, for being moved to the photographed scene during preview image of camera acquisition photographed scene Object detection obtains testing result;
Adjustment mode determining module, if, according to the testing result, determining that dynamic range adjusts for receiving photographing instruction Mode;
Execution module exports photo for adjusting dynamic range parameters according to the dynamic range adjustment mode;
The adjustment mode determining module, comprising:
Preview image acquisition submodule, for obtaining a frame preview image of camera acquisition;
Exposure area determines submodule, for determining the first exposure area and the second exposure area in the preview image;
Exposure value acquisition submodule, for obtain first exposure area the first exposure value and second exposure area Second exposure value;
First determines submodule, if indicating that Moving Objects, basis are not present in the photographed scene for the testing result The corresponding exposure value in first exposure area and second exposure area, determines dynamic range adjustment mode;
Wherein, first exposure area refers to that the long exposure area in the preview image, second exposure area refer to Short exposure region in the preview image.
10. mobile terminal according to claim 9, which is characterized in that described first determines submodule, comprising:
Ratio-dependent unit is exposed, for determining first exposure according to first exposure value and second exposure value The exposure ratio in region and second exposure area;
Adjustment mode determination unit, for determining dynamic range adjustment mode according to the exposure ratio.
11. mobile terminal according to claim 10, which is characterized in that
The adjustment mode determination unit, if being specifically used for the exposure ratio less than the first proportion threshold value, it is determined that dynamic model Enclosing adjustment mode is zigzag high dynamic range adjustment mode.
12. mobile terminal according to claim 11, which is characterized in that
The adjustment mode determination unit, if being specifically used for the exposure ratio is greater than or equal to first proportion threshold value and small In or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is that enclosed exposes photosynthetic mode more.
13. mobile terminal according to claim 10, which is characterized in that
The adjustment mode determination unit, if being specifically used for the exposure ratio is greater than the second proportion threshold value, it is determined that dynamic model Enclosing adjustment mode is to adjust a frame without dynamic range through zigzag high dynamic range preview image adjusted and a frame Preview image carries out image synthesis.
14. mobile terminal according to claim 10, which is characterized in that
The adjustment mode determination unit, if being specifically used for the exposure ratio is greater than the second proportion threshold value, it is determined that dynamic model Enclosing adjustment mode is that multiframe is carried out image synthesis through zigzag high dynamic range preview image adjusted, wherein described more Frame is respectively provided with different exposure ratios through zigzag high dynamic range preview image adjusted.
15. mobile terminal according to claim 14, which is characterized in that
The adjustment mode determination unit, also particularly useful for using formula: zzHDR (m:1)+zzHDR ((m-1): 1)+zzHDR ((m-2): 1)+...+zzHDR (2:1) carries out image synthesis to preview image;Wherein, zzHDR (m:1) refers to exposure ratio It is m:1 through zigzag high dynamic range preview image adjusted.
16. mobile terminal according to claim 9, which is characterized in that the adjustment mode determining module, comprising:
Second determines submodule, if indicating that there are Moving Objects in the photographed scene for the testing result, it is determined that adopt Dynamic range adjustment is carried out with the mode that single frames spatial domain exposes more;
Wherein, the mode that the single frames spatial domain exposes more includes: zigzag high dynamic range and adaptive dynamic range correction.
17. a kind of mobile terminal, including camera, which is characterized in that the mobile terminal further includes processor, and memory is deposited The computer program that can be run on the memory and on the processor is stored up, the computer program is by the processor It realizes when execution such as the step of photographic method described in any item of the claim 1 to 8.
18. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the step such as photographic method described in any item of the claim 1 to 8 when the computer program is executed by processor Suddenly.
CN201710482317.7A 2017-06-22 2017-06-22 A kind of photographic method and mobile terminal Active CN107231530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710482317.7A CN107231530B (en) 2017-06-22 2017-06-22 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710482317.7A CN107231530B (en) 2017-06-22 2017-06-22 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107231530A CN107231530A (en) 2017-10-03
CN107231530B true CN107231530B (en) 2019-11-26

Family

ID=59935203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710482317.7A Active CN107231530B (en) 2017-06-22 2017-06-22 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107231530B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110475072B (en) * 2017-11-13 2021-03-09 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for shooting image
JP7233162B2 (en) 2017-12-18 2023-03-06 キヤノン株式会社 IMAGING DEVICE AND CONTROL METHOD THEREOF, PROGRAM, STORAGE MEDIUM
CN111512625B (en) 2017-12-18 2022-04-12 佳能株式会社 Image pickup apparatus, control method thereof, and storage medium
CN108805834A (en) * 2018-05-28 2018-11-13 电子科技大学 A kind of image processing algorithm that endoscope is with an automatic light meter
CN108965700B (en) * 2018-07-05 2021-09-03 平安科技(深圳)有限公司 Shooting control method, terminal and computer readable medium
CN109040603A (en) * 2018-10-15 2018-12-18 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device and mobile terminal
CN109743506A (en) * 2018-12-14 2019-05-10 维沃移动通信有限公司 A kind of image capturing method and terminal device
CN109996009B (en) * 2019-04-09 2021-03-02 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN110290314B (en) * 2019-06-13 2021-01-15 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN110445986B (en) * 2019-07-30 2021-03-23 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN111311509A (en) * 2020-01-20 2020-06-19 上海理工大学 Self-adaptive correction method for abnormal exposure image
CN111479072B (en) 2020-04-14 2021-12-17 深圳市道通智能航空技术股份有限公司 High dynamic range image synthesis method and device, image processing chip and aerial camera
CN116723417B (en) * 2022-02-28 2024-04-26 荣耀终端有限公司 Image processing method and electronic equipment
CN115103120B (en) * 2022-06-30 2024-07-26 Oppo广东移动通信有限公司 Shooting scene detection method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196185A (en) * 2010-03-09 2011-09-21 索尼公司 Image processing apparatus, image processing method, and program
CN103002290A (en) * 2011-05-02 2013-03-27 索尼公司 Image capture device, image capture device control method, and program
CN103020927A (en) * 2011-07-11 2013-04-03 佳能株式会社 Image processing apparatus and image processing method
CN103945145A (en) * 2013-01-17 2014-07-23 三星泰科威株式会社 Apparatus and method for processing image
CN104052905A (en) * 2013-03-12 2014-09-17 三星泰科威株式会社 Method and apparatus for processing image
CN105959531A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Moving image detection system and method
CN106331518A (en) * 2016-09-30 2017-01-11 北京旷视科技有限公司 Image processing method and device and electronic system
CN106412447A (en) * 2015-07-31 2017-02-15 广达电脑股份有限公司 Exposure control system and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160205291A1 (en) * 2015-01-09 2016-07-14 PathPartner Technology Consulting Pvt. Ltd. System and Method for Minimizing Motion Artifacts During the Fusion of an Image Bracket Based On Preview Frame Analysis

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196185A (en) * 2010-03-09 2011-09-21 索尼公司 Image processing apparatus, image processing method, and program
CN103002290A (en) * 2011-05-02 2013-03-27 索尼公司 Image capture device, image capture device control method, and program
CN103020927A (en) * 2011-07-11 2013-04-03 佳能株式会社 Image processing apparatus and image processing method
CN103945145A (en) * 2013-01-17 2014-07-23 三星泰科威株式会社 Apparatus and method for processing image
CN104052905A (en) * 2013-03-12 2014-09-17 三星泰科威株式会社 Method and apparatus for processing image
CN106412447A (en) * 2015-07-31 2017-02-15 广达电脑股份有限公司 Exposure control system and method thereof
CN105959531A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Moving image detection system and method
CN106331518A (en) * 2016-09-30 2017-01-11 北京旷视科技有限公司 Image processing method and device and electronic system

Also Published As

Publication number Publication date
CN107231530A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
CN107231530B (en) A kind of photographic method and mobile terminal
CN106131449B (en) A kind of photographic method and mobile terminal
CN107205120B (en) A kind of processing method and mobile terminal of image
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN105827964B (en) A kind of image processing method and mobile terminal
CN105827990B (en) A kind of automatic explosion method and mobile terminal
CN105872148B (en) A kind of generation method and mobile terminal of high dynamic range images
CN105827971B (en) A kind of image processing method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN105227858B (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
CN106060419B (en) A kind of photographic method and mobile terminal
CN107592453B (en) A kind of image pickup method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN106101545B (en) A kind of image processing method and mobile terminal
CN107222680A (en) The image pickup method and mobile terminal of a kind of panoramic picture
CN106657806B (en) A kind of exposure method and mobile terminal
CN107172361B (en) A kind of method and mobile terminal of pan-shot
CN107613218A (en) The image pickup method and mobile terminal of a kind of high dynamic range images
CN107302664A (en) A kind of image pickup method and mobile terminal
CN106506962A (en) A kind of image processing method and mobile terminal
CN105959574B (en) A kind of photographic method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant