CN105718214B - The access method and device of fingerprint mask image - Google Patents

The access method and device of fingerprint mask image Download PDF

Info

Publication number
CN105718214B
CN105718214B CN201510688243.3A CN201510688243A CN105718214B CN 105718214 B CN105718214 B CN 105718214B CN 201510688243 A CN201510688243 A CN 201510688243A CN 105718214 B CN105718214 B CN 105718214B
Authority
CN
China
Prior art keywords
boundary
masked areas
mask image
fingerprint
code
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
CN201510688243.3A
Other languages
Chinese (zh)
Other versions
CN105718214A (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.)
Shenzhen Chipsailing Technology Co Ltd
Original Assignee
Shenzhen Chipsailing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chipsailing Technology Co Ltd filed Critical Shenzhen Chipsailing Technology Co Ltd
Priority to CN201510688243.3A priority Critical patent/CN105718214B/en
Publication of CN105718214A publication Critical patent/CN105718214A/en
Application granted granted Critical
Publication of CN105718214B publication Critical patent/CN105718214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from or digital output to record carriers, e.g. RAID, emulated record carriers, networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from or digital output to record carriers, e.g. RAID, emulated record carriers, networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files

Abstract

The present invention is suitable for fingerprint identification technology field, provides the access method and device of a kind of fingerprint mask image, comprising: obtains the boundary information of masked areas in fingerprint mask image;The boundary information is saved in file;When needing to call the fingerprint mask image, the boundary information in the file is read;The fingerprint mask image is restored according to the boundary information.The access plan of fingerprint mask image provided by the invention, on the one hand minimum to the occupancy of memory space, storage resource has been saved well, on the other hand fingerprint mask image out still can be restored with original precision, to ensure that the accuracy of identification of entire fingerprint recognition system, space hold in fingerprint mask image access procedure is well solved and has stored precision balance between the two.

Description

