CN107231530A - A kind of photographic method and mobile terminal - Google Patents
A kind of photographic method and mobile terminal Download PDFInfo
- Publication number
- CN107231530A CN107231530A CN201710482317.7A CN201710482317A CN107231530A CN 107231530 A CN107231530 A CN 107231530A CN 201710482317 A CN201710482317 A CN 201710482317A CN 107231530 A CN107231530 A CN 107231530A
- Authority
- CN
- China
- Prior art keywords
- exposure
- dynamic range
- preview image
- adjustment mode
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/741—Circuitry 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control 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 terminal, wherein, photographic method includes:During the preview image that camera gathers photographed scene, Moving Objects detection is carried out to photographed scene, testing result is obtained.If receiving photographing instruction, according to the testing result, dynamic range adjustment mode is determined, and according to the dynamic range adjustment mode, adjusts dynamic range parameters, photo is exported.So that can be using suitable dynamic range adjustment mode under all kinds of photographed scenes, and then the negative effect triggered during dynamic range enhancing is prevented effectively from, lift picture quality.
Description
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of photographic method and mobile terminal.
Background technology
When being shot using equipment such as camera or mobile terminals, due to by CMOS image
The limitation of the hardware conditions such as sensor COMS sensor, generally occurs within the problem of dynamic range is not enough, that is, the bright place of photo occurs and see
Unclear or dark place such as does not see at the phenomenon.
At present, mobile terminal user is in order to shoot the reference object that dynamic range is larger, it will usually use HDR
(High dynamic range, HDR) technology, but each existing HDR technology is all difficult in adapt to all kinds of photographed scenes.Example
Such as, when using exposing photosynthetic mode enclosed more and shooting Moving Objects, the problem of easily there is ghost image;Empty using single frames
Between the mode that exposes domain when shooting stationary object more, be easily reduced image definition etc..
Therefore, existing HDR technology is frequently present of negative effect, causes figure when carrying out dynamic range enhancing
As quality reduction.
The content of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, easily triggers negative to solve dynamic range enhancing
Influence, the problem of causing image degradation.
First aspect includes there is provided a kind of photographic method, method:
During the preview image that camera gathers 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, photo is exported.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Detection module, for during the preview image that camera gathers photographed scene, being carried out to the photographed scene
Moving Objects are detected, obtain testing result;
Adjustment mode determining module, if for receiving photographing instruction, according to the testing result, determining dynamic range
Adjustment mode;
Performing module, for according to the dynamic range adjustment mode, adjusting dynamic range parameters, exports photo.
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including camera, in addition to processor, deposits
Reservoir, is stored in the computer program that can be run on the memory and on the processor, the computer program is by institute
The step of above-mentioned photographic method being realized when stating computing device.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, described computer-readable to deposit
Be stored with computer program 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 is by during the preview image that camera gathers photographed scene, 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, export photo.So that in all kinds of bats
Taking the photograph under scene can be using suitable dynamic range adjustment mode, and then is prevented effectively from what is triggered during dynamic range strengthens
Negative effect, lifts picture quality.
Brief description of the drawings
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
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying 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.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Reference picture 1, shows a kind of flow chart of photographic method, the method that the present embodiment is provided in the embodiment of the present invention
It can be performed by mobile terminal, photographic method includes:
Step 101, during the preview image that camera gathers photographed scene, motion pair is carried out to the photographed scene
As detection, testing result is obtained.
, can be before photographing instruction be received, in advance to clapping when user prepares to take pictures to a certain photographed scene
Take the photograph scene to be found a view, by imaging first-class image capture device, gather the preview image of photographed scene.And in camera collection
During the preview image of photographed scene, Moving Objects detection is carried out to photographed scene, testing result is obtained.
In actual applications, because every two field picture 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 have differences, adjacent by comparing
Two frame preview images, just can realize the detection to Moving Objects in photographed scene, and then obtain testing result.
If specifically, the motion amplitude of object is larger in photographed scene, the difference of adjacent two frame preview images will be compared with
Greatly, when carrying out dynamic range adjustment, if such two frames preview image is directly synthesized, ghost image will easily occur, influence is clapped
According to effect.It therefore, it can the difference degree according to adjacent two frames preview image, determine in photographed scene with the presence or absence of motion pair
As.If the difference of adjacent two frames preview image is more than predetermined threshold value, it is determined that there are Moving Objects in the photographed scene, if adjacent
The difference of two frame preview images is less than predetermined threshold value, 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 actual applications, the preview graph that photographed scene is gathered in camera can be transferred after photographing instruction is received
The testing result obtained as during, and according to the testing result, it is determined that being adapted to the dynamic range adjustment side of present filming scene
Formula.Wherein, the photographing instruction received can be to press at least one such as camera button, the default voice of identification, identification pre-set image.
If specifically, testing result indicate 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, so as to obtain the higher image of definition, is fully demonstrated in image
The details enriched under various brightness.If testing result indicates to there are Moving Objects in photographed scene, single frames space can be used
The mode exposed carries out dynamic range adjustment more in the domain.Wherein, the mode exposed single frames spatial domain refers to more, by single frames space
Exposed to realize the enhanced mode of dynamic range at least twice in domain, specifically include zigzag HDR (zig-zag
) and adaptive dynamic range correction (adaptive dynamic range correction, ADRC) etc. mode HDR.Due to list
The mode exposed frame spatial domain without carrying out image synthesis processing more to multiple image, so as to effectively prevent shooting Moving Objects
When, the difference between multiple image causes ghost image occur during synthesis.
Step 103, according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.
According to testing result, it is determined that be adapted to after the dynamic range adjustment mode of present filming scene, just can be according to this
Dynamic range adjustment mode, adjusts dynamic range parameters, exports photo, is entering so as to be prevented effectively from various HDR technologies
Issuable counter productive when Mobile state scope strengthens so that when shooting all kinds of photographed scenes, can obtain preferably dynamic
State scope enhancing effect, preferably reflects the visual effect in true environment.
In summary, in the embodiment of the present invention, by during the preview image that camera gathers photographed scene, to clapping
Take the photograph scene and carry out Moving Objects detection, obtain testing result.If receiving photographing instruction, according to the testing result, it is determined that dynamic
State scope adjustment mode, and according to the dynamic range adjustment mode, dynamic range parameters are adjusted, export photo.So that
Can be using suitable dynamic range adjustment mode under all kinds of photographed scenes, and then be prevented effectively from during dynamic range enhancing
The negative effect of initiation, lifts picture quality.
Reference picture 2, shows the flow chart of another photographic method of the embodiment of the present invention.The side that the present embodiment is provided
Method can be performed by mobile terminal, and photographic method includes:
Step 201, during the preview image that camera gathers photographed scene, Moving Objects inspection is carried out to photographed scene
Survey, judge to whether there is Moving Objects in photographed scene.
When user prepares to take pictures to a certain photographed scene, shooting can be passed through before photographing instruction is received
First-class image capture device is found a view photographed scene in advance, 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.
Because when there are Moving Objects in photographed scene, generally two adjacent frame preview images can have notable difference.
It therefore, it can, by analyzing the difference between two frame preview images, determine to whether there is Moving Objects in photographed scene.
Specifically, can contrast find a view during difference between two frame preview images adjacent in the preview image that obtains
It is different.If difference is more than predetermined threshold value, it is determined that there are Moving Objects in photographed scene, can perform step 202 and determine dynamic model
Enclose the mode of adjustment;If difference is less than predetermined threshold value, it is determined that Moving Objects are not present in photographed scene, step can be performed
203 determine the mode of dynamic range adjustment.
Step 202, if there are Moving Objects in photographed scene, it is determined that carried out by the way of being exposed single frames spatial domain more
Dynamic range is adjusted.
In order to shoot the reference object that dynamic range is larger, the HDR technologies generally used in the prior art are that enclosed is more
Expose photosynthetic mode., it is necessary to which shooting at least three frame preview images carries out image when carrying out dynamic range enhancing using which
Synthesis.At least three frame preview images are generally made up of the preview image of three kinds of different depth of exposures, wherein, a kind of preview image
For under exposed preview image, another preview image is the preview image of normal exposure, and another preview image is overexposure
Preview image.Highlighted details is retained by under exposed preview image, dark place details is lifted using the preview image of overexposure,
The details of intermediate luminance is ensured by the preview image of normal exposure again, so as to retain the details of the brightness of each in photographed scene.
However, because this mode needs the synthesis of multiframe preview image to realize, when there are Moving Objects in photographed scene, shooting
The multiframe preview image got off occurs in different preview images between the inconsistent phenomenon of Moving Objects form, i.e. preview image
Differ greatly.In this case, when the preview image that multiframe difference is more than predetermined threshold value is synthesized, easily there is ghost image,
Cause image degradation.
In order to avoid difference exceed threshold value multiframe preview image synthesis cause ghost image, when in photographed scene exist motion pair
As when, the embodiment of the present application carries out dynamic range adjustment more by the way of being exposed single frames spatial domain.Being exposed the single frames spatial domain more
The mode of light refers to, by being exposed at least twice in single frames spatial domain to realize the enhanced mode of dynamic range, specifically
Including the mode such as zigzag HDR and adaptive dynamic range correction.Because the mode exposed single frames spatial domain need not more
Image synthesis processing is carried out to multiframe preview image, so that when effectively prevent shooting Moving Objects, between multiframe preview image
Difference cause synthesis when there is ghost image.
Wherein, zigzag HDR refers to by controlling the pixel in 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, be made whether as group each pixel
The judgement of information point is knitted, the value that will represent the point of organizational information is averaged and obtains organizational information average.It is equal further according to organizational information
Value adjusts the position of the point of rotation, it is ensured that the organizational information brightness of image is held essentially constant before and after dynamic range is adjusted, and
Weak signal and strong signal are compressed or stretched as required, so as to realize the enhanced purpose of dynamic range.
Step 203, if Moving Objects are not present in photographed scene, according to the first exposure area and second in preview image
Corresponding exposure value is distinguished in exposure area, determines dynamic range adjustment mode.
Specifically, a frame preview image of camera collection can be obtained, 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
Light value and the second exposure value of the second exposure area, it may be determined that the exposure ratio of the first exposure area and the second exposure area,
According to the exposure ratio, it may be determined that be adapted to the dynamic range adjustment mode of the photographed scene.In actual applications, photographed scene
It is interior generally to there is the higher region of brightness and the relatively low region of brightness, the corresponding different exposure value in region of different brightness, brightness
Higher region needs relatively low exposure value, i.e. the time for exposure is shorter;The relatively low 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., can in order to determine the dynamic range of photographed scene
To obtain during the corresponding preview image of photographed scene, every frame preview image is divided into brightness is relatively low 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
The ratio of exposure area correspondence exposure value, determines the dynamic range of the photographed scene.
If specifically, the dynamic range that exposure ratio is less than the first proportion threshold value, i.e. photographed scene is relatively low, then can determine
Dynamic range adjustment mode is zigzag HDR adjustment mode.If for example, the first proportion threshold value is 2:1, when exposure ratio
Example is less than 2:When 1, the luminance difference in photographed scene between different zones is smaller, and Mobile state is entered using zigzag HDR
Scope adjustment just can effectively lift preview image quality.
If the ratio of exposure is more than or equal to the first proportion threshold value and less than or equal to the second proportion threshold value, i.e. photographed scene
Dynamic range is moderate, it may be determined that dynamic range adjustment mode be enclosed more expose photosynthetic mode.If for example, the first ratio
Threshold value is 2:1, the second proportion threshold value is 4:1, when exposure ratio is more than or equal to 2:1 and less than or equal to 4:When 1, it can use
Expose photosynthetic mode more enclosed, shoot at least three frame preview images and carry out image synthesis.At least three frame preview images lead to
The preview image of Chang Yousan kinds 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, and another preview image is the preview image of overexposure.By under exposed pre-
Image of looking at retains highlighted details, and dark place details, then the preview image for passing through normal exposure are lifted using the preview image of overexposure
Ensure the details of intermediate luminance, so as to retain the details of the brightness of each in photographed scene.
If the dynamic range that the ratio of exposure is more than the second proportion threshold value, i.e. photographed scene is higher, it may be determined that dynamic range
Adjustment mode be preview image and a frame after a frame is adjusted through zigzag HDR without dynamic range adjust it is pre-
Image of looking at carries out image synthesis.If for example, the second proportion threshold value is 4:1, when exposure ratio is more than 4:When 1, due to dynamic range
It is higher, after a frame preview image is adjusted through zigzag HDR, definition can be caused to reduce, and without dynamic range adjustment
Preview image definition it is higher.Therefore, in this case, the preview by the frame after the adjustment of zigzag HDR is passed through
Image is synthesized with a frame without the preview image that dynamic range is adjusted, and can effectively lift the definition of preview image, so as to keep away
Exempt from that individually a frame preview image is carried out to negatively affect caused by the adjustment of zigzag HDR is possible.
If the ratio of exposure is more than the second proportion threshold value, it is through zigzag by multiframe that can also determine dynamic range adjustment mode
Preview image after HDR adjustment carries out image synthesis, wherein, multiframe is pre- after the adjustment of zigzag HDR
Image of looking at has different exposure ratios respectively.
Specifically, in this case, dynamic range adjustment, overexposure are carried out according to photosynthetic mode is exposed enclosed more
Highlighted details is easily lost while dark place details is lifted, and under-exposure is easy to lose while highlighted details is lifted
Dark place details is lost, therefore characteristic point is difficult to find that in synthesis, so as to be difficult to effectively dynamic range adjustment.
By way of preview image synthesis in the embodiment of the present application after multiframe is adjusted through zigzag HDR
Dynamic range adjustment is carried out, the preview image after being adjusted due to each frame through zigzag HDR is by showing dark place details
The second exposure area synthesis of first exposure area and the highlighted details of performance, therefore, both will not be because of overexposure or under-exposure
Cause relevant details to be lost, can be strengthened dynamic range by the synthesis of multiframe preview image again, so as to effectively be lifted pre-
Look at picture quality.If for example, it is m that ratio is exposed under the photographed scene:1, then can be according to formula zzHDR (m:1)+zzHDR
((m-1):1)+zzHDR((m-2):1)+……+zzHDR(2:1) image synthesis, is carried out to preview image.I.e. by m:1、(m-
1):1、(m-2):1、2:The preview image after the adjustment of zigzag HDR of 1 grade exposure ratio carries out image synthesis, with
Realize that effectively dynamic range is adjusted.Wherein, zzHDR (m:1) it is m to refer to exposure ratio:1 through zigzag HDR adjust
Preview image after whole.
Step 204, according to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.
According to testing result, the dynamic range of photographed scene, it is determined that being adapted to the dynamic range adjustment of present filming scene
After mode, just 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 HDR technologies issuable counter productive when carrying out dynamic range enhancing so that shooting all kinds of shootings
During scene, preferable dynamic range enhancing effect can be obtained, preferably reflects the visual effect in true environment.
In summary, in the embodiment of the present invention, by during the preview image that camera gathers photographed scene, to clapping
Take the photograph scene and carry out Moving Objects detection, judge to whether there is Moving Objects in photographed scene.If there is motion pair in photographed scene
As, it is determined that dynamic range adjustment is carried out by the way of being exposed single frames spatial domain more.If motion pair is not present in photographed scene
As then distinguishing corresponding exposure value according to the first exposure area in preview image and the second exposure area, determining that dynamic range is adjusted
Perfect square formula.According still further to the dynamic range adjustment mode, dynamic range parameters are adjusted, photo is exported.So that in all kinds of shootings
The dynamic range Adjustment effect obtained under scene, both can guarantee that the true reduction of dynamic range, the clear of preview image is can guarantee that again
Clear degree is not suffered a loss, and is prevented effectively from all kinds of negative effects that may trigger during dynamic range enhancing.
Reference picture 3, shows a kind of block diagram of mobile terminal in the embodiment of the present invention.Mobile terminal includes:Detection module
31st, adjustment mode determining module 32 and performing module 33.
Wherein, detection module 31, for during the preview image that camera gathers photographed scene, entering to photographed scene
Row Moving Objects are detected, obtain testing result;
Adjustment mode determining module 32, if for receiving photographing instruction, according to testing result, determining that dynamic range is adjusted
Perfect square formula;
Performing module 33, for according to dynamic range adjustment mode, adjusting dynamic range parameters, exports photo.
To sum up, in the embodiment of the present invention, the preview image process of photographed scene is gathered in camera by detection module 31
In, Moving Objects detection is carried out to photographed scene, testing result is obtained.If receiving photographing instruction, determined by adjustment mode
Module 32 determines dynamic range adjustment mode according to the testing result, and by performing 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 triggered during dynamic range enhancing is prevented effectively from, lift picture quality.
Reference picture 4, in a preferred embodiment of the invention, on the basis of Fig. 3, adjustment mode determining module 32
Including:Preview image acquisition submodule 321, exposure area determination sub-module 322, exposure value acquisition submodule 323, first are determined
The determination sub-module 325 of submodule 324 and second.
Wherein, preview image acquisition submodule 321, the frame preview image for obtaining camera collection;
Exposure area determination sub-module 322, for determining the first exposure area and the second exposure area in preview image;
Exposure value acquisition submodule 323, the first exposure value and second exposure area for obtaining the first exposure area
Second exposure value;
First determination sub-module 324, if indicating that Moving Objects are not present in photographed scene for testing result, according to the
Corresponding exposure value is distinguished in one exposure area and the second exposure area, determines dynamic range adjustment mode;
Second determination sub-module 325, if indicating there are Moving Objects in photographed scene for testing result, it is determined that use
The mode exposed single frames spatial domain carries out dynamic range adjustment more;
Wherein, the first exposure area refers to the long exposure area in preview image, and the second exposure area refers to preview image
In short exposure region;The mode exposed single frames spatial domain includes more:Zigzag HDR and adaptive dynamic range are rectified
Just.
Specifically, first determination sub-module 324, including:Expose ratio-dependent unit 3241 and adjustment mode determines list
Member 3242.
Wherein, exposure ratio-dependent unit 3241, for according to the first exposure value and the second exposure value, determining the first exposure
Region and the exposure ratio of the second exposure area;
Adjustment mode determining unit 3242, for according to exposure ratio, determining dynamic range adjustment mode.
Specifically, the adjustment mode determining unit 3242, if being more than or equal to the first ratio threshold specifically for exposure ratio
Value and less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is to expose photosynthetic mode enclosed more.If
Exposure ratio is more than the second proportion threshold value, it is determined that dynamic range adjustment mode is to adjust a frame through zigzag HDR
Preview image afterwards carries out image without the preview image that dynamic range is adjusted with a frame and synthesized.If the ratio of exposure is more than the second ratio
Example threshold value, it is determined that dynamic range adjustment mode is that the preview image after multiframe is adjusted through zigzag HDR is schemed
As synthesis, wherein, the preview image after multiframe is adjusted through zigzag HDR has different exposure ratios respectively.
In addition, the adjustment mode determining unit 3242, if being more than the second proportion threshold value also particularly useful for exposure ratio, really
It is that the preview image after multiframe is adjusted through zigzag HDR carries out image synthesis to determine dynamic range adjustment mode, its
In, the preview image after multiframe is adjusted through zigzag HDR has different exposure ratios respectively.Further, the tune
Perfect square formula determining unit 3242 can use formula:zzHDR(m:1)+zzHDR((m-1):1)+zzHDR((m-2):1)+……+
zzHDR(2:1) image synthesis, is carried out to preview image;Wherein, zzHDR (m:1) it is m to refer to exposure ratio:1 through zigzag
Preview image after HDR adjustment.
To sum up, in the embodiment of the present invention, the preview image process of photographed scene is gathered in camera by detection module 31
In, Moving Objects detection is carried out to photographed scene, judges to whether there is Moving Objects in photographed scene.If existing in photographed scene
Moving Objects, then determined to carry out dynamic range tune by the way of exposing single frames spatial domain more by adjustment mode determining module 32
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
Corresponding exposure value is distinguished in domain and the second exposure area, determines dynamic range adjustment mode.Again by performing 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
Scope Adjustment effect, both can guarantee that the true reduction of dynamic range, can guarantee that the definition of preview image is not suffered a loss again, effectively
Avoid all kinds of negative effects that may trigger during dynamic range enhancing.
In addition, the embodiment of the present invention additionally provides a kind of mobile terminal, including processor, memory, described deposit is stored in
On reservoir and the computer program that can run on the processor, realized when the computer program is by the computing device
Each process of above-mentioned photographic method embodiment, and identical technique effect can be reached, to avoid repeating, repeat no more here.
On the other hand, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, described computer-readable to deposit
Be stored with computer program on storage media, and the computer program realizes above-mentioned photographic method embodiment when being executed by processor
Each process, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, it is described computer-readable
Storage medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD 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 is wrapped
Include:At least one processor 501, memory 502, at least one camera 506, at least one network interface 504 and other use
Family interface 503.Each component in mobile terminal 500 is coupled by bus system 505.It is understood that bus system 505
For realizing the connection communication between these components.Bus system 505 in addition to including data/address bus, in addition to power bus,
Controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system in Figure 5
505。
Wherein, user interface 503 can 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,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed
Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(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 not limited
In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.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 also includes:It is stored on memory 502 and can be on processor 501
The computer program of operation, can be the computer program in application program 5022, computer program is by processor specifically
501 realize following steps when performing:During the preview image that camera gathers photographed scene, photographed scene is moved
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, export photo.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, 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), application specific integrated circuit
(ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic
Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor
In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can
The ripe computer-readable recording medium in this area such as program read-only memory or electrically erasable programmable memory, register
In.The computer-readable recording medium is located at memory 502, and processor 501 reads the information in memory 502, hard with reference to its
The step of part completes the above method.Specifically, be stored with computer program, computer program on the computer-readable recording medium
Each step such as above-mentioned photographic method embodiment is realized when being performed by processor 501.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(ApplicationSpecificIntegratedCircuits, 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 performing the application function or
During it is combined.
Realize, can be realized by performing the module (such as process, function) of function of the embodiment of the present invention for software
The technology of the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can be in processing
Realized in device or outside processor.
Alternatively, following steps can be also realized when computer program is performed by processor 501:Obtain the one of camera collection
Frame preview image;Determine the first exposure area and the second exposure area in preview image;Obtain the first of the first exposure area
Exposure value and the second exposure value of the second exposure area;If testing result indicates that Moving Objects, root are not present in photographed scene
Distinguish corresponding exposure value according to the first exposure area and the second exposure area, determine dynamic range adjustment mode;Wherein, first exposes
Light region refers to the long exposure area in preview image, and the second exposure area refers to the short exposure region in preview image.
Alternatively, following steps can be also realized when computer program is performed by processor 501:According to the first exposure value and
Two exposure values, determine the exposure ratio of the first exposure area and the second exposure area;According to exposure ratio, determine that dynamic range is adjusted
Perfect square formula.
Alternatively, following steps can be also realized when computer program is performed by processor 501:If the ratio of exposure is less than first
Proportion threshold value, it is determined that dynamic range adjustment mode is zigzag HDR adjustment mode.
Alternatively, following steps can be also realized when computer program is performed by processor 501:If exposure ratio is more than or waited
In the first proportion threshold value and less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is to expose conjunction enclosed more
Into mode.
Alternatively, following steps can be also realized when computer program is performed by processor 501:If the ratio of exposure is more than second
Proportion threshold value, it is determined that dynamic range adjustment mode is the preview image and one after a frame is adjusted through zigzag HDR
Frame carries out image synthesis without the preview image that dynamic range is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 501:If the ratio of exposure is more than second
Proportion threshold value, it is determined that dynamic range adjustment mode is that the preview image after multiframe is adjusted through zigzag HDR is carried out
Image is synthesized;Wherein, the preview image after multiframe is adjusted through zigzag HDR has different exposure ratios respectively.
Alternatively, following steps can be also realized when computer program is performed by processor 501:According to formula zzHDR (m:1)
+zzHDR((m-1):1)+zzHDR((m-2):1)+……+zzHDR(2:1) image synthesis, is carried out to preview image;Wherein,
zzHDR(m:1) it is m to refer to exposure ratio:1 preview image after the adjustment of zigzag HDR.
Alternatively, following steps can be also realized when computer program is performed by processor 501:If testing result indicates to shoot
There are Moving Objects in scene, it is determined that dynamic range adjustment mode is the mode that exposes single frames spatial domain more;Wherein, single frames is empty
Between the mode that exposes domain more include:Zigzag HDR and adaptive dynamic range correction.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
To sum up, the embodiment of the present invention is by during the preview image that camera gathers photographed scene, 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, export photo.So that in all kinds of bats
Taking the photograph under scene can be using suitable dynamic range adjustment mode, and then is prevented effectively from what is triggered during dynamic range strengthens
Negative effect, lifts 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 personal 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 block
630th, display unit 640, camera 650, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680
With power supply 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 630 can be with
Including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation (ratio of the user on or near it
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 631), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller two
Individual part.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 660, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630
Other input equipments 632 can also be included, 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, the one or more in action bars etc..
Wherein, display unit 640 can be used for information and the movement for showing the information inputted by user or being supplied to 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 contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor
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 conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by operation or performs and is stored in software program and/or module in first memory 621, and calls and be stored in
Data in second memory 622, perform the various functions and processing data of mobile terminal, so as to be carried out to mobile terminal overall
Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, the mobile terminal in Fig. 6 also includes:It is stored in first memory 621 and/or second deposits
On reservoir 622 and the computer program that can be run on processor 660, realized such as when computer program is performed by processor 660
Lower step:During the preview image that camera gathers photographed scene, Moving Objects detection is carried out to photographed scene, 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, photo is exported.
Alternatively, following steps can be also realized when computer program is performed by processor 660:Obtain the one of camera collection
Frame preview image;Determine the first exposure area and the second exposure area in preview image;Obtain the first of the first exposure area
Exposure value and the second exposure value of the second exposure area;If testing result indicates that Moving Objects, root are not present in photographed scene
Distinguish corresponding exposure value according to the first exposure area and the second exposure area, determine dynamic range adjustment mode;Wherein, first exposes
Light region refers to the long exposure area in preview image, and the second exposure area refers to the short exposure region in preview image.
Alternatively, following steps can be also realized when computer program is performed by processor 660:According to the first exposure value and
Two exposure values, determine the exposure ratio of the first exposure area and the second exposure area;According to exposure ratio, determine that dynamic range is adjusted
Perfect square formula.
Alternatively, following steps can be also realized when computer program is performed by processor 660:If the ratio of exposure is less than first
Proportion threshold value, it is determined that dynamic range adjustment mode is zigzag HDR adjustment mode.
Alternatively, following steps can be also realized when computer program is performed by processor 660:If exposure ratio is more than or waited
In the first proportion threshold value and less than or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode is to expose conjunction enclosed more
Into mode.
Alternatively, following steps can be also realized when computer program is performed by processor 660:If the ratio of exposure is more than second
Proportion threshold value, it is determined that dynamic range adjustment mode is the preview image and one after a frame is adjusted through zigzag HDR
Frame carries out image synthesis without the preview image that dynamic range is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 660:If the ratio of exposure is more than second
Proportion threshold value, it is determined that dynamic range adjustment mode is that the preview image after multiframe is adjusted through zigzag HDR is carried out
Image is synthesized;Wherein, the preview image after multiframe is adjusted through zigzag HDR has different exposure ratios respectively.
Alternatively, following steps can be also realized when computer program is performed by processor 660:According to formula zzHDR (m:1)
+zzHDR((m-1):1)+zzHDR((m-2):1)+……+zzHDR(2:1) image synthesis, is carried out to preview image;Wherein,
zzHDR(m:1) it is m to refer to exposure ratio:1 preview image after the adjustment of zigzag HDR.
Alternatively, following steps can be also realized when computer program is performed by processor 660:If testing result indicates to shoot
There are Moving Objects in scene, it is determined that dynamic range adjustment mode is the mode that exposes single frames spatial domain more;Wherein, single frames is empty
Between the mode that exposes domain more include:Zigzag HDR and adaptive dynamic range correction.
Mobile terminal can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here not
Repeat again.
It can be seen that, the mobile terminal in the embodiment of the present invention gathers the preview of photographed scene by processor 660 in camera
In image process, Moving Objects detection is carried out to photographed scene, testing result is obtained.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 be prevented effectively from dynamic
The negative effect triggered during the enhancing of state scope, lifts picture quality.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
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, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If function is realized using in the form of SFU software functional unit and as independent production marketing or in use, can stored
In a computer-readable recording medium.Understood based on such, technical scheme is substantially in other words to existing
The part or the part of the technical scheme that technology contributes can be embodied in the form of software product, and the computer is soft
Part product is stored in a computer-readable recording medium, including some instructions are to cause a computer equipment (can be with
It is personal computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment method.
Specifically, be stored with computer program on the computer-readable recording medium, and computer program is realized when being performed by processor 660
Such as each step of above-mentioned photographic method embodiment.And foregoing computer-readable recording medium includes:USB flash disk, mobile hard disk, ROM,
RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only the embodiment of the present invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (20)
1. a kind of photographic method, applied to the mobile terminal including camera, it is characterised in that including:
During the preview image that camera gathers photographed scene, Moving Objects detection is carried out to the photographed scene, 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, photo is exported.
2. according to the method described in claim 1, it is characterised in that described according to the testing result, determine that dynamic range is adjusted
The step of perfect square formula, including:
Obtain a frame preview image of camera collection;
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
State the second exposure area and distinguish corresponding exposure value, determine dynamic range adjustment mode;
Wherein, first exposure area refers to the long exposure area in the preview image, and second exposure area refers to
Short exposure region in the preview image.
3. method according to claim 2, it is characterised in that described to be exposed according to first exposure area with described second
The corresponding exposure value of light region difference, the step of determining dynamic range adjustment mode, including:
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.
4. method according to claim 3, it is characterised in that described according to the exposure ratio, determines that dynamic range is adjusted
The step of perfect square formula, including:
If the exposure ratio is less than the first proportion threshold value, it is determined that dynamic range adjustment mode is adjusted for zigzag HDR
Perfect square formula.
5. method according to claim 3, it is characterised in that described according to the exposure ratio, determines that dynamic range is adjusted
The step of perfect square formula, including:
If the exposure ratio is more than or equal to first proportion threshold value and less than or equal to the second proportion threshold value, it is determined that dynamic
State scope adjustment mode be enclosed more expose photosynthetic mode.
6. method according to claim 3, it is characterised in that described according to the exposure ratio, determines that dynamic range is adjusted
The step of perfect square formula, including:
If the exposure ratio is more than the second proportion threshold value, it is determined that dynamic range adjustment mode is that a frame is dynamic through zigzag height
Preview image after the adjustment of state scope carries out image without the preview image that dynamic range is adjusted with a frame and synthesized.
7. method according to claim 3, it is characterised in that described according to the exposure ratio, determines that dynamic range is adjusted
The step of perfect square formula, in addition to:
If the exposure ratio is more than the second proportion threshold value, it is determined that dynamic range adjustment mode is that multiframe is dynamic through zigzag height
Preview image after the adjustment of state scope carries out image synthesis;
Wherein, the preview image after the multiframe is adjusted through zigzag HDR has different exposure ratios respectively.
8. method according to claim 7, it is characterised in that it is described multiframe is adjusted through zigzag HDR after
The step of preview image carries out image synthesis, including:
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) it is m to refer to exposure ratio:1 preview image after the adjustment of zigzag HDR.
9. according to the method described in claim 1, it is characterised in that described according to the testing result, determine that dynamic range is adjusted
The step of perfect square formula, including:
If the testing result indicates there are Moving Objects in the photographed scene, it is determined that dynamic range adjustment mode is single frames
The mode exposed spatial domain more;
Wherein, the mode exposed the single frames spatial domain includes more:Zigzag HDR and adaptive dynamic range correction.
10. a kind of mobile terminal, including camera, it is characterised in that the mobile terminal also includes:
Detection module, for during the preview image that camera gathers photographed scene, being moved to the photographed scene
Object detection, obtains testing result;
Adjustment mode determining module, if for receiving photographing instruction, according to the testing result, determining that dynamic range is adjusted
Mode;
Performing module, for according to the dynamic range adjustment mode, adjusting dynamic range parameters, exports photo.
11. mobile terminal according to claim 10, it is characterised in that the adjustment mode determining module, including:
Preview image acquisition submodule, the frame preview image for obtaining camera collection;
Exposure area determination sub-module, for determining the first exposure area and the second exposure area in the preview image;
Exposure value acquisition submodule, for the first exposure value for obtaining first exposure area and second exposure area
Second exposure value;
First determination sub-module, if indicating that Moving Objects, basis are not present in the photographed scene for the testing result
Corresponding exposure value is distinguished in first exposure area and second exposure area, determines dynamic range adjustment mode;
Wherein, first exposure area refers to the long exposure area in the preview image, and second exposure area refers to
Short exposure region in the preview image.
12. mobile terminal according to claim 11, it is characterised in that first determination sub-module, including:
Ratio-dependent unit is exposed, for according to first exposure value and second exposure value, determining first exposure
Region and the exposure ratio of second exposure area;
Adjustment mode determining unit, for according to the exposure ratio, determining dynamic range adjustment mode.
13. mobile terminal according to claim 12, it is characterised in that
The adjustment mode determining unit, if being less than the first proportion threshold value specifically for the exposure ratio, it is determined that dynamic model
Adjustment mode is enclosed for zigzag HDR adjustment mode.
14. mobile terminal according to claim 12, it is characterised in that
The adjustment mode determining unit, if being more than or equal to first proportion threshold value and small specifically for the exposure ratio
In or equal to the second proportion threshold value, it is determined that dynamic range adjustment mode be enclosed more expose photosynthetic mode.
15. mobile terminal according to claim 12, it is characterised in that
The adjustment mode determining unit, if being more than the second proportion threshold value specifically for the exposure ratio, it is determined that dynamic model
It is that the preview image and a frame after a frame is adjusted through zigzag HDR are adjusted without dynamic range to enclose adjustment mode
Preview image carries out image synthesis.
16. mobile terminal according to claim 12, it is characterised in that
The adjustment mode determining unit, if being more than the second proportion threshold value specifically for the exposure ratio, it is determined that dynamic model
It is that the preview image after multiframe is adjusted through zigzag HDR carries out image synthesis to enclose adjustment mode, wherein, it is described many
Preview image after frame is adjusted through zigzag HDR has different exposure ratios respectively.
17. mobile terminal according to claim 16, it is characterised in that
The adjustment mode determining unit, also particularly useful for using formula:zzHDR(m:1)+zzHDR((m-1):1)+zzHDR
((m-2):1)+……+zzHDR(2:1) image synthesis, is carried out to preview image;Wherein, zzHDR (m:1) exposure ratio is referred to
For m:1 preview image after the adjustment of zigzag HDR.
18. mobile terminal according to claim 10, it is characterised in that the adjustment mode determining module, including:
Second determination sub-module, if indicating there are Moving Objects in the photographed scene for the testing result, it is determined that adopt
Dynamic range adjustment being carried out with the mode exposed single frames spatial domain more;
Wherein, the mode exposed the single frames spatial domain includes more:Zigzag HDR and adaptive dynamic range correction.
19. a kind of mobile terminal, including camera, it is characterised in that the mobile terminal also includes processor, 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
The step of photographic method as claimed in any one of claims 1-9 wherein being realized during execution.
20. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium
Program, the computer program realizes the step of photographic method as claimed in any one of claims 1-9 wherein when being executed by processor
Suddenly.
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 true CN107231530A (en) | 2017-10-03 |
CN107231530B 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) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809593A (en) * | 2017-11-13 | 2018-03-16 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the storage medium of shooting image |
CN108805834A (en) * | 2018-05-28 | 2018-11-13 | 电子科技大学 | A kind of image processing algorithm that endoscope is with an automatic light meter |
CN108965700A (en) * | 2018-07-05 | 2018-12-07 | 平安科技(深圳)有限公司 | A kind of filming 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 |
CN109996009A (en) * | 2019-04-09 | 2019-07-09 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN110290314A (en) * | 2019-06-13 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and storage medium |
CN110445986A (en) * | 2019-07-30 | 2019-11-12 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN111311509A (en) * | 2020-01-20 | 2020-06-19 | 上海理工大学 | Self-adaptive correction method for abnormal exposure image |
CN111512625A (en) * | 2017-12-18 | 2020-08-07 | 佳能株式会社 | Image pickup apparatus, control method thereof, program, and storage medium |
WO2021208706A1 (en) * | 2020-04-14 | 2021-10-21 | 深圳市道通智能航空技术股份有限公司 | High dynamic range image composition method and device, image processing chip and aerial camera |
US11451704B2 (en) | 2017-12-18 | 2022-09-20 | Canon Kabushiki Kaisha | Image capturing apparatus, method for controlling the same, and storage medium |
CN115103120A (en) * | 2022-06-30 | 2022-09-23 | Oppo广东移动通信有限公司 | Shooting scene detection method and device, electronic equipment and storage medium |
CN116723417A (en) * | 2022-02-28 | 2023-09-08 | 荣耀终端有限公司 | Image processing method and electronic equipment |
Citations (9)
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 |
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 |
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 |
-
2017
- 2017-06-22 CN CN201710482317.7A patent/CN107231530B/en active Active
Patent Citations (9)
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 |
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 |
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 |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019091412A1 (en) * | 2017-11-13 | 2019-05-16 | Oppo广东移动通信有限公司 | Image capture method, apparatus, terminal, and storage medium |
US11412153B2 (en) | 2017-11-13 | 2022-08-09 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Model-based method for capturing images, terminal, and storage medium |
CN107809593A (en) * | 2017-11-13 | 2018-03-16 | 广东欧珀移动通信有限公司 | Method, apparatus, terminal and the storage medium of shooting image |
CN107809593B (en) * | 2017-11-13 | 2019-08-16 | Oppo广东移动通信有限公司 | Shoot method, apparatus, terminal and the storage medium of image |
CN111512625A (en) * | 2017-12-18 | 2020-08-07 | 佳能株式会社 | Image pickup apparatus, control method thereof, program, and storage medium |
US11729488B2 (en) | 2017-12-18 | 2023-08-15 | Canon Kabushiki Kaisha | Image capturing apparatus, method for controlling the same, and storage medium |
US11451704B2 (en) | 2017-12-18 | 2022-09-20 | Canon Kabushiki Kaisha | Image capturing apparatus, method for controlling the same, and 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 |
WO2020006906A1 (en) * | 2018-07-05 | 2020-01-09 | 平安科技(深圳)有限公司 | Photograph capturing control method, terminal, and computer-readable storage medium |
CN108965700A (en) * | 2018-07-05 | 2018-12-07 | 平安科技(深圳)有限公司 | A kind of filming 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 |
CN109996009A (en) * | 2019-04-09 | 2019-07-09 | Oppo广东移动通信有限公司 | Image processing method, 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 |
CN110290314A (en) * | 2019-06-13 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method, 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 |
CN110445986A (en) * | 2019-07-30 | 2019-11-12 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN111311509A (en) * | 2020-01-20 | 2020-06-19 | 上海理工大学 | Self-adaptive correction method for abnormal exposure image |
WO2021208706A1 (en) * | 2020-04-14 | 2021-10-21 | 深圳市道通智能航空技术股份有限公司 | High dynamic range image composition method and device, image processing chip and aerial camera |
CN116723417A (en) * | 2022-02-28 | 2023-09-08 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN116723417B (en) * | 2022-02-28 | 2024-04-26 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN115103120A (en) * | 2022-06-30 | 2022-09-23 | Oppo广东移动通信有限公司 | Shooting scene detection method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107231530B (en) | 2019-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107231530A (en) | A kind of photographic method and mobile terminal | |
CN106131449B (en) | A kind of photographic method and mobile terminal | |
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 | |
CN107302664A (en) | A kind of image pickup method and mobile terminal | |
CN105827990B (en) | A kind of automatic explosion method and mobile terminal | |
CN107613218A (en) | The image pickup method and mobile terminal of a kind of high dynamic range images | |
CN106060419B (en) | A kind of photographic 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 | |
CN107197169A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN106060406A (en) | Photographing method and mobile terminal | |
CN107395976B (en) | A kind of acquisition parameters setting method and mobile terminal | |
CN107205120A (en) | The processing method and mobile terminal of a kind of image | |
CN105827971A (en) | Image processing method and mobile terminal | |
CN107277387A (en) | High dynamic range images image pickup method, terminal and computer-readable recording medium | |
CN105959574B (en) | A kind of photographic method and mobile terminal | |
CN106506962A (en) | A kind of image processing method and mobile terminal | |
CN105959559A (en) | Night scene shooting method and mobile terminal | |
CN105827754A (en) | High dynamic-range image generation method and mobile terminal | |
CN107465874B (en) | A kind of dark current processing method and mobile terminal | |
CN105979155A (en) | Photographing method and mobile terminal | |
CN106231187A (en) | A kind of method shooting image and mobile terminal | |
CN106161932B (en) | A kind of photographic method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of 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 |