CN106453886A - Shooting method of mobile terminal and mobile terminal - Google Patents
Shooting method of mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN106453886A CN106453886A CN201610876900.1A CN201610876900A CN106453886A CN 106453886 A CN106453886 A CN 106453886A CN 201610876900 A CN201610876900 A CN 201610876900A CN 106453886 A CN106453886 A CN 106453886A
- Authority
- CN
- China
- Prior art keywords
- image
- frame
- preview interface
- similarity
- mobile terminal
- 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
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- 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
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a shooting method of a mobile terminal and the mobile terminal. The method comprises the following steps: when the mobile terminal is detected to enter a shooting mode, obtaining a first image collected by a camera of the mobile terminal; displaying the first image on a shooting preview interface of the mobile terminal as a static image; and storing the static image displayed on the shooting preview interface according to a user operation. Therefore, the scheme provided by the invention can display the static image captured by the camera on the shooting preview interface and store the displayed static image according to the user operation, thereby solving the problem that the user switches back and forth between a shooting interface and a gallery when checking the imaging effect, deletes the captured image when is not satisfactory to the imaging effect and takes pictures again, and saving the time and labor of the user.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to photographic method and the mobile terminal of a kind of mobile terminal.
Background technology
With the development of mobile terminal, the especially appearance of Smartphone device, almost all of mobile terminal sets
Standby all have camera function.This multimedia recreation function drastically increases the Consumer's Experience of mobile terminal.Entirely make at it
With in life span, user will the substantial amounts of photo of shooting of high frequency time, and the photographic quality having in photo after imaging reaches
Less than the in-mind anticipation of user, user often selects to be deleted and re-shoot.
At present, user needs to be switched to before picture library goes to check shoot photo after imaging of taking pictures, if dissatisfied need again
Switch back into shooting interface, or be again introduced into after returning to main interface shooting interface.It follows that handover operation back and forth is very numerous
Trivial, waste user time and energy.
Content of the invention
The embodiment provides photographic method and the mobile terminal of a kind of mobile terminal, can be when taking pictures
The image static state display catching camera is in preview interface of taking pictures, and carries out, according to the operation of user, the still image showing
Storage, solves and toggles between shooting interface and picture library when user checks imaging effect, and at dissatisfied imaging effect
When the picture of shooting is deleted the loaded down with trivial details problem re-shooting, save the time and efforts of user.
In order to solve above-mentioned technical problem, the present invention adopts the following technical scheme that:
First aspect, The embodiment provides the photographic method of a kind of mobile terminal, including:
When detecting that mobile terminal enters exposal model, obtain the first figure that the camera collection of described mobile terminal arrives
Picture;
Described first image is shown in as still image the preview interface of taking pictures of described mobile terminal;
According to user operation, the still image taking pictures in preview interface described in being shown in is stored.
Second aspect, The embodiment provides a kind of mobile terminal, including:
Image collection module, for when detecting that mobile terminal enters exposal model, obtaining taking the photograph of described mobile terminal
The first image collecting as head;
Display module, for being shown in institute using described first image that described image collection module obtains as still image
State the preview interface of taking pictures of mobile terminal;
Memory module, for according to user operation, described display module is shown in described in take pictures in preview interface quiet
State image stores.
The embodiment of the present invention provides the benefit that:
The photographic method of the mobile terminal of the embodiment of the present invention, when detecting that mobile terminal enters exposal model, obtains
The image that camera collection arrives, and static state display is in the preview interface of taking pictures of mobile terminal so that user is in preview interface of taking pictures
Just can watch the quiescent imaging effect of the image that camera shoots, and when user is satisfied with the imaging effect of image, according to
The still image of display in preview interface of taking pictures is stored, thus solves user and check imaging effect by the operation of user
When toggle between shooting interface and picture library, and when dissatisfied imaging effect, the picture of shooting is deleted and to re-shoot
Loaded down with trivial details problem, saves the time and efforts of user, improves the experience of user.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in the embodiment of the present invention being described below
Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention,
For those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 represents the flow chart of the photographic method of the mobile terminal of first embodiment of the invention;
Fig. 2 represents the flow chart of the photographic method of the mobile terminal of second embodiment of the invention;
One of Fig. 3 structured flowchart of mobile terminal representing third embodiment of the invention;
Fig. 4 represents the two of the structured flowchart of the mobile terminal of third embodiment of the invention;
Fig. 5 represents the structured flowchart of the mobile terminal of fourth embodiment of the invention;
Fig. 6 represents the structured flowchart of the mobile terminal of fifth embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to be able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
First embodiment
Referring to Fig. 1, it is illustrated that the flow chart of the photographic method of the mobile terminal that first embodiment of the invention provides,
Wherein, this mobile terminal can include mobile phone, panel computer etc., and the method may comprise steps of:
Step 101:When detecting that mobile terminal enters exposal model, obtain what the camera collection of described mobile terminal arrived
First image.
The mobile terminal that embodiments of the invention are applied has camera function.Wherein, when mobile terminal enters mould of taking pictures
During formula, camera starts to catch the image of photographed scene.Preferably, in embodiments of the invention, can enter at mobile terminal and clap
During according to pattern, the image gathering after obtaining camera focusing is as above-mentioned first image.
Step 102:Described first image is shown in as still image the preview interface of taking pictures of described mobile terminal.
Wherein, after mobile terminal enters exposal model, the display interface at mobile terminal will show preview circle of taking pictures
Face.At the image that this preview interface of taking pictures can watch camera to catch in real time.But, prior art can only watch shooting
The dynamic menu that head catches, can not see quiescent imaging effect.And embodiments of the invention, when detecting that mobile terminal enters
During exposal model, begin to choose frame first image from the image that camera catches and be shown in and take pictures in preview interface, and
The display time of the first image is more than the retentivity time of eye of human eye.
So, in an embodiment of the present invention, watch in preview interface is still image to user taking pictures, rather than
Dynamic menu, in order to user directly just can watch the imaging effect that camera shoots from preview interface of taking pictures and be not necessarily to
It is switched to picture library is checked, save the time and efforts of user again.
Step 103:According to user operation, the still image taking pictures in preview interface described in being shown in is stored.
In an embodiment of the present invention, still image can be shown in preview interface of taking pictures, thus user can take pictures
Preview interface is directly viewable the imaging effect of camera shooting, if user is satisfied, then user inputs storage in the terminal and refers to
Order, the still image of display in preview interface of taking pictures then is stored by mobile terminal, and picture library is arrived in such as storage.
Furthermore it is preferred that arrange page increase for controlling whether camera opens static map in taking pictures of mobile terminal
Control switch as preview function.When described control switch is user-operably and opens, camera starts still image preview work(
Can, the preview interface of taking pictures of mobile terminal then can show the quiescent imaging effect of a certain two field picture that camera catches;When described
When control switch is user-operably cut out, camera closes still image preview function, and the camera of mobile terminal is just then in
Normal exposal model, i.e. user click on button of taking pictures, and could shoot image, and the image of shooting can only in entering image library
Imaging effect can be seen.
From the foregoing, embodiments of the invention, when detecting that mobile terminal enters exposal model, obtain camera and adopt
The image that collection arrives, and static state display is in the preview interface of taking pictures of mobile terminal so that user just can see in preview interface of taking pictures
See the quiescent imaging effect of the image that camera shoots, and when user is satisfied with the imaging effect of image, according to the behaviour of user
Make, the still image of display in preview interface of taking pictures is stored, thus solve when user checks imaging effect and shooting
Toggle between interface and picture library, and when dissatisfied imaging effect, the picture of shooting is deleted re-shoot loaded down with trivial details and ask
Topic, saves the time and efforts of user, improves the experience of user.
Second embodiment
Referring to Fig. 2, it is illustrated that the flow chart of the photographic method of the mobile terminal that second embodiment of the invention provides,
Wherein, this mobile terminal can include mobile phone, panel computer etc., and the method may comprise steps of:
Step 201:When detecting that mobile terminal enters exposal model, obtain what the camera collection of described mobile terminal arrived
First image.
The mobile terminal that embodiments of the invention are applied has camera function.Wherein, when mobile terminal enters mould of taking pictures
During formula, camera starts to catch the image of photographed scene.Preferably, in embodiments of the invention, can enter at mobile terminal and clap
During according to pattern, the image gathering after obtaining camera focusing is as above-mentioned first image.
Step 202:Described first image is shown in as still image the preview interface of taking pictures of described mobile terminal.
Wherein, after mobile terminal enters exposal model, the display interface at mobile terminal will show preview circle of taking pictures
Face.At the image that this preview interface of taking pictures can watch camera to catch in real time.But, prior art can only watch shooting
The dynamic menu that head catches, can not see quiescent imaging effect.And embodiments of the invention, when detecting that mobile terminal enters
During exposal model, begin to choose frame first image from the image that camera catches and be shown in preview interface of taking pictures, and the
The display time of one image is more than the retentivity time of eye of human eye.
So, in an embodiment of the present invention, watch in preview interface is still image to user taking pictures, rather than
Dynamic menu, in order to user directly just can watch the imaging effect that camera shoots from preview interface of taking pictures and be not necessarily to
It is switched to picture library is checked, save the time and efforts of user again.
Step 203:Obtain at least one frame second that the camera collection of described mobile terminal arrives every prefixed time interval
Image, and according to described at least one frame the second image, is updated to the still image taking pictures in preview interface described in being shown in.
That is, after showing the first image in preview interface of taking pictures, embodiments of the invention, between may proceed to according to Preset Time
Update the still image of display in preview interface of taking pictures every timing.In each prefixed time interval, i.e. choose camera catch
A two field picture, and be shown in the still image taking pictures in preview interface in replacing a upper prefixed time interval.Wherein, due to people
Eye resolution ratio has limitation, so in order to making user can persistently watch static map in preview interface of taking pictures
Picture, described prefixed time interval is more than the retentivity time of eye of human eye.
Wherein it is preferred to, step 203 includes:Described in acquisition, at least one frame the second image is taken pictures described in being currently displayed at
The similarity of the still image in preview interface;The second figure that similarity is minimum is selected from described at least one frame the second image
Picture, and the second image selecting is taken pictures in preview interface described in still image is shown in.Wherein, similarity is less, then
Represent distinguish between two width images bigger.
That is, embodiments of the invention, when in preview interface of taking pictures, the still image of display enters to update, when default
Between interval acquiring camera catch multiple image, and by these images be currently displayed at the static state taking pictures in preview interface
Image is compared the maximum frame of change and is shown in as new still image and takes pictures in preview interface.For example, Preset Time is set
It is spaced apart one second, then within each second, obtain 24 two field pictures that camera catches, and it is aobvious with current to calculate this 24 two field picture respectively
Show the similarity at the still image taken pictures in preview interface, thus select the minimum image of similarity as new still image
It is shown in and takes pictures in preview interface, then remaining 23 two field picture is removed automatically.
Wherein, the second image can be determined and the phase being currently displayed at the still image taken pictures in preview interface by histogram
Like degree, or obtain the second image and be currently displayed at the static map taking pictures in preview interface by way of extracting characteristics of image
The similarity of picture.
Specifically, the second image is determined and the phase being currently displayed at the still image taken pictures in preview interface by histogram
When seemingly spending, at least one frame the second image described in above-mentioned acquisition be currently displayed at described in the still image taken pictures in preview interface
The step of similarity, specifically includes:Obtain the first color histogram of each frame the second image respectively and be currently displayed at described bat
The second color histogram according to the still image in preview interface;Obtain first of each color in described first color histogram
Ratio value, and the second ratio value that each color described is in described second color histogram;Following preset formula is used to obtain
The similarity of the still image taken pictures in preview interface described in obtaining each frame the second image and being currently displayed at:Wherein, Y is that each frame the second image is taken pictures in preview interface described in being currently displayed at
The similarity of still image, n is positive integer, represents the species number of each color, X1iRepresent the first ratio of i-th kind of color
Value, X2iRepresent the second ratio value of i-th kind of color, kiRepresent the default weight of i-th kind of color.
For example, in the first color histogram obtaining, include tri-kinds of colors of A, B, C, and tri-kinds of colors of A, B, C are the
The ratio accounting in one color histogram is X11、X12、X13;Include tri-kinds of looks of A, B, C in the second color histogram obtaining
Coloured silk, and the ratio that tri-kinds of colors of A, B, C account in the second color histogram is X21、X22、X23;And A, B, C these three color
Default weight is respectively k1、k2、k3, then final similarity Y=k1×(X11-X21)+k2×(X12-X22)+×k3(X13-
X23).
In addition, obtained the second image by way of characteristics of image by extracting and be currently displayed at take pictures in preview interface quiet
During the similarity of state image, specifically include three kinds of modes, specific as follows:
Mode one:At least one frame the second image described in above-mentioned acquisition be currently displayed at described in take pictures in preview interface quiet
The step of the similarity of state image, including:Extract the first characteristics of image of each frame the second image, and special according to described first image
Levy determination first eigenvector;Extract the second characteristics of image of the still image taken pictures in preview interface described in being currently displayed at,
And determine second feature vector according to described second characteristics of image, wherein, described first characteristics of image and described second image are special
The characteristic value of at least one characteristics of image is all included in levying;Obtain between described first eigenvector and described second feature vector
The first Euclidean distance, and according to described first Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures pre-
The similarity of the still image look on interface, wherein, described first Euclidean distance and described similarity are inverse ratio.Preferably,
One characteristics of image and the second characteristics of image all include the characteristic value of dominant hue feature and Texture Spectrum Feature.
Wherein, characteristics of image is to extract useful data or information from image, obtains the expression of ' non-image ' of image
Or describe, such as numerical value, vector, symbol etc..I.e. characteristics of image is corresponding (essential) spy that a certain class object is different from other objects
Point or characteristic.Wherein, every piece image all has the unique characteristics that can be different from other class images, and some are can be directly perceived
The physical feature experienced, such as brightness, edge, texture, color, some then be need by conversion or process could obtain
Arrive, such as square, histogram, principal component etc..Additionally, by multiple or multiple feature combinations together, a spy can be formed
Levying vector, for example, only single numerical characteristics, then characteristic vector is an one-dimensional vector;If the group of n characteristics of image
Close, be then a n dimensional feature vector.
Additionally, embodiments of the invention use the Euclidean distance between the characteristic vector of two width images to represent two width images
Similarity, and the less similarity of Euclidean distance is bigger, then the difference degree between two width images is less.
Mode two:At least one frame the second image described in above-mentioned acquisition be currently displayed at described in take pictures in preview interface quiet
The step of the similarity of state image, including:Extract multiple first pixel from each frame the second image respectively, from being currently displayed at
The described still image taken pictures in preview interface extracts multiple second pixel;Described first pixel from each frame the second image
Point extracts the 3rd characteristics of image, and determines the third feature vector of each frame the second image according to described 3rd characteristics of image;From
Described second pixel extracts the 4th characteristics of image, and determines that fourth feature is vectorial according to described 4th characteristics of image, wherein,
Described 3rd characteristics of image and described 4th characteristics of image all include the characteristic value of at least one characteristics of image;Obtain each frame
The described third feature of two images is vectorial and the second Euclidean distance between described fourth feature vector, and according to described second Europe
Family name's distance, determine each frame the second image and be currently displayed at described in the similarity of still image taken pictures in preview interface, wherein,
Described second Euclidean distance and described similarity are inverse ratio.Preferably, the 3rd characteristics of image and the 4th characteristics of image all include
Dominant hue feature and the characteristic value of Texture Spectrum Feature.
Wherein, mode two needs from the second image and is currently displayed in the still image taking pictures preview interface to enter respectively
Row pixel is sampled, thus reduces the process object carrying out feature extraction.In addition, for concrete sampling policy, can be according to reality
Border situation is adjusted.Specifically, for example, in the often row pixel of image, a pixel is gathered every 10 pixels,
It is used as the process object that subsequent characteristics is extracted, thus improves processing speed, and then improve the experience of user.
Additionally, in this kind of acquisition mode of similarity, carry out the processing procedure after pixel sampling, with mode one phase
With.From multiple first pixels of each frame the second image, i.e. extract characteristics of image, and constitute third feature vector, show from current
Show in multiple second pixels of the still image taken pictures in preview interface extraction characteristics of image, and constitute fourth feature to
Amount, and then calculate the Euclidean distance of third feature vector sum fourth feature vector, thus it is aobvious with current to obtain each frame the second image
Show the similarity at the still image taken pictures in preview interface.
Mode three:At least one frame the second image described in above-mentioned acquisition be currently displayed at described in take pictures in preview interface quiet
The step of the similarity of state image, including:Respectively to each frame the second image and described be currently displayed at described in take pictures preview interface
On still image carry out piecemeal process;Obtain the first sub-block of the agent object belonging in each frame the second image;Acquisition belongs to
Second sub-block of the agent object taken pictures described in being currently displayed in the still image in preview interface;From each frame the second image
Described first sub-block is extracted the 5th characteristics of image, and determines the 5th spy of each frame the second image according to described 5th characteristics of image
Levy vector;From described second sub-block extract the 6th characteristics of image, and according to described 6th characteristics of image determine sixth feature to
Amount, wherein, all includes the characteristic value of at least one characteristics of image in described 5th characteristics of image and described 6th characteristics of image;Obtain
Take that the described fifth feature of each frame the second image is vectorial and the 3rd Euclidean distance between described sixth feature vector, and according to institute
State the 3rd Euclidean distance, determine each frame the second image and be currently displayed at described in still image similar taken pictures in preview interface
Degree, wherein, described 3rd Euclidean distance and described similarity are inverse ratio.Preferably, the 5th characteristics of image and the 6th characteristics of image
In all include the characteristic value of dominant hue feature and Texture Spectrum Feature.
Wherein, mode three needs to each frame the second image and is currently displayed at the still image taking pictures in preview interface respectively
Carry out piecemeal process, for example, be divided into n sub-block, from each sub-block, then choose the sub-block belonging to agent object, thus
First sub-block of the agent object belonging to each frame the second image is extracted characteristics of image, is subordinated to be currently displayed at preview circle of taking pictures
Second sub-block of the agent object of the still image on face is extracted characteristics of image.It follows that mode three-phase is than mode one,
When carrying out image characteristics extraction, decrease the process object of feature extraction, thus improve processing speed, and then improve user's
Experience.
Additionally, in this kind of acquisition mode of similarity, carry out piecemeal process, and select the sub-block belonging to agent object
After processing procedure, identical with mode one.From the first sub-block of each frame the second image, i.e. extract characteristics of image, and constitute the 5th
Characteristic vector, extracts image special from the second sub-block, and constitutes sixth feature vector, and then calculates fifth feature vector sum the 6th
The Euclidean distance of characteristic vector, thus obtain each frame the second image and be currently displayed at the still image taken pictures in preview interface
Similarity.
Step 204:According to user operation, the still image taking pictures in preview interface described in being shown in is stored.
In an embodiment of the present invention, still image can be shown in preview interface of taking pictures, thus user can take pictures
Preview is directly viewable the imaging effect of camera shooting, if user is satisfied, then user inputs storage instruction in the terminal, moves
The still image of display in preview interface of taking pictures then is stored by dynamic terminal, and picture library is arrived in such as storage.
Further, also taking pictures of mobile terminal, page increase can be set for controlling whether camera opens static map
Control switch as preview function.When described control switch is user-operably and opens, camera starts still image preview work(
Can, the preview interface of taking pictures of mobile terminal then can show the quiescent imaging effect of a certain two field picture that camera catches;When described
When control switch is user-operably cut out, camera closes still image preview function, and the camera of mobile terminal is just then in
Normal exposal model, i.e. user click on button of taking pictures, and could shoot image, and the image of shooting can only in entering image library
Imaging effect can be seen.
In sum, the photographic method of the mobile terminal of the embodiment of the present invention, is detecting that mobile terminal enters mould of taking pictures
During formula, the still image of display in preview interface of taking pictures can be updated according to prefixed time interval timing, i.e. at mobile terminal
The imaging effect of preview interface of the taking pictures image that display camera catches periodically automatically so that user is just taking pictures preview interface
The quiescent imaging effect of the image that camera shoots can be watched, and if currently displaying quiet of the satisfied preview interface of taking pictures of user
State image, can directly input storage instruction and store;If user is unsatisfied with, then not needing any operation, mobile terminal can continue
Continuous according to prefixed time interval, update the still image of display in preview interface of taking pictures, thus solve user and check that imaging is imitated
The loaded down with trivial details problem toggling between shooting interface and picture library when really, saves the time and efforts of user, improves user
Experience.
3rd embodiment
The embodiment provides a kind of mobile terminal, as it is shown on figure 3, this mobile terminal 300 includes:
Image collection module 301, for when detecting that mobile terminal enters exposal model, obtaining described mobile terminal
The first image that camera collection arrives;
Display module 302, shows as still image for described first image obtaining described image collection module 301
Show the preview interface of taking pictures at described mobile terminal;
Memory module 304, for according to user operation, described display module is shown in described in take pictures in preview interface
Still image stores.
Preferably, as shown in Figure 4, described mobile terminal 300 also includes:
More new module 303, the camera collection for obtaining described mobile terminal every prefixed time interval arrives at least
One frame the second image, and according to described at least one frame the second image, to the still image taking pictures in preview interface described in being shown in
It is updated.
Preferably, as shown in Figure 4, described more new module 303 includes:
Similarity obtains submodule 3031, be used for obtaining described at least one frame the second image take pictures described in being currently displayed at
The similarity of the still image in preview interface;
Image update submodule 3032, for selecting the second figure of similarity minimum from described at least one frame the second image
Picture, and the second image selecting is taken pictures in preview interface described in still image is shown in.
Preferably, as shown in Figure 4, described similarity acquisition submodule 3031 includes:
Histogram acquiring unit 30311, for obtaining the first color histogram of each frame the second image respectively and currently showing
Show the second color histogram at the described still image taken pictures in preview interface;
Ratio value acquiring unit 30312, for obtaining the first ratio value of each color in described first color histogram,
And the second ratio value that described each color is in described second color histogram;
Similarity calculated 30313, is used for using following preset formula to obtain each frame the second image and be currently displayed at
The similarity of the described still image taken pictures in preview interface:
Wherein, Y be each frame the second image be currently displayed at described in the similarity of still image taken pictures in preview interface,
N is positive integer, represents the species number of each color, X1iRepresent the first ratio value of i-th kind of color, X2iRepresent i-th kind of color
The second ratio value, kiRepresent the default weight of i-th kind of color.
Preferably, as shown in Figure 4, described similarity acquisition submodule 3031 includes:
Fisrt feature extraction unit 30314, for extracting the first characteristics of image of each frame the second image, and according to described the
One characteristics of image determines first eigenvector;
Second feature extraction unit 30315, for extract be currently displayed at described in take pictures in preview interface still image
The second characteristics of image, and according to described second characteristics of image determine second feature vector, wherein, described first characteristics of image and
Described second characteristics of image all includes the characteristic value of at least one characteristics of image;
First metrics calculation unit 30316, is used for obtaining between described first eigenvector and described second feature vector
The first Euclidean distance, and according to described first Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures pre-
The similarity of the still image look on interface, wherein, described first Euclidean distance and described similarity are inverse ratio.
Preferably, as shown in Figure 4, described similarity acquisition submodule 3031 includes:
Pixel sampling unit 30317, for extracting multiple first pixel respectively, from currently from each frame the second image
Take pictures described in being shown in and the still image in preview interface extracts multiple second pixel;
Third feature extraction unit 30318, for extracting the 3rd figure from described first pixel of each frame the second image
As feature, and determine the third feature vector of each frame the second image according to described 3rd characteristics of image;
Fourth feature extraction unit 30319, for extraction the 4th characteristics of image from described second pixel, and according to institute
State the 4th characteristics of image and determine fourth feature vector, wherein, described 3rd characteristics of image and described 4th characteristics of image all wrap
Include the characteristic value of at least one characteristics of image;
Second distance computing unit 303110, vectorial and described for obtaining the described third feature of each frame the second image
The second Euclidean distance between four characteristic vectors, and according to described second Euclidean distance, determine that each frame the second image is aobvious with current
Show the similarity at the described still image taken pictures in preview interface, wherein, described second Euclidean distance and described similarity in
Inverse ratio.
Preferably, as shown in Figure 4, described similarity acquisition submodule 3031 includes:
Blocking unit 303111, for respectively to each frame the second image and described be currently displayed at described in take pictures preview interface
On still image carry out piecemeal process;
First sub-block acquiring unit 303112, for obtaining the first son of the agent object belonging in each frame the second image
Block;
Second sub-block acquiring unit 303113, belongs to the static state taking pictures in preview interface described in being currently displayed at for acquisition
Second sub-block of the agent object in image;
Fifth feature extraction unit 303114, for extracting the 5th image from described first sub-block of each frame the second image
Feature, and the fifth feature vector of each frame the second image is determined according to described 5th characteristics of image;
Sixth feature extraction unit 303115, for extraction the 6th characteristics of image from described second sub-block, and according to institute
State the 6th characteristics of image and determine sixth feature vector, wherein, described 5th characteristics of image and described 6th characteristics of image all wrap
Include the characteristic value of at least one characteristics of image;
3rd metrics calculation unit 303116, vectorial and described for obtaining the described fifth feature of each frame the second image
The 3rd Euclidean distance between six characteristic vectors, and according to described 3rd Euclidean distance, determine that each frame the second image is aobvious with current
Show the similarity at the described still image taken pictures in preview interface, wherein, described 3rd Euclidean distance and described similarity in
Inverse ratio.
By image collection module 301, the mobile terminal 300 of the embodiment of the present invention, is detecting that mobile terminal entrance is taken pictures
During pattern, obtain the first image that the camera collection of described mobile terminal arrives, thus trigger display module 302 by described image
Described first image that acquisition module 301 obtains is shown in the preview interface of taking pictures of described mobile terminal as still image, enters
And make memory module 304 according to user operation, described display module 302 is shown in described in take pictures in preview interface static state
Image stores.
Therefore, the mobile terminal of the embodiment of the present invention, the image that can catch camera when taking pictures is static aobvious
Show in preview interface of taking pictures, and according to the operation of user, the still image showing is stored, solve user and check imaging
Toggle between shooting interface and picture library during effect, and when dissatisfied imaging effect, the picture deletion of shooting is clapped again
The loaded down with trivial details problem taken the photograph, saves the time and efforts of user.
4th embodiment
Fig. 5 is the structured flowchart of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 500 in Fig. 5
Mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer can be
Deng.
Mobile terminal 500 in Fig. 5 includes that the 520th, radio frequency (Radio Frequency, RF) circuit the 510th, memory inputs
The 560th, unit the 530th, display unit the 540th, processor takes pictures module the 550th, voicefrequency circuit the 570th, WiFi (Wireless Fidelity)
Module 580 and power supply 590.Wherein, module 550 of taking pictures includes camera.
Wherein, input block 530 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal
The user setup of 500 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 530 can
To include contact panel 531.Contact panel 531, also referred to as touch-screen, can collect touch operation on or near it for the user
(such as user uses any applicable object such as finger, stylus or operation on contact panel 531 for the annex), and according in advance
The formula setting drives corresponding attachment means.
Optionally, contact panel 531 can include touch detecting apparatus and two parts of touch controller.Wherein, inspection is touched
Survey the touch orientation of device detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch
Controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives this processor 560, and
Can the order sent of reception processing device 560 being performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface
The polytypes such as sound wave realize contact panel 531.Except contact panel 531, input block 530 can also include that other inputs set
Standby 532, other input equipments 532 can include but is not limited to physical keyboard, function key (press by such as volume control button, switch
Key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 540 can be used for showing the information being inputted by user or the information being supplied to user and movement
The various menu interfaces of terminal 500.Display unit 540 can include display floater 541, optionally, can use LCD or organic
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display floater 541.
It should be noted that contact panel 531 can cover display floater 541, formed and touch display screen, when the inspection of this touch display screen
After measuring the touch operation on or near it, send processor 560 to determine the type of touch event, with preprocessor
560 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 distinguish two for be arranged above and below, left-right situs etc. 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
Also can be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, for example,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interface and the whole mobile phone of connection
Various piece, the software program being stored in first memory 521 by operation or execution and/or module, and call storage
Data in second memory 522, perform various function and the process data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 can include one or more processing unit.
In embodiments of the present invention, when module 550 of taking pictures detects that mobile terminal enters exposal model, processor is triggered
The first image that 560 camera collections obtaining described mobile terminal arrive, thus trigger display unit 540 by described first image
It is shown in the preview interface of taking pictures of described mobile terminal as still image;And then processor 560 is according to user operation, to display
Store at the described still image taken pictures in preview interface.
Preferably, described first image is shown in taking pictures of described mobile terminal as still image by display unit 540
After preview interface, processor 560 is additionally operable to:Obtain what the camera collection of described mobile terminal arrived every prefixed time interval
At least one frame the second image, and according to described at least one frame the second image, to the static state taking pictures in preview interface described in being shown in
Image is updated.
Preferably, processor 560 is according to described at least one frame the second image, takes pictures in preview interface described in being shown in
Still image when being updated, specifically for:At least one frame the second image described in acquisition be currently displayed at described in take pictures pre-
The similarity of the still image look on interface;The second image that similarity is minimum is selected from described at least one frame the second image,
And the second image selecting is taken pictures in preview interface described in still image is shown in.
Preferably, processor 560 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Obtain the first color histogram of each frame the second image and current respectively
Second color histogram of the still image taken pictures described in being shown in preview interface;Obtain in described first color histogram each
First ratio value of individual color, and the second ratio value that each color described is in described second color histogram;Use with
The similarity of still image that lower preset formula obtains each frame the second image and takes pictures in preview interface described in being currently displayed at:Wherein, Y is that each frame the second image is taken pictures in preview interface described in being currently displayed at
The similarity of still image, n is positive integer, represents the species number of each color, X1iRepresent the first ratio of i-th kind of color
Value, X2iRepresent the second ratio value of i-th kind of color, kiRepresent the default weight of i-th kind of color.
Preferably, processor 560 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Extract the first characteristics of image of each frame the second image, and according to described
One characteristics of image determines first eigenvector;Extract the second figure of the still image taken pictures in preview interface described in being currently displayed at
As feature, and determine second feature vector, wherein, described first characteristics of image and described second according to described second characteristics of image
Characteristics of image all includes the characteristic value of at least one characteristics of image;Obtain described first eigenvector and described second feature to
The first Euclidean distance between amount, and according to described first Euclidean distance, determine each frame the second image be currently displayed at described
The similarity of the still image taken pictures in preview interface, wherein, described first Euclidean distance and described similarity are inverse ratio.
Preferably, processor 560 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Extract multiple first pixel from each frame the second image respectively, from work as
Before be shown in described in take pictures in preview interface still image in extract multiple second pixel;From described in each frame the second image
First pixel extracts the 3rd characteristics of image, and determines the third feature of each frame the second image according to described 3rd characteristics of image
Vector;From described second pixel extract the 4th characteristics of image, and according to described 4th characteristics of image determine fourth feature to
Amount, wherein, all includes the characteristic value of at least one characteristics of image in described 3rd characteristics of image and described 4th characteristics of image;Obtain
Take that the described third feature of each frame the second image is vectorial and the second Euclidean distance between described fourth feature vector, and according to institute
State the second Euclidean distance, determine each frame the second image and be currently displayed at described in still image similar taken pictures in preview interface
Degree, wherein, described second Euclidean distance and described similarity are inverse ratio.
Preferably, processor 560 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Respectively to each frame the second image and described be currently displayed at described in take pictures
Still image in preview interface carries out piecemeal process;Obtain the first sub-block of the agent object belonging in each frame the second image;
Obtain belong to be currently displayed at described in take pictures in preview interface still image in the second sub-block of agent object;From each frame
Described first sub-block of two images is extracted the 5th characteristics of image, and determines each frame the second image according to described 5th characteristics of image
Fifth feature vector;Extract the 6th characteristics of image from described second sub-block, and determine the according to described 6th characteristics of image
Six characteristic vectors, wherein, all include at least one characteristics of image in described 5th characteristics of image and described 6th characteristics of image
Characteristic value;Obtain that the described fifth feature of each frame the second image is vectorial and the 3rd Euclidean between described sixth feature vector away from
From, and according to described 3rd Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures in preview interface quiet
The similarity of state image, wherein, described 3rd Euclidean distance and described similarity are inverse ratio.
Mobile terminal 500 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
The mobile terminal 500 of the embodiment of the present invention, when detecting that mobile terminal enters exposal model, obtains camera and adopts
The image that collection arrives, and static state display is in the preview interface of taking pictures of mobile terminal so that user just can see in preview interface of taking pictures
See the quiescent imaging effect of the image that camera shoots, and when user is satisfied with the imaging effect of image, according to the behaviour of user
Make, the still image of display in preview interface of taking pictures is stored, thus solve when user checks imaging effect and shooting
Toggle between interface and picture library, and when dissatisfied imaging effect, the picture of shooting is deleted re-shoot loaded down with trivial details and ask
Topic, saves the time and efforts of user, improves the experience of user.
5th embodiment
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 600 in Fig. 6 is permissible
For mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 shown in Fig. 6 includes:At least one processor the 601st, memory the 602nd, at least one network interface
604th, other user interfaces 603 and module 606 of taking pictures.Wherein, module 606 of taking pictures includes camera.In mobile terminal 600
Each assembly is coupled by bus system 605.It is understood that bus system 605 is for realizing the company between these assemblies
Connect letter.Bus system 605, in addition to including data/address bus, also includes power bus, control bus and status signal bus in addition.But
It is for the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device.For example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
The memory 602 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, 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
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of system and method described herein be intended to including but not limited to these and arbitrarily its
It is suitable for the memory of type.
In some embodiments, memory 602 stores following element, executable module or data structure, or
Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprise various system program, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic business and process hardware based task.Application program 6022, comprises various application program, such as media
Player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of memory 602 storage, concrete, can be application
The program storing in program 6022 or instruction.Wherein, when module 606 of taking pictures detects that mobile terminal enters exposal model, touch
Send out processor 601 and obtain the first image that the camera collection of described mobile terminal arrives, and using described first image as static state
Image is shown in the preview interface of taking pictures of described mobile terminal;And then according to user operation, to preview circle of taking pictures described in being shown in
Still image on face stores.
The method that the invention described above embodiment discloses can apply in processor 601, or is realized by processor 601.
Processor 601 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 601 or software form.Above-mentioned process
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform the disclosed each method in the embodiment of the present invention, step and logic diagram.General
The processor etc. that processor can be microprocessor or this processor also can be any routine.In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor and perform to complete, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read-only storage are able to programme read-only
In the ripe storage medium in this areas such as memory or electrically erasable programmable memory, register.This storage medium is positioned at
Memory 602, processor 601 reads the information in memory 602, the step completing said method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
Controller, microcontroller, microprocessor, for performing in other electronic units or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein
Described technology.Software code is storable in memory and is performed by processor.Memory can within a processor or
Processor is outside to be realized.
Preferably, that as still image, described first image is shown in taking pictures of described mobile terminal is pre-for processor 601
Look at after interface, be additionally operable to:Obtain at least one frame that the camera collection of described mobile terminal arrives the every prefixed time interval
Two images, and according to described at least one frame the second image, are carried out more to the still image taking pictures in preview interface described in being shown in
Newly.
Preferably, processor 601 is according to described at least one frame the second image, takes pictures in preview interface described in being shown in
Still image when being updated, specifically for:At least one frame the second image described in acquisition be currently displayed at described in take pictures pre-
The similarity of the still image look on interface;The second image that similarity is minimum is selected from described at least one frame the second image,
And the second image selecting is taken pictures in preview interface described in still image is shown in.
Preferably, processor 601 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Obtain the first color histogram of each frame the second image and current respectively
Second color histogram of the still image taken pictures described in being shown in preview interface;Obtain in described first color histogram each
First ratio value of individual color, and the second ratio value that each color described is in described second color histogram;Use with
The similarity of still image that lower preset formula obtains each frame the second image and takes pictures in preview interface described in being currently displayed at:Wherein, Y is that each frame the second image is taken pictures in preview interface described in being currently displayed at
The similarity of still image, n is positive integer, represents the species number of each color, X1iRepresent the first ratio of i-th kind of color
Value, X2iRepresent the second ratio value of i-th kind of color, kiRepresent the default weight of i-th kind of color.
Preferably, processor 601 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Extract the first characteristics of image of each frame the second image, and according to described
One characteristics of image determines first eigenvector;Extract the second figure of the still image taken pictures in preview interface described in being currently displayed at
As feature, and determine second feature vector, wherein, described first characteristics of image and described second according to described second characteristics of image
Characteristics of image all includes the characteristic value of at least one characteristics of image;Obtain described first eigenvector and described second feature to
The first Euclidean distance between amount, and according to described first Euclidean distance, determine each frame the second image be currently displayed at described
The similarity of the still image taken pictures in preview interface, wherein, described first Euclidean distance and described similarity are inverse ratio.
Preferably, processor 601 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Extract multiple first pixel from each frame the second image respectively, from work as
Before be shown in described in take pictures in preview interface still image in extract multiple second pixel;From described in each frame the second image
First pixel extracts the 3rd characteristics of image, and determines the third feature of each frame the second image according to described 3rd characteristics of image
Vector;From described second pixel extract the 4th characteristics of image, and according to described 4th characteristics of image determine fourth feature to
Amount, wherein, all includes the characteristic value of at least one characteristics of image in described 3rd characteristics of image and described 4th characteristics of image;Obtain
Take that the described third feature of each frame the second image is vectorial and the second Euclidean distance between described fourth feature vector, and according to institute
State the second Euclidean distance, determine each frame the second image and be currently displayed at described in still image similar taken pictures in preview interface
Degree, wherein, described second Euclidean distance and described similarity are inverse ratio.
Preferably, processor 601 at least one frame second image described in obtain is taken pictures preview circle described in being currently displayed at
During the similarity of the still image on face, specifically for:Respectively to each frame the second image and described be currently displayed at described in take pictures
Still image in preview interface carries out piecemeal process;Obtain the first sub-block of the agent object belonging in each frame the second image;
Obtain belong to be currently displayed at described in take pictures in preview interface still image in the second sub-block of agent object;From each frame
Described first sub-block of two images is extracted the 5th characteristics of image, and determines each frame the second image according to described 5th characteristics of image
Fifth feature vector;Extract the 6th characteristics of image from described second sub-block, and determine the according to described 6th characteristics of image
Six characteristic vectors, wherein, all include at least one characteristics of image in described 5th characteristics of image and described 6th characteristics of image
Characteristic value;Obtain that the described fifth feature of each frame the second image is vectorial and the 3rd Euclidean between described sixth feature vector away from
From, and according to described 3rd Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures in preview interface quiet
The similarity of state image, wherein, described 3rd Euclidean distance and described similarity are inverse ratio.
Mobile terminal 600 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
The mobile terminal 600 of the embodiment of the present invention, when detecting that mobile terminal enters exposal model, obtains camera and adopts
The image that collection arrives, and static state display is in the preview interface of taking pictures of mobile terminal so that user just can see in preview interface of taking pictures
See the quiescent imaging effect of the image that camera shoots, and when user is satisfied with the imaging effect of image, according to the behaviour of user
Make, the still image of display in preview interface of taking pictures is stored, thus solve when user checks imaging effect and shooting
Toggle between interface and picture library, and when dissatisfied imaging effect, the picture of shooting is deleted re-shoot loaded down with trivial details and ask
Topic, saves the time and efforts of user, improves the experience of user.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and algorithm steps, can being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Specifically should can be used for using different methods to realize described function to each, but this realization is it is not considered that exceed
The scope of the present 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.For example, device embodiment described above is only schematically, for example, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, for example 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 by some interfaces, the INDIRECT COUPLING of device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrating as separating component can be or may not be physically separate, shows as unit
The parts showing can be or may not be physical location, i.e. may be located at a place, or also can be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the effect of the present embodiment scheme
Really.
In 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 substantially 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 are 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.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person for the art comes
Saying, can also make some improvements and modifications under the premise of without departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.
Claims (14)
1. the photographic method of a mobile terminal, it is characterised in that include:
When detecting that mobile terminal enters exposal model, obtain the first image that the camera collection of described mobile terminal arrives;
Described first image is shown in as still image the preview interface of taking pictures of described mobile terminal;
According to user operation, the still image taking pictures in preview interface described in being shown in is stored.
2. method according to claim 1, it is characterised in that described described first image is shown in as still image
After the step of the preview interface of taking pictures of described mobile terminal, described method also includes:
Obtain at least one frame the second image that the camera collection of described mobile terminal arrives every prefixed time interval, and according to institute
State at least one frame the second image, the still image taking pictures in preview interface described in being shown in is updated.
3. method according to claim 2, it is characterised in that at least one frame the second image described in described basis, to display
It is updated at the described still image taken pictures in preview interface, including:
At least one frame the second image described in acquisition be currently displayed at described in the similarity of still image taken pictures in preview interface;
The second image that similarity is minimum is selected from described at least one frame the second image, and using the second image of selecting as quiet
State image is taken pictures in preview interface described in being shown in.
4. method according to claim 3, it is characterised in that at least one frame the second image described in described acquisition is aobvious with current
Show the step of similarity at the described still image taken pictures in preview interface, including:
The static state obtaining the first color histogram of each frame the second image respectively and taking pictures in preview interface described in being currently displayed at
Second color histogram of image;
Obtain the first ratio value of each color in described first color histogram, and each color described is in described second face
The second ratio value in Color Histogram;
The still image using following preset formula to obtain each frame the second image and taking pictures in preview interface described in being currently displayed at
Similarity:
Wherein, Y be each frame the second image be currently displayed at described in the similarity of still image taken pictures in preview interface, n is
Positive integer, represents the species number of each color, X1iRepresent the first ratio value of i-th kind of color, X2iRepresent i-th kind of color
Second ratio value, kiRepresent the default weight of i-th kind of color.
5. method according to claim 3, it is characterised in that at least one frame the second image described in described acquisition is aobvious with current
Show the step of similarity at the described still image taken pictures in preview interface, including:
Extract the first characteristics of image of each frame the second image, and determine first eigenvector according to described first characteristics of image;
Extract the second characteristics of image of the still image taken pictures in preview interface described in being currently displayed at, and according to described second figure
As feature determines second feature vector, wherein, described first characteristics of image and described second characteristics of image all include at least one
Plant the characteristic value of characteristics of image;
Obtain the first Euclidean distance between described first eigenvector and described second feature vector, and according to described first Europe
Family name's distance, determine each frame the second image and be currently displayed at described in the similarity of still image taken pictures in preview interface, wherein,
Described first Euclidean distance and described similarity are inverse ratio.
6. method according to claim 3, it is characterised in that at least one frame the second image described in described acquisition is aobvious with current
Show the step of similarity at the described still image taken pictures in preview interface, including:
Extract multiple first pixel from each frame the second image respectively, quiet from take pictures preview interface described in being currently displayed at
State image extracts multiple second pixel;
The 3rd characteristics of image is extracted from described first pixel of each frame the second image, and true according to described 3rd characteristics of image
The third feature vector of fixed each frame the second image;
From described second pixel extract the 4th characteristics of image, and according to described 4th characteristics of image determine fourth feature to
Amount, wherein, all includes the characteristic value of at least one characteristics of image in described 3rd characteristics of image and described 4th characteristics of image;
Obtain that the described third feature of each frame the second image is vectorial and the second Euclidean distance between described fourth feature vector, and
According to described second Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures in preview interface still image
Similarity, wherein, described second Euclidean distance and described similarity are inverse ratio.
7. method according to claim 3, it is characterised in that at least one frame the second image described in described acquisition is aobvious with current
Show the step of similarity at the described still image taken pictures in preview interface, including:
Respectively to each frame the second image and described be currently displayed at described in take pictures in preview interface still image carry out at piecemeal
Reason;
Obtain the first sub-block of the agent object belonging in each frame the second image;
Obtain belong to be currently displayed at described in take pictures in preview interface still image in the second sub-block of agent object;
Extract the 5th characteristics of image from described first sub-block of each frame the second image, and determine according to described 5th characteristics of image
The fifth feature vector of each frame the second image;
Extract the 6th characteristics of image from described second sub-block, and determine sixth feature vector according to described 6th characteristics of image,
Wherein, described 5th characteristics of image and described 6th characteristics of image all include the characteristic value of at least one characteristics of image;
Obtain that the described fifth feature of each frame the second image is vectorial and the 3rd Euclidean distance between described sixth feature vector, and
According to described 3rd Euclidean distance, determine each frame the second image and be currently displayed at described in take pictures in preview interface still image
Similarity, wherein, described 3rd Euclidean distance and described similarity are inverse ratio.
8. a mobile terminal, it is characterised in that include:
Image collection module, for when detecting that mobile terminal enters exposal model, obtaining the camera of described mobile terminal
The first image collecting;
Display module, for being shown in described shifting using described first image that described image collection module obtains as still image
The preview interface of taking pictures of dynamic terminal;
Memory module, for according to user operation, described display module is shown in described in take pictures in preview interface static map
As storing.
9. mobile terminal according to claim 8, it is characterised in that described mobile terminal also includes:
More new module, at least one frame second that the camera collection for obtaining described mobile terminal every prefixed time interval arrives
Image, and according to described at least one frame the second image, is updated to the still image taking pictures in preview interface described in being shown in.
10. mobile terminal according to claim 9, it is characterised in that described more new module includes:
Similarity obtains submodule, be used for obtaining described at least one frame the second image take pictures preview interface described in being currently displayed at
On the similarity of still image;
Image update submodule, for the second image that selection similarity from described at least one frame the second image is minimum, and will
Select the second image as still image be shown in described in take pictures in preview interface.
11. mobile terminals according to claim 10, it is characterised in that described similarity obtains submodule and includes:
Histogram acquiring unit, for obtaining the first color histogram of each frame the second image respectively and being currently displayed at described bat
The second color histogram according to the still image in preview interface;
Ratio value acquiring unit, is used for obtaining the first ratio value of each color in described first color histogram, and described
Second ratio value in described second color histogram for each color;
Similarity calculated, is used for using following preset formula to obtain each frame the second image and takes pictures described in being currently displayed at pre-
The similarity of the still image look on interface:
Wherein, Y be each frame the second image be currently displayed at described in the similarity of still image taken pictures in preview interface, n is
Positive integer, represents the species number of each color, X1iRepresent the first ratio value of i-th kind of color, X2iRepresent i-th kind of color
Second ratio value, kiRepresent the default weight of i-th kind of color.
12. mobile terminals according to claim 10, it is characterised in that described similarity obtains submodule and includes:
Fisrt feature extraction unit, is used for extracting the first characteristics of image of each frame the second image, and special according to described first image
Levy determination first eigenvector;
Second feature extraction unit, for extract be currently displayed at described in the second image of still image of taking pictures in preview interface
Feature, and determine second feature vector, wherein, described first characteristics of image and described second figure according to described second characteristics of image
As feature all includes the characteristic value of at least one characteristics of image;
First metrics calculation unit, for obtaining the first Euclidean between described first eigenvector and described second feature vector
Distance, and according to described first Euclidean distance, determine that each frame the second image is taken pictures in preview interface described in being currently displayed at
The similarity of still image, wherein, described first Euclidean distance and described similarity are inverse ratio.
13. mobile terminals according to claim 10, it is characterised in that described similarity obtains submodule and includes:
Pixel sampling unit, for extracting multiple first pixel respectively, from being currently displayed at from each frame the second image
State and the still image taking pictures in preview interface extracts multiple second pixel;
Third feature extraction unit, for extraction the 3rd characteristics of image from described first pixel of each frame the second image, and
Determine the third feature vector of each frame the second image according to described 3rd characteristics of image;
Fourth feature extraction unit, for extraction the 4th characteristics of image from described second pixel, and according to described 4th figure
As feature determines fourth feature vector, wherein, described 3rd characteristics of image and described 4th characteristics of image all include at least one
Plant the characteristic value of characteristics of image;
Second distance computing unit, the described third feature for obtaining each frame the second image is vectorial vectorial with described fourth feature
Between the second Euclidean distance, and according to described second Euclidean distance, determine each frame the second image and be currently displayed at described bat
According to the similarity of the still image in preview interface, wherein, described second Euclidean distance and described similarity are inverse ratio.
14. mobile terminals according to claim 10, it is characterised in that described similarity obtains submodule and includes:
Blocking unit, for respectively to each frame the second image and described be currently displayed at described in take pictures in preview interface static map
As carrying out piecemeal process;
First sub-block acquiring unit, for obtaining the first sub-block of the agent object belonging in each frame the second image;
Second sub-block acquiring unit, belongs to the master in the still image taking pictures in preview interface described in being currently displayed at for acquisition
Second sub-block of body object;
Fifth feature extraction unit, for extracting the 5th characteristics of image, and root from described first sub-block of each frame the second image
Determine the fifth feature vector of each frame the second image according to described 5th characteristics of image;
Sixth feature extraction unit, for extraction the 6th characteristics of image from described second sub-block, and according to described 6th image
Feature determines sixth feature vector, wherein, all includes at least one in described 5th characteristics of image and described 6th characteristics of image
The characteristic value of characteristics of image;
3rd metrics calculation unit, the described fifth feature for obtaining each frame the second image is vectorial vectorial with described sixth feature
Between the 3rd Euclidean distance, and according to described 3rd Euclidean distance, determine each frame the second image and be currently displayed at described bat
According to the similarity of the still image in preview interface, wherein, described 3rd Euclidean distance and described similarity are inverse ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610876900.1A CN106453886B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610876900.1A CN106453886B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453886A true CN106453886A (en) | 2017-02-22 |
CN106453886B CN106453886B (en) | 2019-07-26 |
Family
ID=58171628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610876900.1A Active CN106453886B (en) | 2016-09-30 | 2016-09-30 | A kind of photographic method and mobile terminal of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453886B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729889A (en) * | 2017-11-27 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method and device, electronic equipment, computer-readable recording medium |
CN108184065A (en) * | 2018-01-04 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | Preview frame screen generating method, device and mobile terminal |
CN110519447A (en) * | 2019-07-30 | 2019-11-29 | 惠州Tcl移动通信有限公司 | A kind of intelligent terminal and its picture capacity check method, storage device |
CN113949815A (en) * | 2021-11-17 | 2022-01-18 | 维沃移动通信有限公司 | Shooting preview method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060098111A1 (en) * | 2004-11-10 | 2006-05-11 | Samsung Techwin Co., Ltd. | Digital photographing apparatus that performs integrated display mode and method of controlling the same |
CN103297595A (en) * | 2012-02-27 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Method and device for taking and displaying photos |
CN104052909A (en) * | 2014-06-19 | 2014-09-17 | 深圳市中兴移动通信有限公司 | Shooting method and device |
CN104521227A (en) * | 2012-08-03 | 2015-04-15 | 三星电子株式会社 | Image processing method and apparatus |
CN104980659A (en) * | 2015-06-30 | 2015-10-14 | 广州三星通信技术研究有限公司 | Electronic terminal for controlling shooting display and control method thereof |
CN105554394A (en) * | 2016-01-27 | 2016-05-04 | 努比亚技术有限公司 | Photographing method and device |
-
2016
- 2016-09-30 CN CN201610876900.1A patent/CN106453886B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060098111A1 (en) * | 2004-11-10 | 2006-05-11 | Samsung Techwin Co., Ltd. | Digital photographing apparatus that performs integrated display mode and method of controlling the same |
CN103297595A (en) * | 2012-02-27 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Method and device for taking and displaying photos |
CN104521227A (en) * | 2012-08-03 | 2015-04-15 | 三星电子株式会社 | Image processing method and apparatus |
CN104052909A (en) * | 2014-06-19 | 2014-09-17 | 深圳市中兴移动通信有限公司 | Shooting method and device |
CN104980659A (en) * | 2015-06-30 | 2015-10-14 | 广州三星通信技术研究有限公司 | Electronic terminal for controlling shooting display and control method thereof |
CN105554394A (en) * | 2016-01-27 | 2016-05-04 | 努比亚技术有限公司 | Photographing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729889A (en) * | 2017-11-27 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method and device, electronic equipment, computer-readable recording medium |
CN107729889B (en) * | 2017-11-27 | 2020-01-24 | Oppo广东移动通信有限公司 | Image processing method and device, electronic equipment and computer readable storage medium |
CN108184065A (en) * | 2018-01-04 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | Preview frame screen generating method, device and mobile terminal |
WO2019134271A1 (en) * | 2018-01-04 | 2019-07-11 | 武汉斗鱼网络科技有限公司 | Preview frame generation method and apparatus, mobile terminal, and storage medium |
CN108184065B (en) * | 2018-01-04 | 2019-11-05 | 武汉斗鱼网络科技有限公司 | Preview frame screen generating method, device and mobile terminal |
CN110519447A (en) * | 2019-07-30 | 2019-11-29 | 惠州Tcl移动通信有限公司 | A kind of intelligent terminal and its picture capacity check method, storage device |
CN113949815A (en) * | 2021-11-17 | 2022-01-18 | 维沃移动通信有限公司 | Shooting preview method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106453886B (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172296A (en) | A kind of image capturing method and mobile terminal | |
CN107197169A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN107589963B (en) | A kind of image processing method, mobile terminal and computer readable storage medium | |
CN108108114B (en) | A kind of thumbnail display control method and mobile terminal | |
CN105847674B (en) | A kind of preview image processing method and mobile terminal based on mobile terminal | |
CN107277387A (en) | High dynamic range images image pickup method, terminal and computer-readable recording medium | |
CN107396019A (en) | A kind of slow motion video method for recording and mobile terminal | |
CN106060419B (en) | A kind of photographic method and mobile terminal | |
CN106791400A (en) | A kind of method for displaying image and mobile terminal | |
CN105827971A (en) | Image processing method and mobile terminal | |
CN106488133A (en) | A kind of detection method of Moving Objects and mobile terminal | |
CN105827965A (en) | Image processing method based on mobile terminal and mobile terminal | |
CN107197170A (en) | A kind of exposal control method and mobile terminal | |
CN105872148A (en) | Method and mobile terminal for generating high dynamic range images | |
CN105933538A (en) | Video finding method for mobile terminal and mobile terminal | |
CN106101545A (en) | A kind of image processing method and mobile terminal | |
CN107592471A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
CN106060406A (en) | Photographing method and mobile terminal | |
CN107395898A (en) | A kind of image pickup method and mobile terminal | |
CN107395997A (en) | A kind of image pickup method and mobile terminal | |
CN107395976A (en) | A kind of acquisition parameters method to set up and mobile terminal | |
CN106453886A (en) | Shooting method of mobile terminal and mobile terminal | |
CN105959564A (en) | Photographing method and mobile terminal | |
CN106341608A (en) | Emotion based shooting method and mobile terminal | |
CN106780685A (en) | The generation method and terminal of a kind of dynamic picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |