CN106231182A - A kind of photographic method and mobile terminal - Google Patents
A kind of photographic method and mobile terminal Download PDFInfo
- Publication number
- CN106231182A CN106231182A CN201610617114.XA CN201610617114A CN106231182A CN 106231182 A CN106231182 A CN 106231182A CN 201610617114 A CN201610617114 A CN 201610617114A CN 106231182 A CN106231182 A CN 106231182A
- Authority
- CN
- China
- Prior art keywords
- target area
- area image
- finger
- touch location
- amplified
- 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.)
- Pending
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/80—Camera processing pipelines; Components thereof
-
- 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
Abstract
Embodiments providing a kind of photographic method, be applied to the mobile terminal with photographic head, described method includes: obtain a frame preview image of described camera collection;Obtain described mobile phone users touch location on described preview image;With described touch location as the center of circle, according to pre-set radius, determine target area image to be amplified in described preview image;When receiving photographing instruction, described preview image is generated the first photo;Determine the amplification of described target area image;Amplification based on described target area image, generates the second photo.The embodiment of the present invention additionally provides a kind of mobile terminal.The method of the embodiment of the present invention and mobile terminal, target area image on photo can be amplified, and the target area image after amplifying generates new photo together with this photo, thus mobile phone users can be made to be amplified reaching to emphasize the purpose of this target area image to the target area image needed.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of photographic method and mobile terminal.
Background technology
Along with mobile terminal camera function from strength to strength, increasing mobile phone users utilizes mobile terminal to enter
Row is taken pictures, and processes the photo clapped.Such as, photo can be carried out after completing to take pictures by the mobile terminal of prior art
Processing and amplifying.But, prior art can only carry out overall amplification to photo, and the photo after entirety can only being amplified generate to
Mobile phone users.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method, to solve in prior art overall enlarged photograph generating to be somebody's turn to do
The problem of the photo after overall amplification.
The embodiment of the present invention provides a kind of mobile terminal, to solve in prior art overall enlarged photograph generating to be somebody's turn to do
The problem of the photo after overall amplification.
First aspect, it is provided that a kind of photographic method, is applied to the mobile terminal with photographic head, and described method includes: obtain
Take a frame preview image of described camera collection;Obtain described mobile phone users touch position on described preview image
Put;With described touch location as the center of circle, according to pre-set radius, determine target area image to be amplified in described preview image;
When receiving photographing instruction, described preview image is generated the first photo;Determine the amplification of described target area image;
Amplification based on described target area image, generates the second photo.
Second aspect, it is provided that a kind of mobile terminal, including photographic head, described mobile terminal also includes: preview image obtains
Module, for obtaining a frame preview image of described camera collection;Touch location acquisition module, is used for obtaining described movement eventually
End subscriber touch location on the described preview image that described preview image acquisition module obtains;Target area image obtains mould
Block, for described touch location acquisition module obtain described touch location as the center of circle, according to pre-set radius, determine described pre-
Target area image to be amplified in the described preview image that image collection module of looking at obtains;First photo generation module, is used for
When receiving photographing instruction, the described preview image that described preview image acquisition module obtains is generated the first photo;Amplify
Multiple determines module, for determining the times magnification of described target area image that described target area image acquisition module obtains
Number;Second photo generation module, for determining the amplification of described target area image that module determines based on described amplification
Multiple, generates the second photo.
So, in the embodiment of the present invention, can by photo target area image amplify, and will amplify after target area
Image generates new photo together with this photo, thus mobile phone users can be made to be amplified the target area image needed
To reach to emphasize the purpose of this target area image.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2 is the flow chart of the photographic method of second embodiment of the invention;
Fig. 3 is that the photographic method of second embodiment of the invention sets the goal the stream of step of amplification of area image really
Cheng Tu;
Fig. 4 be the photographic method of second embodiment of the invention target area image to be amplified is carried out Super-resolution reconstruction
Build, generate the flow chart of the step of the target area image to be amplified after rebuilding;
Fig. 5 is a kind of structured flowchart of the mobile terminal of third embodiment of the invention;
Fig. 6 is the another kind of structured flowchart of the mobile terminal of third embodiment of the invention;
Fig. 7 is the structured flowchart of the mobile terminal of fourth embodiment of the invention;
Fig. 8 is the structured flowchart of the mobile terminal of fifth embodiment of the invention.
Detailed description of the invention
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
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
First embodiment
First embodiment of the invention discloses a kind of photographic method.The photographic method of this first embodiment is applied to have and takes the photograph
Mobile terminal as head.As it is shown in figure 1, be the flow chart of the photographic method of first embodiment of the invention.This first embodiment
Specifically comprising the following steps that of method
Step 101: obtain a frame preview image of camera collection.
When mobile phone users opens the photographic head of mobile terminal, photographic head can gather preview image.
Step 102: obtain mobile phone users touch location on preview image.
After the finger of mobile phone users touches on preview image, this step can obtain this touch location.Obtaining
After touch location, the finger of mobile phone users may exit off this preview image.
Step 103: with touch location as the center of circle, according to pre-set radius, determine target area to be amplified in preview image
Image.
This target area image is circular.This pre-set radius can be obtained by user is pre-defined, it is also possible to is system intialization
's.
Step 104: when receiving photographing instruction, generates the first photo by preview image.
Concrete, the mode taken pictures can be sounds trigger shooting style, button triggers shooting style and fingerprint triggers and claps
According to mode etc..
Step 105: determine the amplification of target area image.
Concrete, the amplification of target area image can be determined in several ways.Such as, mediated really by finger
Determine amplification;Or, determine amplification by input or selection amplification;Or, by mobile amplification
Draw runner determines amplification;Or, determine amplification by the volume key etc. of pressing mobile terminal.
Step 106: amplification based on target area image, generates the second photo.
Target area image in this second photo is the target area image amplified according to amplification.
The photographic method of first embodiment of the invention, can by photo target area image amplify, and will amplify after
Target area image generates new photo together with this photo, thus can make the mobile phone users target area image to needing
It is amplified reaching to emphasize the purpose of this target area image.
Second embodiment
Second embodiment of the invention discloses a kind of photographic method.The photographic method of this second embodiment is applied to have and takes the photograph
Mobile terminal as head.As in figure 2 it is shown, be the flow chart of the photographic method of second embodiment of the invention.This second embodiment
Specifically comprising the following steps that of method
Step 201: obtain a frame preview image of camera collection.
When mobile phone users opens the photographic head of mobile terminal, photographic head can gather preview image.
Step 202: control photographic head and carry out focusing for the first time with the center of preview image for focus.
This step is the conventional steps taken pictures, and typically opening can be to preview image while photographic head obtains preview image
Center-spot.
Step 203: obtain mobile phone users touch location on preview image.
After the finger of mobile phone users touches on preview image, this step can obtain this touch location.Obtaining
After touch location, the finger of mobile phone users may exit off this preview image.
Step 204: control photographic head and carry out focusing for the second time for focus with touch location.
This step is the conventional steps taken pictures, and after touching preview image, this touch location is focused by photographic head.This focusing
Mode is conventional focusing mode, such as, calculate the contrast of touch location, promotes motor movement, completes focusing.
Focused by second time, can make in subsequent step in the photo of shooting the image of this touch location region relatively
The image of other positions is clear.
Step 205: with touch location as the center of circle, according to pre-set radius, determine target area to be amplified in preview image
Image.
This target area image is circular.This pre-set radius can be obtained by user is pre-defined, it is also possible to is system intialization
's.
Step 206: when receiving photographing instruction, generates the first photo by preview image.
Concrete, the mode taken pictures can be sounds trigger shooting style, button triggers shooting style and fingerprint triggers and claps
According to mode etc..
Step 207: determine the amplification of target area image.
Concrete, the amplification of target area image can be determined in several ways.Such as, mediated really by finger
Determine amplification;Or, determine amplification by input or selection amplification;Or, by mobile amplification
Draw runner determines amplification;Or, determine amplification by the volume key etc. of pressing mobile terminal.
Preferably, as it is shown on figure 3, this step 207 is mediated by finger determines amplification, its concrete step is such as
Under:
Step 2071: obtain initial in target area image to be amplified of the first finger of mobile phone users respectively
The coordinate (a1, b1) of touch location and the coordinate of second finger initial touch position in target area image to be amplified
(c1, d1).
This first finger and second finger are any two fingers of mobile phone users.Any when mobile phone users
After two fingers touch in target area image, the coordinate of these two touch locations can be obtained.
Step 2072: according to formulaCalculate the first finger of mobile phone users
Initial touch position and the initial touch position of second finger between distance.
Wherein, D1 is the initial touch position of initial touch position and second finger of the first finger of mobile phone users
Between distance.After the coordinate of the initial touch position of the initial touch position and second finger that obtain the first finger, logical
Cross the distance that above formula can be calculated between Two coordinate rapidly, as one of parameter determining amplification.
Step 2073: according to the first finger and the kneading operation of second finger of mobile phone users, obtain movement respectively
The coordinate (a2, b2) terminating touch location of first finger of terminal use and the coordinate terminating touch location of second finger
(c2, d2).
Concrete, this kneading operation can have following three kinds of forms of expression:
(1) first finger is kneading operation by the way of slip, and second finger is motionless, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are different, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are identical.
(2) first fingers are motionless, and second finger is kneading operation by the way of slip, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are identical, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are different.
(3) first fingers and second finger all kneading operations by the way of slip, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are different, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are also different.
Step 2074: according to formulaThe end calculating the first finger touches position
Put and the distance terminated between touch location of second finger.
Wherein, D2 is the distance terminated between touch location terminating touch location and second finger of the first finger.?
After obtaining the coordinate terminating touch location terminating touch location and second finger of the first finger, can be quick by above formula
The distance that is calculated between Two coordinate, as one of parameter determining amplification.
By three kinds of situations in step 2073, this distance D2 specifically can be expressed as following several form:
(1) first finger is kneading operation by the way of slip, and second finger is motionless, then
(2) first fingers are motionless, and second finger is kneading operation by the way of slip, then
(3) first fingers and second finger all kneading operations by the way of slip, then
Step 2075: calculate the amplification of target area image according to formula n=D2/D1.
Wherein, n is the amplification of target area image.Target area can be obtained quickly and easily by above-mentioned formula
The amplification of image.
Step 208: target area image to be amplified carries out super-resolution rebuilding, generates the mesh to be amplified after rebuilding
Mark area image.
Wherein, this super-resolution rebuilding includes: data overlap denoising Processing and image enhancement processing.
Preferably, as shown in Figure 4, this step 208 specifically includes the steps:
Step 2081: obtain many frame data of the target area image to be amplified that photographic head gathers on the first photo.
Wherein, the method can be by judging the coordinate of each data point of many frame data of target area image to be amplified
Whether (A, B) meets (A-a)2+(B-b)2<R2Determine that whether these many frame data are the multiframe of target area image to be amplified
Data.Wherein, (a, b) is the coordinate of the touch location on preview image of mobile phone users, and R is pre-set radius.
Step 2082: carry out after super-resolution rebuilding rebuild according to many frame data of target area image to be amplified
Target area image to be amplified.
The method of this super-resolution rebuilding may utilize exercise estimator and estimates rotation and the displacement of moving object in image
Vector, estimates the pixel value of interpolation, it is achieved super-resolution rebuilding by movement compensating algorithm.
Preferably, in order to make target area image more life-like, two photographic head can be set in the same direction at mobile terminal,
Many frame data are gathered, for example, it is possible to be front-facing camera simultaneously, it is also possible to be rearmounted shooting simultaneously by these two photographic head
Head.
Therefore, if photographic head includes the first photographic head in the same direction and the second camera being positioned at mobile terminal, the most to be amplified
The multiframe data of target area image include: what the first photographic head and second camera gathered on the first photo respectively waits to put
Many frame data of big target area image.
First photographic head is similar but incomplete same image information with many frame data of second camera collection, will
The two photographic head coordinates the image information composite calulation gathered, it is possible to resolve the problem of image quality distortion after amplification.Such as, first take the photograph
As many frame data of head collection are M1, M2, M3 ..., many frame data of second camera collection are N1, N2, N3 ..., then count
It is the data that the same position to target area image gathers according to M1 and N1, but due to the position difference of different photographic head,
The data of the same position of different camera collections have a small deviation, and therefore, M1 with N1 is similar but incomplete same
Image information, other many frame data are by that analogy.Use that this first photographic head gathers with second camera similar but not
Target area image after identical many frame data can make reconstruction becomes apparent from, it is possible to resolve this target area image local is lost
Very, granular sensation is obvious and the obvious problem of noise.
Step 209: based on the target area image to be amplified after rebuilding, generate the second photo.
Target area image in this second photo is the target area image amplified according to amplification, and through super
After resolution reconstruction, the target area image after this amplification will not produce obvious distortion.
Step 210: obtain the touch operation in the 3rd finger target area image after amplification.
After the finger of mobile phone users touches in target area image, this touch operation can be obtained.
It should be appreciated that the 3rd finger can be arbitrary finger of mobile phone users.
Step 211: based on this touch operation, determine the end touch location of this touch operation.
Concrete, after arbitrary finger of user touches target area image, this finger can move to by the way of slip
Another location, after finger stops sliding off this mobile terminal, this position is the end touch location of this touch operation.
Step 212: target area image is moved to terminating touch location.
Concrete, the target area image after this moves is centrally located at this and terminates touch location.
By the target area image after this amplification mobile, the target area image after this amplification is moved to mobile terminal
The position of user's request.
Preferably, the method for this second embodiment can also be decent to the figure that the target area image interpolation after amplifying is different
Formula.
Such as, image style can be the patterns common in the art such as filter pattern, water droplet pattern, phase rectangle style.
By adding image style, make the target area image after this amplification to show by different image styles, make more
Add attractive in appearance and interesting.
To sum up, the method for second embodiment of the invention, can by photo target area image amplify, and will amplify after
Target area image generates new photo together with this photo, thus can make the mobile phone users target area image to needing
It is amplified reaching to emphasize the purpose of this target area image;Additionally, the method for this second embodiment can also be to be amplified
Target area image carry out super-resolution rebuilding, make the target area image to be amplified after reconstruction become apparent from, therefore, when
After this target area image is amplified, do not result in the obvious distortion of this target area image;Furthermore, the method for this second embodiment
Target area image after this amplification can also be moved to used for mobile terminal by the target area image after this amplification mobile
The position of family demand.
3rd embodiment
Third embodiment of the invention provides a kind of mobile terminal.The mobile terminal of this embodiment can be but not limited to hands
Machine, panel computer, MP3/MP4, intelligent watch, Intelligent bracelet, personal digital assistant (PersonalDigital Assistant,
PDA), vehicle-mounted computer etc..As it can be seen in figures 5 and 6, a kind of structured flowchart of the respectively mobile terminal of third embodiment of the invention
Another kind of structured flowchart with the mobile terminal of third embodiment of the invention.This mobile terminal 500 includes photographic head.Additionally, should
Mobile terminal 500 also specifically includes following module:
Preview image acquisition module 501, for obtaining a frame preview image of camera collection.
When mobile terminal 500 user opens the photographic head of mobile terminal 500, photographic head can gather preview image, preview
Image collection module 501 can obtain the preview image of this camera collection.
Touch location acquisition module 502, is used for obtaining mobile terminal 500 user and obtains at preview image acquisition module 501
Preview image on touch location.
After the finger of mobile terminal 500 user touches on preview image, this touch location acquisition module 502 can obtain
This touch location.After obtaining touch location, the finger of mobile terminal 500 user may exit off this preview image.
Target area image acquisition module 503, for touch location acquisition module 502 obtain touch location as circle
The heart, according to pre-set radius, determine target area image to be amplified in the preview image that preview image acquisition module 501 obtains.
This target area image is circular.This pre-set radius can be obtained by mobile terminal 500 user is pre-defined, it is also possible to
It is system intialization.
First photo generation module 504, for when receiving photographing instruction, obtains preview image acquisition module 501
Preview image generate the first photo.
Concrete, the mode taken pictures can be sounds trigger shooting style, button triggers shooting style and fingerprint triggers and claps
According to mode etc..
Amplification determines module 505, for determining the target area image that target area image acquisition module 503 obtains
Amplification.
Concrete, amplification determines that module 505 can determine the amplification of target area image in several ways.Example
As, mediated by finger and determine amplification;Or, determine amplification by input or selection amplification;Or,
Amplification is determined by the draw runner of mobile amplification;Or, determined by the volume key etc. of pressing mobile terminal and put
Big multiple.
Preferably, when this amplification determines that module 505 uses finger kneading to determine amplification, this amplification
Determine that module 505 includes the most concrete submodule:
Initial touch position obtains submodule 5051, for obtaining first finger of mobile terminal 500 user respectively at mesh
The coordinate (a1, b1) of the initial touch position in target area image to be amplified that mark area image acquisition module 503 obtains
With second finger initial touch position in the target area image to be amplified that target area image acquisition module 503 obtains
Coordinate (c1, d1).
This first finger and second finger are any two fingers of mobile terminal 500 user.As mobile terminal 500 user
Any two fingers touch in target area image after, initial touch position obtain submodule 5051 can obtain these two
The coordinate of touch location.
First distance calculating sub module 5052, for according to formulaCalculate initial
Touch location obtains initial touch position and the second finger of first finger of mobile terminal 500 user that submodule 5051 obtains
Initial touch position between distance.
Wherein, D1 is the initial touch of initial touch position and second finger of the first finger of mobile terminal 500 user
Distance between position.Coordinate in the initial touch position of the initial touch position and second finger obtaining the first finger
After, the distance that the first distance calculating sub module 5052 can be calculated between Two coordinate rapidly by above formula, as determining
One of parameter of amplification.
Terminate touch location and obtain submodule 5053, for the first finger according to mobile terminal 500 user and second-hand
The kneading operation referred to, obtains the coordinate (a2, b2) terminating touch location and the of first finger of mobile terminal 500 user respectively
The coordinate (c2, d2) terminating touch location of two fingers.
Concrete, this kneading operation can have following three kinds of forms of expression:
(1) first finger is kneading operation by the way of slip, and second finger is motionless, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are different, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are identical.
(2) first fingers are motionless, and second finger is kneading operation by the way of slip, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are identical, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are different.
(3) first fingers and second finger all kneading operations by the way of slip, then the end of the first finger touches position
The coordinate (a2, b2) put and the coordinate (a1, b1) of the initial touch position of the first finger are different, and the end of second finger touches position
The coordinate (c2, d2) put and the coordinate (c1, d1) of the initial touch position of second finger are also different.
Second distance calculating sub module 5054, for according to formulaCalculate knot
Bundle touch location obtains the end touch location terminating touch location and second finger of the first finger that submodule 5053 obtains
Between distance.
Wherein, D2 is the distance terminated between touch location terminating touch location and second finger of the first finger.?
After obtaining the coordinate terminating touch location terminating touch location and second finger of the first finger, second distance calculates submodule
The distance that block 5054 can be calculated between Two coordinate rapidly by above formula, as one of parameter determining amplification.
Based on the coordinate terminating touch location and the terminating touch location and obtaining the first finger that submodule 5053 obtains
Three kinds of different situations of the coordinate terminating touch location of two fingers, second distance calculating sub module 5054 calculated first
Distance D2 terminated between touch location terminating touch location and second finger of finger specifically can be expressed as following several shape
Formula:
(1) first finger is kneading operation by the way of slip, and second finger is motionless, then
(2) first fingers are motionless, and second finger is kneading operation by the way of slip, then
(3) first fingers and second finger all kneading operations by the way of slip, then
Amplification calculating sub module 5055, for calculating target area image acquisition module according to formula n=D2/D1
The amplification of 503 target area image obtained.
Wherein, n is the amplification of target area image.Amplification calculating sub module 5055 can by above-mentioned formula
Obtain the amplification of target area image quickly and easily.
Second photo generation module 506, for determining putting of target area image that module 505 determines based on amplification
Big multiple, generates the second photo.
Target area image in this second photo is the target area image amplified according to amplification.
Preferably, the second photo generation module 506 includes:
Target area image rebuilds submodule 5061, to be amplified for obtain target area image acquisition module 503
Target area image carry out super-resolution rebuilding, generate the target area image to be amplified after rebuilding.
Preferably, this super-resolution rebuilding includes: data overlap denoising Processing and image enhancement processing.
Preferably, this target area image reconstruction submodule 5061 includes:
Multiframe data capture unit 50611, for obtaining the first photograph that photographic head generates at the first photo generation module 504
Many frame data of the target area image to be amplified gathered on sheet.
Wherein, this multiframe data capture unit 50611 can be by judging many frame data of target area image to be amplified
The coordinate (A, B) of each data point whether meet (A-a)2+(B-b)2<R2Determine whether these many frame data are to be amplified
Many frame data of target area image.Wherein, (a b) is the seat of mobile terminal 500 user touch location on preview image
Mark, R is pre-set radius.
Target area image reconstruction unit 50612, to be amplified for obtain according to multiframe data capture unit 50611
Many frame data of target area image carry out the target area image to be amplified after super-resolution rebuilding is rebuild.
The method of the super-resolution rebuilding that this target area image reconstruction unit 50612 uses may utilize exercise estimator and estimates
Count rotation and the displacement vector of moving object in picture of publishing picture, estimated the pixel value of interpolation by movement compensating algorithm, it is achieved oversubscription
Resolution is rebuild.
Preferably, in order to make target area image more life-like, two shootings can be set in the same direction at mobile terminal 500
Head, gathers many frame data by these two photographic head.For example, it is possible to be front-facing camera simultaneously, it is also possible to be rearmounted simultaneously
Photographic head.
Therefore, if the photographic head of the mobile terminal of this embodiment 500 includes that be positioned at mobile terminal 500 in the same direction first takes the photograph
As head and second camera, the multiframe data of target area image the most to be amplified include: the first photographic head and second camera
Many frame data of the target area image to be amplified gathered respectively on the first photo.
First photographic head is similar but incomplete same image information with many frame data of second camera collection, will
First photographic head and second camera coordinate the image information composite calulation gathered, it is possible to resolve the problem of image quality distortion after amplification.
Such as, many frame data of the first camera collection are M1, M2, M3 ..., many frame data of second camera collection are N1, N2,
N3 ..., then data M1 and N1 are the data that the same position to target area image gathers, but due to the first photographic head and
The position difference of second camera, the data of the same position of the first photographic head and second camera collection have small deviation,
Therefore, M1 with N1 is similar but incomplete same image information, and other many frame data are by that analogy.
Carry out target area image reconstruction by two many frame of data information of camera collection, the target after reconstruction can be made
Area image is apparent, after target area image is amplified, it is possible to resolve this target area image localized distortion, granular sensation substantially and
The obvious problem of noise.
Second photo generates submodule 5062, puts for rebuilding treating after submodule 5061 is rebuild based on target area image
Big target area image, generates the second photo.
Generate submodule 5062 by this second photo, not only this target area image is amplified the multiple determined, also makes
Obtaining target area image to become apparent from, the target area image after amplification on the second photo of generation does not has obvious distortion.
Preferably, this mobile terminal 500 also includes:
3rd finger touch operation acquisition module 507, determines mould for the second photo generation module 506 based on amplification
The amplification that block 505 determines, after generating the step of the second photo, obtains the 3rd finger target area image after amplification
On touch operation.
After the finger of mobile terminal 500 user touches in target area image, this touch operation can be obtained.
It should be appreciated that the 3rd finger can be arbitrary finger of mobile terminal 500 user.
3rd finger terminates touch location acquisition module 508, is used for determining that the 3rd finger touch operation acquisition module 507 obtains
The end touch location of the touch operation taken.
Concrete, after arbitrary finger of mobile terminal 500 user touches target area image, this finger can be by slip
Mode moves to another location, and after finger stops sliding off this mobile terminal 500, this position is the knot of this touch operation
Bundle touch location.
Target area image mobile module 509, terminates touch location for target area image being moved to the 3rd finger
The end touch location that acquisition module 508 obtains.
Concrete, the target area image after this moves is centrally located at this and terminates touch location.
Being designed by above-mentioned module, this mobile terminal 500 can be by the target area image after this amplification mobile, will
Target area image after this amplification moves to the position of mobile terminal 500 user's request.
Preferably, this mobile terminal 500 also includes:
Focusing module 510 for the first time, for obtaining mobile terminal 500 user in preview at touch location acquisition module 502
Before the step of the touch location on image, control photographic head and carry out focusing for the first time with the center of preview image for focus.
It is the routine operation taken pictures that this first time Focusing module 510 controls the operation of photographic head focusing for the first time, typically beats
Hold photographic head and obtain the meeting center-spot to preview image while preview image.
Preferably, this mobile terminal 500 also includes:
Focusing module 511 for the second time, for obtaining mobile terminal 500 user in preview at touch location acquisition module 502
After the step of the touch location on image, control touch location that photographic head obtains with touch location acquisition module 502 as Jiao
Point carries out second time and focuses.
It is the routine operation taken pictures that this second time Focusing module 511 controls the operation of photographic head second time focusing, is touching
After preview image, this touch location is focused by photographic head.This focusing mode is conventional focusing mode, such as, calculate touch location
Contrast, promote motor movement, complete focusing.
Carry out second time by second time Focusing module 511 to focus, this touch location in the photo of follow-up shooting can be made
The image of region is clear compared with the image of other positions.
Preferably, this mobile terminal 500 can also include: image style module 512, for the target area after amplifying
Image adds different image styles.
Such as, image style can be the patterns common in the art such as filter pattern, water droplet pattern, phase rectangle style.
Add image style by image style module 512, make the figure that the target area image after this amplification can be different
Decent formula shows, makes more attractive in appearance and interesting.
To sum up, the mobile terminal 500 of third embodiment of the invention, the target area image on photo can be amplified, and will
Target area image after amplification generates new photo together with this photo, thus mobile terminal 500 user can be made needs
Target area image is amplified reaching to emphasize the purpose of this target area image;Additionally, this mobile terminal 500 can also be right
Target area image to be amplified carries out super-resolution rebuilding, makes the target area image to be amplified after reconstruction become apparent from,
Therefore, after this target area image is amplified, the obvious distortion of this target area image is not resulted in;Furthermore, this mobile terminal
Target area image after this amplification can also be moved to mobile whole by the target area image after this amplification mobile by 500
Hold the position of 500 user's requests.
4th embodiment
Fig. 7 is the structured flowchart of the mobile terminal of fourth embodiment of the invention.Mobile terminal 700 shown in Fig. 7 includes: extremely
A few processor 701, memorizer 702, at least one network interface 704 and user interface 703.Each in mobile terminal 700
Individual assembly is coupled by bus system 705.It is understood that bus system 705 is for realizing the connection between these assemblies
Communication.Bus system 705, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But
For the sake of understanding explanation, in the figure 7 various buses are all designated as bus system 705.Mobile terminal 700 also includes photographic head
706。
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
Wherein, photographic head 706 can include the first photographic head in the same direction and the second camera being positioned at mobile terminal 700.
The memorizer 702 being appreciated that in fourth embodiment of the invention can be volatile memory or non-volatile deposit
Reservoir, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory
(Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), erasable programmable are read-only
Memorizer (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM)
Or flash memory.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside high
Speed caching.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), enhancement mode 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 memorizer 702 of the system and method that the embodiment of the present invention describes is intended to include but does not limits
In these and the memorizer of any other applicable type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 7022, comprises various application program, such as media
Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, can be application
The program stored in program 7022 or instruction.Processor 701 is for obtaining the frame preview image that photographic head 706 gathers;Obtain
Mobile terminal 700 user touch location on preview image;With touch location as the center of circle, according to pre-set radius, determine preview
Target area image to be amplified in image;When receiving photographing instruction, preview image is generated the first photo;Determine target
The amplification of area image;Amplification based on target area image, generates the second photo.
The method that the invention described above embodiment discloses can apply in processor 701, or is realized by processor 701.
Processor 701 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process
Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic
Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention
Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention
The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor
In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can
In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage
Medium is positioned at memorizer 702, and processor 701 reads the information in memorizer 702, completes the step of said method in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention describe these embodiments can use hardware, software, firmware, middleware,
Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special IC
(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, for performing other electronics list of herein described function
In unit or a combination thereof.
Software is realized, can come by performing the module (such as process, function etc.) of function described in the embodiment of the present invention
Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Memorizer can
Within a processor or to realize outside processor.
Alternatively, processor 701, for amplification based on target area image, generates the step of the second photo
In, processor 701 specifically for target area image to be amplified being carried out super-resolution rebuilding, generate rebuild after to be amplified
Target area image;Based on the target area image to be amplified after rebuilding, generate the second photo.
Alternatively, super-resolution rebuilding includes: data overlap denoising Processing and image enhancement processing.
Alternatively, processor 701, for target area image to be amplified carries out super-resolution rebuilding, generates and rebuilds
After target area image to be amplified step in, processor 701 also particularly useful for obtain photographic head 706 on the first photo
Many frame data of the target area image to be amplified gathered;Many frame data according to target area image to be amplified surpass
Resolution reconstruction rebuild after target area image to be amplified.
Alternatively, if photographic head 706 includes the first photographic head in the same direction and the second camera being positioned at mobile terminal 700,
The multiframe data of target area image the most to be amplified include: the first photographic head and second camera gather on photo respectively
Many frame data of target area image to be amplified.
Alternatively, processor 701 is in the step of amplification for determining target area image, and processor 701 is also
Specifically for obtaining first finger of the mobile terminal 700 user initial touch position in target area image to be amplified respectively
The coordinate (a1, b1) put and the coordinate (c1, d1) of second finger initial touch position in target area image to be amplified;
According to formulaCalculate the initial touch position of first finger of mobile terminal 700 user
And the distance between the initial touch position of second finger;The first finger according to mobile terminal 700 user and second finger
Kneading operation, obtains the coordinate (a2, b2) terminating touch location and the second-hand of first finger of mobile terminal 700 user respectively
The coordinate (c2, d2) terminating touch location referred to;According to formulaCalculate first-hand
The distance terminated between touch location terminating touch location and second finger referred to;Target area is calculated according to formula n=D2/D1
The amplification of area image;Wherein, D1 is initial touch position and the second finger of the first finger of mobile terminal 700 user
Distance between initial touch position, D2 is between end touch location and the end touch location of second finger of the first finger
Distance, n is the amplification of target area image.
Alternatively, processor 701 for amplification based on target area image, generate the second photo step it
After, processor 701 is additionally operable to obtain the touch operation in the 3rd finger target area image after amplification;Based on touching behaviour
Make, determine the end touch location of touch operation;Target area image is moved to terminating touch location.
Alternatively, processor 701 is in the step obtaining mobile terminal 700 user touch location on preview image
Before, processor 701 is additionally operable to control photographic head 706 and carries out focusing for the first time with the center of preview image for focus.
Alternatively, processor 701 is in the step obtaining mobile terminal 700 user touch location on preview image
Afterwards, processor 701 be additionally operable to control photographic head 706 with touch location for focus carry out second time focus.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
The mobile terminal 700 of the embodiment of the present invention, can by photo target area image amplify, and will amplify after mesh
Mark area image generates new photo together with this photo, thus can make mobile terminal 700 user target area figure to needing
As being amplified reaching to emphasize the purpose of this target area image;Additionally, this mobile terminal 700 can also be to mesh to be amplified
Mark area image carries out super-resolution rebuilding, makes the target area image to be amplified after reconstruction become apparent from, therefore, when this mesh
After mark area image amplifies, do not result in the obvious distortion of this target area image;Furthermore, this mobile terminal 700 can also lead to
Crossing the target area image after this amplification mobile, the target area image after this amplification moves to mobile terminal 700 user to be needed
The position asked.
5th embodiment
Fig. 8 is the structured flowchart of the mobile terminal of fifth embodiment of the invention.Specifically, the mobile terminal 800 in Fig. 8 can
Think mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 800 in Fig. 8 includes radio frequency (RadioFrequency, RF) circuit 810, memorizer 820, input list
Unit 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880, power supply 890
With photographic head 850.
Wherein, input block 830 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal
The user setup of 800 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 830 can
To include contact panel 831.Contact panel 831, also referred to as touch screen, can collect user thereon or neighbouring touch operation
(such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 831), and according in advance
The formula set drives corresponding attachment means.Optionally, contact panel 831 can include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give this processor 860 again, and order that processor 860 sends can be received and performed.Furthermore, it is possible to employing resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block
830 can also include other input equipments 832, and other input equipments 832 can include but not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..Concrete, this
In bright embodiment, this input block 830 can include preposition input block, it is also possible to includes rearmounted input block.Either
Preposition input block or rearmounted input block can realize gathering the function of fingerprint.This preposition input block and rearmounted defeated
Entering unit can be to be the form realization with contact panel 831, it is also possible to be to realize with the form of other input equipments 832.
Wherein, display unit 840 can be used for showing the information inputted by user or the information being supplied to user and movement
The various menu interfaces of terminal 800.Display unit 840 can include display floater 841, optionally, can use LCD or organic
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display floater 841.
It should be noted that contact panel 831 can cover display floater 841, formed and touch display screen, when this touch display screen is examined
Measure thereon or after neighbouring touch operation, send processor 860 to determine the type of touch event, with preprocessor
860 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interface and the whole mobile phone of connection
Various piece, is stored in the software program in first memory 821 and/or module by running or performing, and calls storage
Data in second memory 822, perform the various functions of mobile terminal 800 and process data, thus to mobile terminal 800
Carry out integral monitoring.Optionally, processor 860 can include one or more processing unit.
Wherein, this photographic head 850 can include the first photographic head in the same direction and the second shooting being positioned at mobile terminal 800
Head.
In embodiments of the present invention, processor 860 is for obtaining the frame preview image that photographic head 850 gathers;Obtain and move
Dynamic terminal 800 user touch location on preview image;With touch location as the center of circle, according to pre-set radius, determine preview graph
Target area image to be amplified in Xiang;When receiving photographing instruction, preview image is generated the first photo;Determine target area
The amplification of area image;Amplification based on target area image, generates the second photo.
Alternatively, processor 860, for amplification based on target area image, generates the step of the second photo
In, processor 860 specifically for target area image to be amplified being carried out super-resolution rebuilding, generate rebuild after to be amplified
Target area image;Based on the target area image to be amplified after rebuilding, generate the second photo.
Alternatively, super-resolution rebuilding includes: data overlap denoising Processing and image enhancement processing.
Alternatively, processor 860, for target area image to be amplified carries out super-resolution rebuilding, generates and rebuilds
After target area image to be amplified step in, processor 860 also particularly useful for obtain photographic head 850 on the first photo
Many frame data of the target area image to be amplified gathered;Many frame data according to target area image to be amplified surpass
Resolution reconstruction rebuild after target area image to be amplified.
Alternatively, if photographic head 850 includes the first photographic head in the same direction and the second camera being positioned at mobile terminal 800,
The multiframe data of target area image the most to be amplified include: the first photographic head and second camera gather on photo respectively
Many frame data of target area image to be amplified.
Alternatively, processor 860 is in the step of amplification for determining target area image, and processor 860 is also
Specifically for obtaining first finger of the mobile terminal 800 user initial touch position in target area image to be amplified respectively
The coordinate (a1, b1) put and the coordinate (c1, d1) of second finger initial touch position in target area image to be amplified;
According to formulaCalculate the initial touch position of first finger of mobile terminal 800 user
And the distance between the initial touch position of second finger;The first finger according to mobile terminal 800 user and second finger
Kneading operation, obtains the coordinate (a2, b2) terminating touch location and the second-hand of first finger of mobile terminal 800 user respectively
The coordinate (c2, d2) terminating touch location referred to;According to formulaCalculate the first finger
The distance terminated between touch location terminating touch location and second finger;Target area is calculated according to formula n=D2/D1
The amplification of image;Wherein, at the beginning of D1 is initial touch position and the second finger of the first finger of mobile terminal 800 user
Distance between beginning touch location, D2 is between the end touch location terminating touch location and second finger of the first finger
Distance, n is the amplification of target area image.
Alternatively, processor 860 for amplification based on target area image, generate the second photo step it
After, processor 860 is additionally operable to obtain the touch operation in the 3rd finger target area image after amplification;Based on touching behaviour
Make, determine the end touch location of touch operation;Target area image is moved to terminating touch location.
Alternatively, processor 860 is in the step obtaining mobile terminal 800 user touch location on preview image
Before, processor 860 is additionally operable to control photographic head 850 and carries out focusing for the first time with the center of preview image for focus.
Alternatively, processor 860 is in the step obtaining mobile terminal 800 user touch location on preview image
Afterwards, processor 860 be additionally operable to control photographic head 850 with touch location for focus carry out second time focus.
Visible, the mobile terminal 800 of the embodiment of the present invention, can amplify the target area image on photo, and will amplify
After target area image generate new photo together with this photo, thus mobile terminal 800 user target to needing can be made
Area image is amplified reaching to emphasize the purpose of this target area image;Additionally, this mobile terminal 800 can also be treated and put
Big target area image carries out super-resolution rebuilding, makes the target area image to be amplified after reconstruction become apparent from, therefore,
After this target area image is amplified, do not result in the obvious distortion of this target area image;Furthermore, this mobile terminal 800 is also
By the target area image after this amplification mobile, target area image after this amplification can be moved to mobile terminal 800
The position of user's request.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each
The unit of example and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These
Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty
Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not
Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other
Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (18)
1. a photographic method, is applied to the mobile terminal with photographic head, it is characterised in that described method includes:
Obtain a frame preview image of described camera collection;
Obtain described mobile phone users touch location on described preview image;
With described touch location as the center of circle, according to pre-set radius, determine target area image to be amplified in described preview image;
When receiving photographing instruction, described preview image is generated the first photo;
Determine the amplification of described target area image;
Amplification based on described target area image, generates the second photo.
Method the most according to claim 1, it is characterised in that described amplification based on described target area image,
Generate the step of the second photo, including:
Described target area image to be amplified is carried out super-resolution rebuilding, generates the target area described to be amplified after rebuilding
Area image;
Based on the target area image described to be amplified after rebuilding, generate the second photo.
Method the most according to claim 2, it is characterised in that described super-resolution rebuilding includes: at data overlap de-noising
Reason and image enhancement processing.
Method the most according to claim 2, it is characterised in that described described target area image to be amplified is surpassed
Resolution reconstruction, generates the step of the target area image described to be amplified after rebuilding, including:
Obtain many frame data of the target area image described to be amplified that described photographic head gathers on described first photo;
Many frame data according to described target area image to be amplified carry out treating described in after super-resolution rebuilding is rebuild
The target area image amplified.
Method the most according to claim 4, it is characterised in that if described photographic head includes being positioned at the same of described mobile terminal
To the first photographic head and second camera, the multiframe data of the most described target area image to be amplified include: described first
The target area image described to be amplified that photographic head and described second camera gather on described first photo respectively is many
Frame data.
Method the most according to any one of claim 1 to 5, it is characterised in that described determine described target area image
The step of amplification, including:
Obtain the first finger of described mobile phone users initial touch in described target area image to be amplified respectively
The coordinate (a1, b1) of position and the coordinate of second finger initial touch position in described target area image to be amplified
(c1, d1);
According to formulaCalculate the initial touch of the first finger of described mobile phone users
Distance between position and the initial touch position of second finger;
The first finger according to described mobile phone users and the kneading operation of second finger, obtain described used for mobile terminal respectively
The coordinate (a2, b2) terminating touch location of first finger at family and the coordinate (c2, d2) terminating touch location of second finger;
According to formulaCalculate the end touch location of described first finger and described the
The distance terminated between touch location of two fingers;
The amplification of described target area image is calculated according to formula n=D2/D1;
Wherein, D1 is the initial touch position of initial touch position and second finger of the first finger of described mobile phone users
Between distance, D2 be described first finger terminate touch location and described second finger terminate between touch location away from
From, n is the amplification of described target area image.
Method the most according to any one of claim 1 to 5, it is characterised in that described based on described target area image
Amplification, after generating the step of the second photo, described method also includes:
Obtain the touch operation in the 3rd finger target area image after described amplification;
Based on described touch operation, determine the end touch location of described touch operation;
Described target area image is moved to described end touch location.
Method the most according to any one of claim 1 to 5, it is characterised in that described used for mobile terminal in described acquisition
Before the step of family touch location on described preview image, described method also includes:
Control described photographic head to carry out focusing for the first time with the center of described preview image for focus.
Method the most according to any one of claim 1 to 5, it is characterised in that described used for mobile terminal in described acquisition
After the step of family touch location on described preview image, described method also includes:
Control described photographic head to carry out focusing for the second time with described touch location for focus.
10. a mobile terminal, including photographic head, it is characterised in that described mobile terminal also includes:
Preview image acquisition module, for obtaining a frame preview image of described camera collection;
Touch location acquisition module, for obtaining described mobile phone users described in the acquisition of described preview image acquisition module
Touch location on preview image;
Target area image acquisition module, for described touch location acquisition module obtain described touch location as the center of circle,
According to pre-set radius, determine target area figure to be amplified in the described preview image that described preview image acquisition module obtains
Picture;
First photo generation module, for when receiving photographing instruction, described in the acquisition of described preview image acquisition module
Preview image generates the first photo;
Amplification determines module, for determining described target area image that described target area image acquisition module obtains
Amplification;
Second photo generation module, for determining the amplification of described target area image that module determines based on described amplification
Multiple, generates the second photo.
11. mobile terminals according to claim 10, it is characterised in that described second photo generation module includes:
Target area image rebuilds submodule, for the mesh described to be amplified obtaining described target area image acquisition module
Mark area image carries out super-resolution rebuilding, generates the target area image described to be amplified after rebuilding;
Second photo generate submodule, for based on described target area image rebuild submodule rebuild after described to be amplified
Target area image, generates the second photo.
12. mobile terminals according to claim 11, it is characterised in that described super-resolution rebuilding includes: data overlap
Denoising Processing and image enhancement processing.
13. mobile terminals according to claim 11, it is characterised in that described target area image rebuilds submodule bag
Include:
Multiframe data capture unit, for obtaining described first photograph that described photographic head generates at described first photo generation module
Many frame data of the target area image described to be amplified gathered on sheet;
Target area image reconstruction unit, for the target area described to be amplified obtained according to described multiframe data capture unit
Many frame data of area image carry out the target area image described to be amplified after super-resolution rebuilding is rebuild.
14. mobile terminals according to claim 13, it is characterised in that if described photographic head includes being positioned at described movement eventually
First photographic head in the same direction of end and second camera, the multiframe data of the most described target area image to be amplified include: institute
State the first photographic head and described second camera to adopt respectively on described first photo that described first photo generation module generates
Many frame data of the target area image described to be amplified of collection.
15. according to the mobile terminal according to any one of claim 10 to 14, it is characterised in that described amplification determines mould
Block includes:
Initial touch position obtains submodule, for obtaining the first finger of described mobile phone users in described target area respectively
The coordinate (a1, b1) of the initial touch position on target image described to be amplified that area image acquisition module obtains and second-hand
Finger initial touch position in the target area image described to be amplified that described target area image acquisition module obtains
Coordinate (c1, d1);
First distance calculating sub module, for according to formulaCalculate described initial touch
The initial touch position of the first finger of the described mobile phone users that position acquisition submodule obtains is initial with second finger
Distance between touch location;
Terminate touch location and obtain submodule, for the first finger according to described mobile phone users and the kneading of second finger
Operation, obtains the coordinate (a2, b2) terminating touch location and the second finger of the first finger of described mobile phone users respectively
Terminate touch location coordinate (c2, d2);
Second distance calculating sub module, for according to formulaCalculate described end to touch
Touch the end touch location terminating touch location and described second finger of described first finger that position acquisition submodule obtains
Between distance;
Amplification calculating sub module, for calculating what described target area image acquisition module obtained according to formula n=D2/D1
The amplification of described target area image;
Wherein, D1 is the initial touch position of initial touch position and second finger of the first finger of described mobile phone users
Between distance, D2 be described first finger terminate touch location and described second finger terminate between touch location away from
From, n is the amplification of described target area image.
16. according to the mobile terminal according to any one of claim 10 to 14, it is characterised in that described mobile terminal also wraps
Include:
3rd finger touch operation acquisition module, determines module for described second photo generation module based on described amplification
The described amplification determined, after generating the step of the second photo, obtains the 3rd finger target area after described amplification
Touch operation on image;
3rd finger terminates touch location acquisition module, for determining the institute that described 3rd finger touch operation acquisition module obtains
State the end touch location of touch operation;
Target area image mobile module, terminates touch location for described target area image being moved to described 3rd finger
The described end touch location that acquisition module obtains.
17. according to the mobile terminal according to any one of claim 10 to 14, it is characterised in that described mobile terminal also wraps
Include:
Focusing module for the first time, for obtaining described mobile phone users in described preview graph at described touch location acquisition module
Before the step of upper touch location, control described photographic head carry out with the center of described preview image for focus for the first time the most right
Burnt.
18. according to the mobile terminal according to any one of claim 10 to 14, it is characterised in that described mobile terminal also wraps
Include:
Focusing module for the second time, for obtaining described mobile phone users in described preview graph at described touch location acquisition module
After the step of upper touch location, control the described touch position that described photographic head obtains with described touch location acquisition module
It is set to focus carry out focusing for the second time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617114.XA CN106231182A (en) | 2016-07-29 | 2016-07-29 | A kind of photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617114.XA CN106231182A (en) | 2016-07-29 | 2016-07-29 | A kind of photographic method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106231182A true CN106231182A (en) | 2016-12-14 |
Family
ID=57536343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610617114.XA Pending CN106231182A (en) | 2016-07-29 | 2016-07-29 | A kind of photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106231182A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315529A (en) * | 2017-06-19 | 2017-11-03 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107943389A (en) * | 2017-11-14 | 2018-04-20 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108184066A (en) * | 2018-01-10 | 2018-06-19 | 上海展扬通信技术有限公司 | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo |
CN110488876A (en) * | 2019-08-20 | 2019-11-22 | 斯威方德(深圳)智能科技有限公司 | Method, apparatus, storage medium and the computer equipment of feeding pet |
CN113452895A (en) * | 2020-03-26 | 2021-09-28 | 华为技术有限公司 | Shooting method and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330569A (en) * | 2007-06-18 | 2008-12-24 | 索尼株式会社 | Image processing device, image processing method and program |
CN102685376A (en) * | 2011-03-07 | 2012-09-19 | 株式会社理光 | Imaging apparatus, imaging method and imaging program |
CN103226806A (en) * | 2013-04-03 | 2013-07-31 | 广东欧珀移动通信有限公司 | Method and camera system for enlarging picture partially |
CN103473751A (en) * | 2013-08-14 | 2013-12-25 | 西安理工大学 | CMOS sensor cell image super-resolution reconstruction method based on multiple objects |
CN104104787A (en) * | 2013-04-12 | 2014-10-15 | 上海果壳电子有限公司 | Shooting method, shooting system and hand-held device |
CN104679394A (en) * | 2013-11-26 | 2015-06-03 | 中兴通讯股份有限公司 | Method and device for amplifying selected region of preview interface |
-
2016
- 2016-07-29 CN CN201610617114.XA patent/CN106231182A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330569A (en) * | 2007-06-18 | 2008-12-24 | 索尼株式会社 | Image processing device, image processing method and program |
CN102685376A (en) * | 2011-03-07 | 2012-09-19 | 株式会社理光 | Imaging apparatus, imaging method and imaging program |
CN103226806A (en) * | 2013-04-03 | 2013-07-31 | 广东欧珀移动通信有限公司 | Method and camera system for enlarging picture partially |
CN104104787A (en) * | 2013-04-12 | 2014-10-15 | 上海果壳电子有限公司 | Shooting method, shooting system and hand-held device |
CN103473751A (en) * | 2013-08-14 | 2013-12-25 | 西安理工大学 | CMOS sensor cell image super-resolution reconstruction method based on multiple objects |
CN104679394A (en) * | 2013-11-26 | 2015-06-03 | 中兴通讯股份有限公司 | Method and device for amplifying selected region of preview interface |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107315529A (en) * | 2017-06-19 | 2017-11-03 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN107315529B (en) * | 2017-06-19 | 2020-05-26 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
CN107943389A (en) * | 2017-11-14 | 2018-04-20 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108184066A (en) * | 2018-01-10 | 2018-06-19 | 上海展扬通信技术有限公司 | Shooting processing method, capture apparatus and the readable storage medium storing program for executing of photo |
CN110488876A (en) * | 2019-08-20 | 2019-11-22 | 斯威方德(深圳)智能科技有限公司 | Method, apparatus, storage medium and the computer equipment of feeding pet |
CN113452895A (en) * | 2020-03-26 | 2021-09-28 | 华为技术有限公司 | Shooting method and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106231182A (en) | A kind of photographic method and mobile terminal | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN106101544B (en) | A kind of image processing method and mobile terminal | |
CN106027900A (en) | Photographing method and mobile terminal | |
CN105847674A (en) | Preview image processing method based on mobile terminal, and mobile terminal therein | |
CN105898143A (en) | Moving object snapshotting method and mobile terminal | |
CN106020613A (en) | Operation method and mobile terminal for unread messages | |
CN106210526A (en) | A kind of image pickup method and mobile terminal | |
CN106791450A (en) | A kind of photographic method and mobile terminal | |
CN107395976A (en) | A kind of acquisition parameters method to set up and mobile terminal | |
CN105959544A (en) | Mobile terminal and image processing method thereof | |
CN106648035A (en) | Image resolution adjusting method and mobile terminal | |
CN105827754A (en) | High dynamic-range image generation method and mobile terminal | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106354303A (en) | Photographed method of mobile terminal and mobile terminal | |
CN106227488A (en) | The display packing of a kind of reminder message and mobile terminal | |
CN106713747A (en) | Focusing method and mobile terminal | |
CN106126035A (en) | A kind of method that application program shows and mobile terminal | |
CN106454086A (en) | Image processing method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106888354A (en) | A kind of singlehanded photographic method and mobile terminal | |
CN106341538A (en) | Lyrics poster push method and mobile terminal | |
CN107172347A (en) | A kind of photographic method and terminal | |
CN106354374A (en) | Icon moving method and mobile terminal | |
CN107622478A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161214 |