The access method and device of fingerprint mask image
Technical field
The invention belongs to fingerprint identification technology field more particularly to the access methods and device of fingerprint mask image.
Background technique
In recent years, fingerprint identification technology has been successfully applied to the every field of social life, for example, smart phone, gate inhibition The technical fields such as system, e-commerce, attendance checking system, payment mechanism and identity authentication.In the course of work of fingerprint recognition system In, it needs to be partitioned into fingerprint mask image from fingerprint image and stores, so as to next subsequently through fingerprint mask image is read The sequence of operations such as image enhancement, orientation field computation, binaryzation and the feature extraction of fingerprint image are executed, it is more accurate to obtain Fingerprint recognition result.
The access method of currently used fingerprint mask image includes: directly using fingerprint mask image as a binary system Array is saved in file and directly reads, and sampled result is saved in file after sampling to fingerprint mask image And read by interpolation method, the former precision since fingerprint mask image has been fully retained, so that it is excessive to save file, to depositing The consuming for storing up resource increases, and the latter reduces the precision of fingerprint mask image, to also produce to the arithmetic accuracy of fingerprint recognition Influence is given birth to.
Summary of the invention
In view of this, the embodiment of the invention provides the access method of fingerprint mask image and device, it is existing to solve Fingerprint mask image access method cannot achieve the problem of both space hold and storage precision balance.
In a first aspect, providing a kind of access method of fingerprint mask image, comprising:
Obtain the boundary information of masked areas in fingerprint mask image;
The boundary information is saved in file;
When needing to call the fingerprint mask image, the boundary information in the file is read;
The fingerprint mask image is restored according to the boundary information.
Second aspect provides a kind of access device of fingerprint mask image, comprising:
Acquiring unit, for obtaining the boundary information of masked areas in fingerprint mask image;
Storage unit, for the boundary information to be saved in file;
Reading unit, for when needing to call the fingerprint mask image, reading the letter of the boundary in the file Breath;
Restoration unit, for restoring the fingerprint mask image according to the boundary information.
The access plan of fingerprint mask image provided in an embodiment of the present invention, it is on the one hand minimum to the occupancy of memory space, Storage resource has been saved well, fingerprint mask image out still on the other hand can be restored with original precision, to ensure that The accuracy of identification of entire fingerprint recognition system has well solved space hold and storage essence in fingerprint mask image access procedure Spend balance between the two.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the access method of fingerprint mask image provided in an embodiment of the present invention;
Fig. 2 is fingerprint image exemplary diagram provided in an embodiment of the present invention;
Fig. 3 is fingerprint mask image exemplary diagram provided in an embodiment of the present invention;
Fig. 4 is the exposure mask boundary exemplary diagram of fingerprint mask image provided in an embodiment of the present invention;
Fig. 5 is the specific implementation flow chart of the access method S101 of fingerprint mask image provided in an embodiment of the present invention;
Fig. 6 is the specific implementation flow chart of the access method S104 of fingerprint mask image provided in an embodiment of the present invention;
Fig. 7 is the structural block diagram of the access device of fingerprint mask image provided in an embodiment of the present invention.
Specific embodiment
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.In being described below, For illustration and not for limitation, the detail of such as particular system structure, technology etc is proposed, to cut understanding thoroughly The embodiment of the present invention.However, it will be clear to one skilled in the art that in the other embodiments without these details The present invention may be implemented.In other situations, the detailed description to well-known system, apparatus, circuit and method is omitted, In order to avoid unnecessary details interferes description of the invention.
Fig. 1 shows the implementation process of the access method of fingerprint mask image provided in an embodiment of the present invention, and details are as follows:
In S101, the boundary information of masked areas in fingerprint mask image is obtained.
In the present embodiment, fingerprint image as shown in Figure 2 is collected by fingerprint sensor first, and further to this Fingerprint image is split, and obtains the fingerprint mask images of the fingerprint image as shown in Figure 3.The fingerprint mask image is two It is worth image, for example, not including finger print information if the pixel value in the region in fingerprint mask image comprising finger print information is 0 The pixel value in region is 1, conversely, not including and referring to if the pixel value in the region in fingerprint mask image comprising finger print information is 1 The pixel value in the region of line information is 0.And the boundary information of masked areas, can express to be in fingerprint mask image only include The bianry image on masked areas boundary, for example, the pixel value on masked areas boundary is 0, then the pixel value in other regions is 1, Conversely, the pixel value on masked areas boundary is 1, then the pixel value in other regions is 0, therefore, is believed according to the boundary of masked areas Breath, can draw out the bianry image as shown in Figure 4 about masked areas boundary.
In embodiments of the present invention, the boundary information of the masked areas, including but not limited on masked areas boundary The information such as the coordinate at any point, the directional chain-code on boundary and boundary image on beginning coordinate, boundary.
As an embodiment of the present invention, the acquisition process of the boundary information of masked areas can be by such as scheming in S101 Mode shown in 5 is realized:
In S501, the origin coordinates of the masked areas is positioned.
In the present embodiment, the pixel coordinate for the masked areas that first accesses can be determined as the masked areas Origin coordinates.Further, the pixel of the masked areas of this first access can pass through the side of traversal fingerprint mask image Formula searches, and the path of traversal includes but is not limited to: it is traversed from top to bottom from left to right from the upper left corner of fingerprint mask image, from The upper right corner of fingerprint mask image traverses from top to bottom from right to left, from the lower left corner of fingerprint mask image from left to right from it is lower to Upper traversal, or traversed from bottom to top from right to left from the lower right corner of fingerprint mask image, until pixel value is accessed for the first time By 0 to 1 or by 1 to 0 catastrophe point, and the point is determined as to the origin coordinates of masked areas.
In S502, since the origin coordinates, chain code following is carried out to the masked areas, is arrived until repositioning The origin coordinates of the masked areas.
In S503, the directional chain-code of the masked areas generated during the chain code following is obtained.
After getting the origin coordinates of masked areas, since the origin coordinates, using chain code following algorithm to covering Diaphragm area carries out chain code following, and until encountering the origin coordinates again, entire chain code following process can be according to the road of tracking Diameter obtains a series of directional chain-code of masked areas, and the directional chain-code and origin coordinates of acquisition have together constituted with masked areas most base This boundary information.
As an embodiment of the present invention, the chain code following include 4 connections chain code following or 8 connection chain code with Track.
As another embodiment of the present invention, the chain code following includes clockwise chain code following or chain code counterclockwise Tracking.
In S102, the boundary information is saved in file.
After getting the boundary information of masked areas, for fingerprint mask image, in the present embodiment only by the side Boundary's information preservation into preassigned file, for subsequent fingerprint identifying system calling, compared with the prior art in directly will The preservation process of the scheme that fingerprint mask image is saved, the embodiment of the present invention is minimum to the occupancy of memory space, well Storage resource is saved.
In S103, when needing to call the fingerprint mask image, the boundary information in the file is read.
In S104, the fingerprint mask image is restored according to the boundary information.
When needing to call fingerprint mask image, for example, when the finger for needing to save in the fingerprint of user's input and system When line template is matched, then from reading out masked areas in the fingerprint mask image pre-saved in preassigned file Boundary information, fingerprint mask image needed for fingerprint comparison out is restored further according to the boundary information.
As shown in fig. 6, as follows according to the process that boundary information restores fingerprint mask image:
In S601, the boundary of the masked areas is restored according to the boundary information.
Specifically, according to the origin coordinates in boundary information, the starting point on the boundary of masked areas, then root are oriented first According to the directional chain-code in boundary information, the boundary of masked areas as shown in Figure 4 out is restored by anti-chain code tracking.
In S602, area filling is carried out using region-filling algorithm to the boundary of the masked areas, restores the finger Line mask image.
After restoring the boundary of masked areas out, by region-filling algorithm, to the side of masked areas as shown in Figure 4 Boundary carries out area filling, to restore fingerprint mask image as shown in Figure 3 out, wherein region-filling algorithm includes but unlimited In the algorithm based on region growing, or algorithm based on morphological operation, etc..
Although from can be seen that in the read schemes of above-mentioned fingerprint mask image in storage fingerprint mask image, storage Data volume reduce much compared to fingerprint mask image itself, still, still can be with by boundary recovery and area filling Original precision restores fingerprint mask image out, to ensure that the accuracy of identification of entire fingerprint recognition system.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the access method of fingerprint mask image described in foregoing embodiments, Fig. 7 shows the embodiment of the present invention and mentions The structural block diagram of the access device of the fingerprint mask image of confession, the access device of the fingerprint mask image, which can be, is built in finger The unit of software unit, hardware cell either soft or hard combination in line identifying system.For ease of description, it illustrates only and this The relevant part of embodiment.
Referring to Fig. 7, which includes:
Acquiring unit 71 obtains the boundary information of masked areas in fingerprint mask image;
The boundary information is saved in file by storage unit 72;
Reading unit 73 reads the boundary information in the file when needing to call the fingerprint mask image;
Restoration unit 74 restores the fingerprint mask image according to the boundary information.
Optionally, the boundary information includes the origin coordinates and directional chain-code of the masked areas, the acquiring unit 71 include:
Locator unit positions the origin coordinates of the masked areas;
Chain code following subelement carries out chain code following to the masked areas, until again since the origin coordinates Navigate to the origin coordinates of the masked areas;
Subelement is obtained, the directional chain-code of the masked areas generated during the chain code following is obtained.
Optionally, the chain code following includes the chain code following of 4 connections or the chain code following of 8 connections.
Optionally, the chain code following includes clockwise chain code following or chain code following counterclockwise.
Optionally, the restoration unit 74 includes:
Subelement is restored on boundary, and the boundary of the masked areas is restored according to the boundary information;
Area filling subelement carries out area filling to the boundary of the masked areas, restores the fingerprint mask image.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words Form embody, which is stored in a storage medium, including some instructions use so that one Computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute this hair The all or part of the steps of bright each embodiment the method for embodiment.And storage medium above-mentioned include: USB flash disk, mobile hard disk, Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various media that can store program code such as dish or CD.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and model of each embodiment technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution It encloses.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (8)

