CN105678291B - A kind of image-pickup method and electronic equipment - Google Patents

A kind of image-pickup method and electronic equipment Download PDF

Info

Publication number
CN105678291B
CN105678291B CN201410663786.5A CN201410663786A CN105678291B CN 105678291 B CN105678291 B CN 105678291B CN 201410663786 A CN201410663786 A CN 201410663786A CN 105678291 B CN105678291 B CN 105678291B
Authority
CN
China
Prior art keywords
fingerprint image
frame fingerprint
frame
acquisition
acquisition parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410663786.5A
Other languages
Chinese (zh)
Other versions
CN105678291A (en
Inventor
居同彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410663786.5A priority Critical patent/CN105678291B/en
Publication of CN105678291A publication Critical patent/CN105678291A/en
Application granted granted Critical
Publication of CN105678291B publication Critical patent/CN105678291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Input (AREA)

Abstract

The embodiment of the invention provides a kind of image-pickup method and electronic equipments, electronic equipment is in P frame fingerprint image before collecting, the first acquisition parameter that a frame fingerprint image is determined in P frame fingerprint image acquires P+1 frame fingerprint image to nth frame fingerprint image according to the first acquisition parameter;Then the second acquisition parameter is determined in the K frame fingerprint image after N+1 frame fingerprint image, according to the second acquisition parameter, N+K+1 frame fingerprint image is acquired to Q frame fingerprint image, that is a part of fingerprint image formerly acquired in embodiments of the present invention uses the first acquisition parameter, the second acquisition parameter is used in another part fingerprint image of rear acquisition, adjusts acquisition parameter in real time to realize to promote the clarity of fingerprint image acquisition and the effect of picture quality.

Description

A kind of image-pickup method and electronic equipment
Technical field
This application involves electronic technology field more particularly to a kind of image-pickup methods and electronic equipment.
Background technique
With electronic technology development, various portable terminals are also more and more, and various security settings are also integrated into On electronic equipment, such as fingerprint identification technology.
In fingerprint identification technology, the method that swiping formula (English: Swipe) acquisition fingerprint image can be used, specifically, The sensor of detection fingerprint is provided on electronic equipment, by detection capacitor, the capacitor that foundation detects continuously obtains the sensor The fingerprint image of user's finger each position is taken to determine the mode of the final fingerprint image of user.
Currently, since the humidity of finger influences the capacitance of sensor detection, fingerprint image acquisition is being carried out When, it is thus necessary to determine that the acquisition parameter of fingerprint image is acquired, the yield value of acquisition fingerprint image is just contained in the acquisition parameter.And Yield value in the acquisition parameter just determines the clarity of collected fingerprint image, therefore when acquiring fingerprint image, should Determine a suitable yield value, such as when finger is more dry, then gain is tuned up, enables fingerprint image more clear It is clear, if finger is wetter, then turn gain down, enables fingerprint image more clear.
Currently, in order to promote the clarity of the fingerprint image got, which is getting a part of fingerprint image Later, it will determine an acquisition parameter, subsequent fingerprint image then acquired using the acquisition parameter.Although above-mentioned mode It is able to ascend the clarity of fingerprint image acquisition, but uses the process of finger swiping, the humidity and hand of finger in user The dynamics of finger can all change, if acquiring fingerprint image using identical acquisition parameter, result in the finger of subsequent acquisition The clarity of print image is unstable or poor.
Summary of the invention
The embodiment of the invention provides a kind of image-pickup method and electronic equipments, if to solve to adopt in the prior art Acquired with fixed acquisition parameter the fingerprint image that fingerprint image will lead to subsequent acquisition clarity it is unstable or compared with Difference.
Its specific technical solution is as follows:
A kind of image-pickup method, comprising:
In P frame fingerprint image before collecting, the first acquisition parameter is determined in the P frame fingerprint image, described One acquisition parameter is to acquire the parameter of a frame fingerprint image in P frame fingerprint image, wherein P is the positive integer more than or equal to 2;
According to first acquisition parameter, P+1 frame fingerprint image is acquired to nth frame fingerprint image, wherein N is greater than P + 1 positive integer;
The second acquisition parameter is determined in the K frame fingerprint image after N+1 frame fingerprint image, wherein K is greater than N+ 1 positive integer;
According to second acquisition parameter, N+K+2 frame fingerprint image is acquired to Q frame fingerprint image, wherein Q is big In the positive integer of N+K+2.
Optionally, before determining the first acquisition parameter in the P frame image, further includes:
When determining the sum of acquisition fingerprint image, the sum is divided into M group, wherein every in the M group A group includes an at least frame fingerprint image, and M is the positive integer more than or equal to 2;
Using the first frame fingerprint image to nth frame fingerprint image as first group in the M group, and by the N+ 1 frame fingerprint image is to Q frame fingerprint image as second group in the M group.
Optionally, the sum is divided into M group, specifically:
The sum of the acquisition fingerprint image is averagely divided into M group.
Optionally, the first acquisition parameter is determined in the P frame fingerprint image, comprising:
Obtain the clarity of every frame fingerprint image in the preceding P frame fingerprint image;
The H frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains the acquisition finger The acquisition parameter of print image, wherein H is the positive integer for being less than or equal to P more than or equal to 1;
The acquisition parameter that will acquire is as first acquisition parameter.
Optionally, the second acquisition parameter is determined in the K frame fingerprint image after N+1 frame fingerprint image, comprising:
Obtain every frame in the K frame fingerprint image after the N+1 frame fingerprint image and the N+1 frame fingerprint image The clarity of fingerprint image;
The J frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains the acquisition finger The acquisition parameter of print image, wherein J is the positive integer for being less than or equal to K more than or equal to N+1;
The acquisition parameter that will acquire is as second acquisition parameter.
Optionally, the second acquisition parameter is determined in the K frame fingerprint image after N+1 frame fingerprint image, comprising:
The two frame fingerprints adjacent with L-th frame are determined in the K frame fingerprint image after N+1 frame fingerprint image Image, wherein L is equal to H;
Obtain the clarity of the L-th frame fingerprint image and the two frame fingerprint images adjacent with L-th frame fingerprint image;
The corresponding acquisition parameter of fingerprint image with utmost sharpness is determined in the three frame fingerprint images got;
Using the acquisition parameter determined as second acquisition parameter.
Optionally, the clarity is the gray value of fingerprint image.
A kind of electronic equipment, comprising:
First processor, for determining first in the P frame fingerprint image in P frame fingerprint image before collecting Acquisition parameter, first acquisition parameter be acquire P frame fingerprint image in a frame fingerprint image parameter, wherein P be greater than etc. In 2 positive integer;
First sensor, for acquiring P+1 frame fingerprint image to nth frame fingerprint image according to first acquisition parameter Picture, wherein N is the positive integer greater than P+1;
Second processor, for determining that the second acquisition is joined in the K frame fingerprint image after N+1 frame fingerprint image Number, wherein K is the positive integer greater than N+1;
Second sensor, for acquiring N+K+2 frame fingerprint image to Q frame fingerprint according to second acquisition parameter Image, wherein Q is the positive integer greater than N+K+2.
Optionally, the first processor is also used to draw the sum when determining the sum of acquisition fingerprint image It is divided into M group, using the first frame fingerprint image to nth frame fingerprint image as first group in the M group, and by described N+1 frame fingerprint image is to Q frame fingerprint image as second group in the M group, wherein each group of packet in the M group Containing an at least frame fingerprint image, M is the positive integer more than or equal to 2.
Optionally, first processor, specifically for obtaining the clear of every frame fingerprint image in the preceding P frame fingerprint image Degree, determines the H frame fingerprint image with utmost sharpness in the clarity of acquisition, and obtains the acquisition fingerprint image Acquisition parameter, the acquisition parameter that will acquire is as first acquisition parameter, wherein H be less than or equal to more than or equal to 1 The positive integer of P.
Optionally, the second processor is specifically used for obtaining the N+1 frame fingerprint image and the N+1 frame The clarity of every frame fingerprint image in K frame fingerprint image after fingerprint image determines have most in the clarity of acquisition The J frame fingerprint image of big clarity, and the acquisition parameter for acquiring the fingerprint image is obtained, the acquisition ginseng that will acquire Number is used as second acquisition parameter.
Optionally, the second processor, specifically in the K frame fingerprint image after N+1 frame fingerprint image As in determine the two frame fingerprint images adjacent with L-th frame, obtain the L-th frame fingerprint image and with L-th frame fingerprint image The clarity of two adjacent frame fingerprint images determines the fingerprint with utmost sharpness in the three frame fingerprint images got The corresponding acquisition parameter of image, using the acquisition parameter determined as second acquisition parameter.
In P frame fingerprint image before collecting, determination has electronic equipment in P frame fingerprint image in the above-described embodiments First acquisition parameter of the frame fingerprint image of higher resolution acquires P+1 frame fingerprint image to the according to the first acquisition parameter N frame fingerprint image;Then the finger with higher resolution is determined in the K frame fingerprint image after N+1 frame fingerprint image Corresponding second acquisition parameter of print image acquires N+K+1 frame fingerprint image to Q frame fingerprint image according to the second acquisition parameter Picture.That is the one group of fingerprint image formerly acquired in embodiments of the present invention uses the finger in the group with higher resolution First acquisition parameter of print image also uses the fingerprint image pair with higher resolution in second group of fingerprint image of rear acquisition The second acquisition parameter answered, thus realize the real-time adjustment acquisition parameter of grouping to promote the clarity of fingerprint image acquisition, Guarantee the image quality of last fingerprint image.
In embodiments of the present invention, after determining corresponding first acquisition parameter of first group of fingerprint image, the electronics Equipment determines the second acquisition parameter of second group of fingerprint image of acquisition for according to the fingerprint image with the first acquisition parameter, To reduce the operand that electronic equipment determines acquisition parameter in second group of fingerprint image, so that it is true to improve electronic equipment Determine the speed of acquisition parameter, also directly improves the speed that electronic equipment acquires clear fingerprint image in this way.
Detailed description of the invention
Fig. 1 is a kind of flow chart of image-pickup method in the embodiment of the present invention;
Fig. 2 is the method flow schematic diagram that the first acquisition parameter is determined in the embodiment of the present invention;
Fig. 3 is the method flow schematic diagram that the second acquisition parameter is determined in the embodiment of the present invention;
Fig. 4 is a kind of electronic equipment structural schematic diagram in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of image-pickup method, electronic equipment in P frame fingerprint image before collecting, The first acquisition parameter that a frame fingerprint image is determined in P frame fingerprint image acquires P+1 frame fingerprint according to the first acquisition parameter Image is to nth frame fingerprint image;Then determine that the second acquisition is joined in the K frame fingerprint image after N+1 frame fingerprint image Number acquires N+K+1 frame fingerprint image to Q frame fingerprint image according to the second acquisition parameter, that is to say, that implements in the present invention A part of fingerprint image for formerly acquiring is using the first acquisition parameter in example, uses the in another part fingerprint image of rear acquisition Two acquisition parameters, to realize adjustment acquisition parameter in real time to promote the clarity and picture quality of fingerprint image acquisition Effect.
Briefly, which can detect there is fingerprint image most high-definition in each group of fingerprint image Corresponding acquisition parameter is then based on the acquisition parameter to acquire subsequent fingerprint image, and this makes it possible to guarantee that each group refers to The acquisition of print image clarity all with higher, to ensure that the image quality of last complete fingerprint image.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that this hair Particular technique feature in bright embodiment and embodiment is the explanation to technical solution of the present invention, rather than is limited, not In the case where conflict, the particular technique feature in the embodiment of the present invention and embodiment be can be combined with each other.
For first, the acquisition of fingerprint image can be currently realized by Swipe mode, acquires and refers in Swipe mode When print image, a part of image can be acquired first, will determine the fingerprint with best sharpness in the partial fingerprints image Then image determines and obtains the fingerprint image acquisition parameter, wherein acquisition parameter is used gain when obtaining fingerprint image Value and other parameters, then using the acquisition parameter as the acquisition parameter for obtaining subsequent all fingerprint images.Such as when need When obtaining 500 frame fingerprint image by Swipe mode, with the finger of best sharpness in 5 frame fingerprint images before determining Print image is the 3rd frame fingerprint image, will just determine acquisition parameter when obtaining the 3rd frame fingerprint image at this time, subsequent the Fingerprint image is acquired using identical acquisition parameter after the acquisition of 6-500 frame fingerprint image.
Since the dry and wet degree either pressing dynamics of user's finger can all change with the process of time and sliding, Therefore subsequent fingerprint image is acquired using same acquisition parameter will result in the clarity and figure of subsequent fingerprint image Picture it is second-rate.
For above-mentioned problem, a kind of image-pickup method is provided in the embodiment of the present invention, is as shown in Figure 1 the present invention A kind of flow chart of image-pickup method in embodiment, this method comprises:
S101 determines the first acquisition parameter in P frame fingerprint image in P frame fingerprint image before collecting;
S102 acquires P+1 frame fingerprint image to nth frame fingerprint image according to the first acquisition parameter;
S103 determines the second acquisition parameter in the K frame fingerprint image after N+1 frame fingerprint image;
S104 acquires N+K+2 frame fingerprint image to Q frame fingerprint image according to the second acquisition parameter.
For first, in embodiments of the present invention, when carrying out fingerprint image acquisition by Swipe mode, a frame fingerprint image As collected fingerprint area all only have 0.4mm2When controlling, therefore acquiring a complete fingerprint image, need Acquire the fingerprint image of 500 frames or so.Certainly, the frame number for needing the fingerprint image acquired has been prestored in the electronic equipment, That is before acquiring first frame fingerprint image, which just has determined the frame for the fingerprint image that needs acquire Number, such as it is 500 frames that the electronic equipment is preset, this electronic equipment, which needs to acquire 500 frame images, can determine most The complete fingerprint image of the user's finger afterwards.
When the electronic equipment determines the sum of acquisition fingerprint image, which draws the sum of the fingerprint image It is divided into M group, wherein each group includes an at least frame fingerprint image in M group, and M is the positive integer more than or equal to 2.
Certainly, in actual application process, which can adjust each group according to the difference for drawing packet count Included in fingerprint image quantity.Such as the sum of fingerprint image that electronic equipment needs to acquire is 500, then the point Sub- equipment can be divided into 5 groups for 500, include 100 frame fingerprint images in each group;Such mode is to the total of fingerprint image Number carries out average division, that is, the sum of fingerprint image is averagely divided into M group.
It include 150 frame fingerprint images in first group it is of course also possible to 500 frame fingerprint images are divided into 4 groups, second Include 150 frame fingerprint images in group, include 100 frame fingerprint images in third group, includes 100 frame fingerprint images in the 4th group.This When be exactly that the non-mode averagely divided is carried out to the sum of fingerprint image.Other than above-mentioned packet mode, there are also other points Group mode, just no longer illustrates one by one herein.
After determining that the sum of fingerprint image M group can be divided into, the electronic equipment is by the 1st frame fingerprint image To nth frame fingerprint image as first group in M group, and using N+1 frame fingerprint image to Q frame image as second group.When So, subsequent fingerprint image is corresponding is divided in each group.
The subsequent trigger condition for carrying out fingerprint image analysis is just determined what needs to be explained here is that being grouped, that is, the When one group of fingerprint image starts acquisition, then a fingerprint image analysis is carried out;When second group of fingerprint image starts acquisition, and carry out Fingerprint image analysis;When third group fingerprint image starts acquisition, and carry out a fingerprint image analysis.
In embodiments of the present invention, it other than it can be grouped to the sum of fingerprint image, can also be set in electronics The activation threshold value of one starting fingerprint image analysis of standby middle setting, when electronic equipment collects the fingerprint image of specified activation threshold value Later, the P frame image after activation threshold value will carry out fingerprint image analysis, such as, the triggering being arranged in the electronic equipment Threshold value is 100, and after starting to acquire fingerprint image, first frame fingerprint image to the P frame fingerprint image electronic equipment will be into The analysis of row fingerprint image;After certain electronic equipment has acquired the 100th frame fingerprint image, which will trigger fingerprint again Image analysis, that is to say, that will be analyzed from the 101st frame fingerprint image to 101+P frame fingerprint image to fingerprint image;Certainly, It will also be analyzed to fingerprint image from the 201st frame fingerprint image to 201+P frame fingerprint image.
After a group division is completed, when carrying out the acquisition of first group of fingerprint image, the electronic equipment will be acquired first To preceding P frame fingerprint image, P be may be greater than equal to 2, and be less than or equal to the sum of first group of fingerprint image, such as first May include 100 frame fingerprint images in group, then the P is exactly to be more than or equal to 2 less than 100, under normal circumstances P be set as 4,5,6,7, A value in 8.
Further, in embodiments of the present invention, before acquiring when P frame image, different acquisition parameters can be used to carry out Acquisition, that is to say, that acquisition first frame fingerprint image uses an acquisition parameter, then acquires the second frame fingerprint image using another A acquisition parameter, acquisition third frame fingerprint image use the acquisition parameter being different from acquisition front cross frame fingerprint image, therefore The acquisition parameter that P frame fingerprint image uses before acquiring is different from, and acquisition parameter here uses when acquiring fingerprint image The parameter relevant to picture quality such as image gain value and/or contrast.
Such as in embodiments of the present invention, 5 different grades can be divided into according to the dry and wet degree of fingerprint, it may be assumed that very Dry, more dry, normal, wetter, wet 5 kinds of situations.Every case corresponds to an acquisition parameter, such as " very dry " corresponding acquisition ginseng Number is A, " more dry " corresponding acquisition parameter is B, " normal " corresponding fingerprint parameter is C, " wetter " corresponding fingerprint parameter is D, " wet " corresponding fingerprint parameter is E, and the value of A, B, C, D, E are different.
Acquisition be preceding 5 frame fingerprint image when, the acquisition parameter that uses is A when acquiring first frame fingerprint image, acquisition the The acquisition parameter used when two frame fingerprint images is B, and the acquisition parameter that uses is C when acquiring third frame fingerprint image, acquisition the The acquisition parameter used when four frame fingerprint images is D, and the acquisition parameter used when acquiring the 5th frame fingerprint image is E.
Specifically, the acquisition parameter is image gain value used in acquisition fingerprint image in embodiments of the present invention, Using different image gain values come when acquiring fingerprint image, the clarity of collected each fingerprint image is all substantially inconsistent. The higher fingerprint image of clarity in order to obtain, therefore with regard to needing to analyze P frame fingerprint image before collecting.The electronics is set It is standby to carry out analysis process as shown in Figure 2 to the P frame fingerprint image got:
S201 obtains the clarity of every frame fingerprint image in preceding P frame fingerprint image;
Since the degree of roughness of different user finger and wet degree are different from, just need to adopt by different Collection parameter come P frame fingerprint image before acquiring, in the above-described embodiment it is stated that in the case where 5 kinds of differences corresponding acquisition join Number.
Before being obtained using different acquisition parameters after P frame fingerprint image, which will acquire preceding P frame image In every frame image clarity, which can be the parameters such as the gray value of image, the more high then electronic equipment of the clarity more It easily identifies.
S202 determines the H frame fingerprint image with utmost sharpness in the clarity of acquisition, and obtains acquisition and refer to The acquisition parameter of print image;
Before getting after the clarity of P frame fingerprint image, which will determine in preceding P frame fingerprint image Then H frame fingerprint image with utmost sharpness determines the acquisition parameter used when acquiring the H frame fingerprint image.
Such as the preceding 5 frame fingerprint image of acquisition is analyzed, the 3rd frame fingerprint image is clear in preceding 5 frame fingerprint image Degree highest, that is, the 3rd frame fingerprint image are clearest, then the electronic equipment will determine use when the 3rd frame fingerprint image of acquisition Acquisition parameter.
S203, the acquisition parameter that will acquire is as the first acquisition parameter.
In the corresponding acquisition parameter of the H frame fingerprint image of determining to have utmost sharpness, then by the acquisition parameter As the first acquisition parameter.
Such as 100 frames are one group, determine that the 3rd frame fingerprint image is clearest fingerprint in preceding 5 frame fingerprint image When image, then electronic equipment will acquire subsequent 95 frame fingerprint image according to the acquisition parameter of the 3rd frame fingerprint image, thus Can make subsequent acquisition to 95 frame fingerprint images have higher clarity, to improve the effect of fingerprint image.
Further, after the N frame fingerprint image that electronic equipment acquires in first group, which will carry out second group K frame fingerprint image before the acquisition of fingerprint image, the first electronic equipment still will acquire, the i.e. electronic equipment obtain N+1 frame Fingerprint image is to N+K+1 frame fingerprint image, and K and P above-mentioned here can be same numerical value, certainly according to practical situation P value can be adjusted to different values from K value.
Certainly, which be acquired using different image gain values.Obtaining this K frame fingerprint After image, which be will acquire in the K frame fingerprint image after N+1 frame fingerprint image and N+1 fingerprint image The clarity of every frame fingerprint image.
The J frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains acquisition fingerprint image The acquisition parameter of picture, in the acquisition parameter got as the second acquisition parameter.Finally N is acquired according to the second acquisition parameter + K+2 frame fingerprint image is to Q frame fingerprint image.
Such as include 100 frame fingerprint images in first group of fingerprint image, second group of fingerprint image acquisition is also 100 Frame fingerprint image, then for the electronic equipment before completion after the acquisition of 100 frame fingerprint images, which will be first using difference Image gain value acquire the 101st frame fingerprint image to the 106th frame fingerprint image, then to the 101st frame fingerprint image to 106 frame fingerprint images are analyzed, and then determine the clarity highest of the 104th frame fingerprint image.
The electronic equipment will determine the corresponding acquisition parameter of the 104th frame fingerprint image at this time, that is, determine to acquire The image gain value of 104th frame fingerprint image.Subsequent 107th frame fingerprint image to the 200th frame fingerprint image is all in accordance with the figure It is acquired as yield value.The clarity of the 107th frame fingerprint image to the 200th frame fingerprint image is ensured that in this way.
Further, in embodiments of the present invention, determine that second group of fingerprint image is corresponding except through above-mentioned mode The second acquisition parameter except, can also be according to the corresponding fingerprint image of the first acquisition parameter determined in first group of fingerprint image As determining that the second acquisition parameter, specific implementation process are as shown in Figure 3:
S301 determines the amount frame fingerprint adjacent with L-th frame in the K frame fingerprint image after N+1 frame fingerprint image Image;
Specifically, in embodiments of the present invention, when determining in the preceding P frame fingerprint image in first group of fingerprint image When the corresponding acquisition parameter of L frame fingerprint image is as the first acquisition parameter, the electronic equipment is in second group of fingerprint image of acquisition When preceding K frame fingerprint image, the two frame fingerprint images adjacent with L-th frame fingerprint image will be determined in preceding K frame fingerprint image, In, L is equal to H.
Such as when acquiring first group of fingerprint image, it is confirmed that the corresponding acquisition parameter conduct of the 3rd frame fingerprint image First acquisition parameter.When the electronic equipment acquires second group of fingerprint image, which will determine second group of fingerprint image The fingerprint image adjacent with the 3rd frame fingerprint image as in, if first group of fingerprint image is 100 frames, second group of fingerprint image is also 100 frames, then the 3rd frame fingerprint image of second group of fingerprint image is exactly 103 frame fingerprint images, then with the 103rd frame fingerprint image Two adjacent frame fingerprint images can be the 102nd frame fingerprint image and the 104th frame fingerprint image or be the 104th frame fingerprint images Any one in picture and the 105th frame fingerprint image uses the 102nd frame fingerprint image and the 104th frame in embodiments of the present invention Fingerprint image.
S302 obtains the clarity of L-th frame fingerprint image and the two frame fingerprint images adjacent with L-th frame fingerprint image;
Such as the 3rd frame image in second group of image when being the 103rd frame fingerprint image, then the electronic equipment can be with Obtain the clear of the clarity of the 102nd frame fingerprint image, the clarity of the 103rd frame fingerprint image and the 104th frame fingerprint image Degree.
S303 determines the corresponding acquisition of fingerprint image with utmost sharpness in the three frame fingerprint images got Parameter;
S304, using the acquisition parameter determined as the second acquisition parameter.
After determining to have the fingerprint image of utmost sharpness in three obtained frame fingerprint images, determining acquisition, this refers to Acquisition parameter used in print image, finally using the acquisition parameter as the second acquisition for acquiring subsequent second group of fingerprint image Parameter.
Such as the 103rd is determined in the 103rd frame fingerprint image, the 104th frame fingerprint image, the 105th frame fingerprint image When frame fingerprint image clarity highest, then the electronic equipment will determine the corresponding acquisition parameter of the 103rd frame fingerprint image as the Then two acquisition parameters acquire subsequent 95 frame fingerprint image according to the acquisition parameter of the 103rd frame fingerprint image.
It is determining in second group of fingerprint image that electronic equipment can be largely reduced by method flow shown in Fig. 3 The operand of acquisition parameter out also directly improves electricity to improve the speed that electronic equipment determines acquisition parameter in this way Sub- equipment acquires the speed of clear fingerprint image.
Certainly, in the acquisition of third group fingerprint image, can also be referred to based on the L-th frame determined in second group of fingerprint image Print image determines the acquisition parameter of third group fingerprint image, and detailed process is same as described above, is not described in more detail here.
What needs to be explained here is that the collection process of two groups of fingerprint images described in above-described embodiment, it is evident that electronics Equipment is essentially identical to the acquisition of first group of fingerprint image and the collection process of second group of fingerprint image, that is, in preceding P It determines that there is the corresponding acquisition parameter of fingerprint image most high-definition in frame or K frame fingerprint image, is then adopted according to this Collect parameter to acquire subsequent fingerprint image, the clarity for allowing for subsequent fingerprint image in this way is higher.So refer to for M group In print image, the collection process and second group of fingerprint image of the collection process of other group of fingerprint image and first group of fingerprint image Collection process be it is identical, just no longer repeat one by one herein.
In P frame fingerprint image before collecting, determination has electronic equipment in P frame fingerprint image in the above-described embodiments First acquisition parameter of the frame fingerprint image of higher resolution acquires P+1 frame fingerprint image to the according to the first acquisition parameter N frame fingerprint image;Then the finger with higher resolution is determined in the K frame fingerprint image after N+1 frame fingerprint image Corresponding second acquisition parameter of print image acquires N+K+1 frame fingerprint image to Q frame fingerprint image according to the second acquisition parameter Picture.That is the one group of fingerprint image formerly acquired in embodiments of the present invention uses the finger in the group with higher resolution First acquisition parameter of print image also uses the fingerprint image pair with higher resolution in second group of fingerprint image of rear acquisition The second acquisition parameter answered, thus realize the real-time adjustment acquisition parameter of grouping to promote the clarity of fingerprint image acquisition, Guarantee the image quality of last fingerprint image.
A kind of image-pickup method in the corresponding embodiment of the present invention additionally provides a kind of electronics in the embodiment of the present invention and sets It is standby, it is illustrated in figure 4 the structural schematic diagram of a kind of electronic equipment in the embodiment of the present invention, which includes:
First processor 401, in P frame fingerprint image before collecting, determining in the P frame fingerprint image One acquisition parameter, first acquisition parameter be acquire P frame fingerprint image in a frame fingerprint image parameter, wherein P be greater than Positive integer equal to 2;
First sensor 402, for acquiring P+1 frame fingerprint image to nth frame fingerprint according to first acquisition parameter Image, wherein N is the positive integer greater than P+1;
Second processor 403, for determining the second acquisition in the K frame fingerprint image after N+1 frame fingerprint image Parameter, wherein K is the positive integer greater than N+1;
Second sensor 404, for acquiring N+K+2 frame fingerprint image to Q frame and referring to according to second acquisition parameter Print image, wherein Q is the positive integer greater than N+K+2.
What needs to be explained here is that first processor 401 and second processor 403 are same place under normal circumstances Manage device;First sensor 402 and second sensor 404 are same sensor.
Further, in embodiments of the present invention, first processor 401 are also used to determining the total of acquisition fingerprint image When number, the sum is divided into M group, using the first frame fingerprint image to nth frame fingerprint image as in the M group First group, and using the N+1 frame fingerprint image to Q frame fingerprint image as second group in the M group, wherein institute It states in M group and includes an at least frame fingerprint image for each group, M is the positive integer more than or equal to 2.
Further, in embodiments of the present invention, first processor 401 are specifically used for obtaining in the preceding P frame fingerprint image The clarity of every frame fingerprint image is determined the H frame fingerprint image with utmost sharpness in the clarity of acquisition, and is obtained The acquisition parameter for acquiring the fingerprint image is taken, the acquisition parameter that will acquire is as first acquisition parameter, wherein H For the positive integer for being less than or equal to P more than or equal to 1.
Further, in embodiments of the present invention, second processor 403 are specifically used for obtaining the N+1 frame fingerprint image And in the K frame fingerprint image after the N+1 frame fingerprint image every frame fingerprint image clarity, in the clarity of acquisition In determine the J frame fingerprint image with utmost sharpness, and obtain the acquisition parameter for acquiring the fingerprint image, will acquire The acquisition parameter arrived is as second acquisition parameter.
Further, in embodiments of the present invention, second processor 403 are specifically used for described in N+1 frame fingerprint image The two frame fingerprint images adjacent with L-th frame are determined in K frame fingerprint image later, obtain the L-th frame fingerprint image and The clarity of the two frame fingerprint images adjacent with L-th frame fingerprint image determines have in the three frame fingerprint images got The corresponding acquisition parameter of the fingerprint image of utmost sharpness is joined the acquisition parameter determined as second acquisition Number.
Although the preferred embodiment of the application has been described, but one of ordinary skilled in the art once knows substantially Creative concept, then additional changes and modifications may be made to these embodiments.It is wrapped so the following claims are intended to be interpreted as It includes preferred embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (12)

1. a kind of image-pickup method characterized by comprising
In P frame fingerprint image before collecting, the first acquisition parameter is determined in the P frame fingerprint image, described first adopts Collection parameter is to acquire the parameter of a frame fingerprint image in P frame fingerprint image, wherein P is the positive integer more than or equal to 2;
According to first acquisition parameter, P+1 frame fingerprint image is acquired to nth frame fingerprint image, wherein N is greater than P+1's Positive integer;
The second acquisition parameter is determined in the K frame fingerprint image after N+1 frame fingerprint image, wherein K is greater than N+1's Positive integer;
According to second acquisition parameter, N+K+2 frame fingerprint image is acquired to Q frame fingerprint image, wherein Q is greater than N+K + 2 positive integer.
2. the method as described in claim 1, which is characterized in that before determining the first acquisition parameter in the P frame image, Further include:
When determining the sum of acquisition fingerprint image, the sum is divided into M group, wherein each group in the M group Comprising an at least frame fingerprint image, M is the positive integer more than or equal to 2;
Using first frame fingerprint image to nth frame fingerprint image as first group in the M group, and by the N+1 frame fingerprint Image is to Q frame fingerprint image as second group in the M group.
3. method according to claim 2, which is characterized in that the sum is divided into M group, specifically:
The sum of the acquisition fingerprint image is averagely divided into M group.
4. the method as described in claim 1, which is characterized in that the first acquisition parameter is determined in the P frame fingerprint image, Include:
Obtain the clarity of every frame fingerprint image in the preceding P frame fingerprint image;
The H frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains the acquisition fingerprint image The acquisition parameter of picture, wherein H is the positive integer for being less than or equal to P more than or equal to 1;
The acquisition parameter that will acquire is as first acquisition parameter.
5. the method as described in claim 1, which is characterized in that in the K frame fingerprint image after N+1 frame fingerprint image really Make the second acquisition parameter, comprising:
Obtain every frame fingerprint in the K frame fingerprint image after the N+1 frame fingerprint image and the N+1 frame fingerprint image The clarity of image;
The J frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains the acquisition fingerprint image The acquisition parameter of picture, wherein J is the positive integer for being less than or equal to K more than or equal to N+1;
The acquisition parameter that will acquire is as second acquisition parameter.
6. method as claimed in claim 4, which is characterized in that in the K frame fingerprint image after N+1 frame fingerprint image really Make the second acquisition parameter, comprising:
The two frame fingerprint images adjacent with L-th frame are determined in the K frame fingerprint image after N+1 frame fingerprint image Picture, wherein L is equal to H;
Obtain the clarity of the L-th frame fingerprint image and the two frame fingerprint images adjacent with L-th frame fingerprint image;
The corresponding acquisition parameter of fingerprint image with utmost sharpness is determined in the three frame fingerprint images got;
Using the acquisition parameter determined as second acquisition parameter.
7. the method as described in claim any in claim 4-6, which is characterized in that the clarity is the gray scale of fingerprint image Value.
8. a kind of electronic equipment characterized by comprising
First processor, for determining the first acquisition in the P frame fingerprint image in P frame fingerprint image before collecting Parameter, first acquisition parameter are to acquire the parameter of a frame fingerprint image in P frame fingerprint image, wherein P is more than or equal to 2 Positive integer;
First sensor is used for according to first acquisition parameter, acquisition P+1 frame fingerprint image to nth frame fingerprint image, In, N is the positive integer greater than P+1;
Second processor, for determining the second acquisition parameter in the K frame fingerprint image after N+1 frame fingerprint image, In, K is the positive integer greater than N+1;
Second sensor is used for according to second acquisition parameter, acquisition N+K+2 frame fingerprint image to Q frame fingerprint image, Wherein, Q is the positive integer greater than N+K+2.
9. electronic equipment as claimed in claim 8, which is characterized in that the first processor is also used to determining to acquire When the sum of fingerprint image, the sum is divided into M group, using first frame fingerprint image to nth frame fingerprint image as institute First group is stated in M group, and using the N+1 frame fingerprint image to Q frame fingerprint image as second in the M group Group, wherein each group includes an at least frame fingerprint image in the M group, and M is the positive integer more than or equal to 2.
10. electronic equipment as claimed in claim 8, which is characterized in that first processor is specifically used for obtaining the preceding P frame The clarity of every frame fingerprint image, determines to have the H frame of utmost sharpness to refer in the clarity of acquisition in fingerprint image Print image, and the acquisition parameter for acquiring the fingerprint image is obtained, the acquisition parameter that will acquire is as first acquisition Parameter, wherein H is the positive integer for being less than or equal to P more than or equal to 1.
11. electronic equipment as claimed in claim 8, which is characterized in that the second processor is specifically used for obtaining described the The clarity of every frame fingerprint image in K frame fingerprint image after N+1 frame fingerprint image and the N+1 frame fingerprint image, The J frame fingerprint image with utmost sharpness is determined in the clarity of acquisition, and obtains the acquisition fingerprint image Acquisition parameter, the acquisition parameter that will acquire is as second acquisition parameter.
12. electronic equipment as claimed in claim 10, which is characterized in that the second processor, be specifically used for it is described The two frame fingerprint images adjacent with L-th frame are determined in K frame fingerprint image after N+1 frame fingerprint image, obtain the L The clarity of frame fingerprint image and the two frame fingerprint images adjacent with L-th frame fingerprint image, in the three frame fingerprint images got Determine that there is the corresponding acquisition parameter of the fingerprint image of utmost sharpness as in, using the acquisition parameter determined as institute State the second acquisition parameter.
CN201410663786.5A 2014-11-19 2014-11-19 A kind of image-pickup method and electronic equipment Active CN105678291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410663786.5A CN105678291B (en) 2014-11-19 2014-11-19 A kind of image-pickup method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410663786.5A CN105678291B (en) 2014-11-19 2014-11-19 A kind of image-pickup method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105678291A CN105678291A (en) 2016-06-15
CN105678291B true CN105678291B (en) 2019-04-23

Family

ID=56944892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410663786.5A Active CN105678291B (en) 2014-11-19 2014-11-19 A kind of image-pickup method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105678291B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250883B (en) * 2016-08-26 2019-08-23 Oppo广东移动通信有限公司 Pressure fingerprint identification method, device and terminal device
CN106355144B (en) * 2016-08-26 2019-08-20 Oppo广东移动通信有限公司 Acquisition method, device and the mobile terminal of fingerprint image
CN106355145A (en) * 2016-08-26 2017-01-25 广东欧珀移动通信有限公司 Fingerprint identification method, device and mobile terminal
CN107392145A (en) * 2017-07-20 2017-11-24 维沃移动通信有限公司 A kind of fingerprint identification method, terminal and computer-readable recording medium
CN107729828A (en) * 2017-09-30 2018-02-23 杭州喆岸科技有限公司 A kind of fingerprint image acquisition method, electronic equipment, storage medium and system
CN110287922B (en) * 2019-06-29 2021-05-07 Oppo广东移动通信有限公司 Fingerprint identification method and related product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004903A (en) * 2010-11-17 2011-04-06 深圳市中控生物识别技术有限公司 Anti-counterfeiting fingerprint identification device and fingerprint identification method
CN104052911A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9569655B2 (en) * 2012-04-25 2017-02-14 Jack Harper Digital voting logic for manufacturable finger asperity wafer-scale solid state palm print scan devices
US9342732B2 (en) * 2012-04-25 2016-05-17 Jack Harper Artificial intelligence methods for difficult forensic fingerprint collection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004903A (en) * 2010-11-17 2011-04-06 深圳市中控生物识别技术有限公司 Anti-counterfeiting fingerprint identification device and fingerprint identification method
CN104052911A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
半导体指纹传感器图像质量评估方法;王玮等;《光电工程》;20061030;第104页-第107页,第144页

Also Published As

Publication number Publication date
CN105678291A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105678291B (en) A kind of image-pickup method and electronic equipment
US10417406B2 (en) Method for fingerprint unlocking and terminal
EP3125525B1 (en) Method and system for enabling camera of mobile terminal to automatically adapt to scene
CN105943013B (en) Heart rate detection method and device and intelligent wearable device
CN104468916A (en) Test method based on cell phone response time
US8774551B2 (en) Image processing apparatus and image processing method for reducing noise
CN102723003B (en) Reading state reminding method and mobile terminal
CN105447436A (en) Fingerprint identification system, fingerprint identification method and electronic device
EP2680192A3 (en) Facial recognition
EP3637290A1 (en) Unlocking control method and related product
CN106462954A (en) Image processing system and computer-readable storage medium
CN110084113B (en) Living body detection method, living body detection device, living body detection system, server and readable storage medium
CN104243815B (en) A kind of focusing method and electronic equipment
CN105872399B (en) Backlighting detecting and backlight detection system
US20160012796A1 (en) Method and system for replacing theme of a mobile terminal on the basis of a user's clothes color
CN107749046B (en) Image processing method and mobile terminal
CN107077279B (en) Pressure detection method and device
CN107278309A (en) Finger print matching method, device and electronic equipment
CN104052911A (en) Information processing method and electronic device
CN108334766A (en) Electronic device, unlocking method and related product
CN105550689B (en) information processing method, the first electronic equipment and the second electronic equipment
DE112014006773T5 (en) Capsule endoscope, capsule endoscope system and method of controlling a capsule endoscope
CN104639714A (en) Test method of mobile phone response time
US20170208604A1 (en) Smart home control system and method
CN112449117A (en) Focusing step length determining method and device, storage medium and electronic device

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