1. a kind of access method of fingerprint mask image characterized by comprising
The boundary information of masked areas in fingerprint mask image is obtained, the boundary of the masked areas is the fingerprint mask image In only include masked areas boundary bianry image, the boundary information of the masked areas, the boundary including the masked areas Origin coordinates and the masked areas boundary directional chain-code;
The boundary information is saved in file;
When needing to call the fingerprint mask image, the boundary information in the file is read;
The fingerprint mask image is restored according to the boundary information, comprising: the mask regions are restored according to the boundary information The boundary in domain: according to the origin coordinates in the boundary information, the starting point on the boundary of the masked areas is positioned, according to described Directional chain-code in boundary information restores the boundary of the masked areas out by anti-chain code tracking;To the masked areas Boundary carries out area filling, restores the fingerprint mask image.
2. the method as described in claim 1, which is characterized in that the boundary letter for obtaining masked areas in fingerprint mask image Breath includes:
Position the origin coordinates of the masked areas;
Since the origin coordinates, chain code following is carried out to the masked areas, arrives the masked areas until repositioning The origin coordinates;
Obtain the directional chain-code of the masked areas generated during the chain code following.
3. method according to claim 2, which is characterized in that the chain code following includes chain code following or 8 connections of 4 connections Chain code following.
4. method according to claim 2, which is characterized in that the chain code following includes clockwise chain code following or inverse time The chain code following of needle.
5. a kind of access device of fingerprint mask image characterized by comprising
Acquiring unit, for obtaining the boundary information of masked areas in fingerprint mask image, the boundary of the masked areas is institute State in fingerprint mask image only include masked areas boundary bianry image, the boundary information of the masked areas, including described The directional chain-code on the boundary of the origin coordinates on the boundary of masked areas and the masked areas;
Storage unit, for the boundary information to be saved in file;
Reading unit, for when needing to call the fingerprint mask image, reading the boundary information in the file;
Restoration unit, for restoring the fingerprint mask image according to the boundary information, comprising: subelement is restored on boundary, uses In the boundary for restoring the masked areas according to the boundary information: according to the origin coordinates in the boundary information, positioning institute The starting point for stating the boundary of masked areas restores institute out by anti-chain code tracking according to the directional chain-code in the boundary information State the boundary of masked areas;Area filling subelement carries out area filling for the boundary to the masked areas, described in recovery Fingerprint mask image.
6. device as claimed in claim 5, which is characterized in that the acquiring unit includes:
Locator unit, for positioning the origin coordinates of the masked areas;
Chain code following subelement, for chain code following being carried out to the masked areas, until again since the origin coordinates Navigate to the origin coordinates of the masked areas;
Subelement is obtained, for obtaining the directional chain-code of the masked areas generated during the chain code following.
7. device as claimed in claim 6, which is characterized in that the chain code following includes chain code following or 8 connections of 4 connections Chain code following.
8. device as claimed in claim 6, which is characterized in that the chain code following includes clockwise chain code following or inverse time The chain code following of needle.
CN201510688243.3A 2015-10-21 2015-10-21 The access method and device of fingerprint mask image Active CN105718214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510688243.3A CN105718214B (en) 2015-10-21 2015-10-21 The access method and device of fingerprint mask image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510688243.3A CN105718214B (en) 2015-10-21 2015-10-21 The access method and device of fingerprint mask image

Publications (2)

Publication Number Publication Date
CN105718214A CN105718214A (en) 2016-06-29
CN105718214B true CN105718214B (en) 2019-02-26

Family

ID=56144958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510688243.3A Active CN105718214B (en) 2015-10-21 2015-10-21 The access method and device of fingerprint mask image

Country Status (1)

Country Link
CN (1) CN105718214B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112507987B (en) * 2021-02-03 2021-05-07 深圳阜时科技有限公司 Fingerprint identification method, storage medium and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072496B2 (en) * 2002-12-20 2006-07-04 Motorola, Inc. Slap print segmentation system and method
CN100347719C (en) * 2004-07-15 2007-11-07 清华大学 Fingerprint identification method based on density chart model
JP4305431B2 (en) * 2005-09-06 2009-07-29 ソニー株式会社 Image processing apparatus, mask creation method and program
CN101763500B (en) * 2008-12-24 2011-09-28 中国科学院半导体研究所 Method applied to palm shape extraction and feature positioning in high-freedom degree palm image

Also Published As

Publication number Publication date
CN105718214A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN108205655B (en) Key point prediction method and device, electronic equipment and storage medium
CN108010031B (en) Portrait segmentation method and mobile terminal
CN106934376B (en) A kind of image-recognizing method, device and mobile terminal
CN107633526A (en) A kind of image trace point acquisition methods and equipment, storage medium
CN107783861B (en) Transaction rollback method, device, storage medium and computer equipment
CN106326853A (en) Human face tracking method and device
CN110163876A (en) Left ventricle dividing method, system, equipment and medium based on multi-feature fusion
CN111310705A (en) Image recognition method and device, computer equipment and storage medium
CN105718214B (en) The access method and device of fingerprint mask image
CN107368820A (en) One kind becomes more meticulous gesture identification method, device and equipment
US20160379033A1 (en) Interaction method and apparatus
US10769795B2 (en) Image processing method and device
CN107451036A (en) Input reminding method, device and equipment
CN110826452A (en) Palm print verification method and device, computer equipment and readable storage medium
WO2020000715A1 (en) Index feature extraction-based stock index prediction method, server and storage medium
CN108875901B (en) Neural network training method and universal object detection method, device and system
CN109345081A (en) A kind of collecting method, device and electronic equipment
CN109165097A (en) A kind of data processing method and data processing equipment
CN107688824A (en) Picture match method and terminal device
CN104615614B (en) The method for obtaining scalable global characteristics description
CN110309127B (en) Data processing method and device and electronic equipment
US20200272740A1 (en) Anomalous activity detection in multi-provider transactional environments
US11106908B2 (en) Techniques to determine document recognition errors
US20200234081A1 (en) Learning method, non-transitory computer readable recording medium, and learning device
CN106156689A (en) A kind of information processing method and electronic equipment

Legal Events

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