TW201835813A - Method and electrical device for merging fingerprint images - Google Patents
Method and electrical device for merging fingerprint images Download PDFInfo
- Publication number
- TW201835813A TW201835813A TW106109387A TW106109387A TW201835813A TW 201835813 A TW201835813 A TW 201835813A TW 106109387 A TW106109387 A TW 106109387A TW 106109387 A TW106109387 A TW 106109387A TW 201835813 A TW201835813 A TW 201835813A
- Authority
- TW
- Taiwan
- Prior art keywords
- segment
- level
- hierarchy
- complete
- incomplete
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 239000012634 fragment Substances 0.000 claims description 27
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000009432 framing Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Collating Specific Patterns (AREA)
Abstract
Description
本發明是有關於一種指紋影像的合併方法,且特別是有關於一種利用層級結構來合併指紋影像的合併方法。 The invention relates to a method for merging fingerprint images, and in particular to a method for merging fingerprint images by using a hierarchical structure.
人類的指紋具有細節多、幾乎是獨特、不容易更改、而且在個人的生命中是耐用(durable)等特性,這使得指紋很適合長期用來作為人類身分的識別。指紋的應用至少有兩個階段,第一個階段為註冊(enroll),第二個階段為辨識兩人指紋或身分驗證。在註冊階段,使用者必須在將手指按壓在指紋感測器上以取得足夠的指紋特徵。然而,在一些應用中,由於成本等因素的考量使得指紋感測器的面積不會太大,因此在註冊階段時使用者必須在指紋感測器上按壓多次,進而需要一個演算法來合併多張指紋影像。一種習知的演算法是先取得第一章指紋影像,而後續產生的指紋影像都會合併至第一張指紋影像,但這樣的作法的缺點是當第一張指紋影像不清晰時,所合併出來的指紋影像會有許多錯誤,甚至有錯誤傳遞(error propagation)的問題。因此, 如何提出一個更好的指紋影像合併方法,為此領域技術人員所關心的議題。 Human fingerprints are characterized by many details, are almost unique, are not easily changeable, and are durable in personal life, making fingerprints well suited for long-term identification as human identity. There are at least two stages in the application of fingerprints. The first stage is enrolling, and the second stage is to identify two people's fingerprints or identity verification. During the registration phase, the user must press a finger on the fingerprint sensor to obtain sufficient fingerprint characteristics. However, in some applications, the size of the fingerprint sensor is not too large due to factors such as cost, so the user must press the fingerprint sensor multiple times during the registration phase, and then an algorithm is needed to merge. Multiple fingerprint images. A conventional algorithm first obtains the first chapter fingerprint image, and the subsequent fingerprint images are merged into the first fingerprint image. However, the disadvantage of this method is that when the first fingerprint image is unclear, it is merged. There are many errors in the fingerprint image, and there are even problems with error propagation. Therefore, how to propose a better fingerprint image merging method is a topic of concern to those skilled in the field.
本發明的實施例提出一種指紋影像的合併方法,適用於電子裝置。此合併方法包括:建立層次結構,其中層次結構包括多個層級,這些層級的數目大於2,當中的最低層級中的每一個片段是透過指紋感測器所產生的單一指紋影像,第二層級中的片段包含了最多M張在第一層級中的片段,第二層級高於第一層級一個層級,M為大於1的正整數;取得新指紋影像,將新指紋影像加入至最低層級中,並更新層次結構;以及根據層級中的最高層級中的片段輸出註冊用指紋影像。 Embodiments of the present invention provide a method for merging fingerprint images, which is applicable to an electronic device. The merging method includes: establishing a hierarchy, wherein the hierarchy includes a plurality of tiers, the number of the tiers being greater than 2, wherein each of the lowest tiers is a single fingerprint image generated by the fingerprint sensor, in the second tier The segment contains up to M segments in the first level, the second level is higher than the first level, and M is a positive integer greater than 1; the new fingerprint image is acquired, and the new fingerprint image is added to the lowest level, and Update the hierarchy; and output the registered fingerprint image according to the segments in the highest level in the hierarchy.
在一些實施例中,上述的合併方法更包括:設定在最低層級中的每一個片段都為完整;以及若在第i個層級中的一片段包括了在第i-1個層級中的M張完整片段,設定在第i個層級中的該片段為完整,其中i為大於1的正整數。 In some embodiments, the merging method further includes: setting each segment in the lowest level to be complete; and if a segment in the ith level includes M slices in the i-1th level For a complete fragment, the fragment set in the i-th level is complete, where i is a positive integer greater than one.
在一些實施例中,上述更新層次結構的步驟包括:設定第L個層級為最低層級,將新指紋影像設定為一傳入片段,其中L為正整數;嘗試將傳入片段合併至在第L+1個層級中的一不完整片段以在第L+1個層級中產生第一片段;以及若嘗試將傳入片段合併至在第L+1個層級中的不完整片段的步驟成功且第一片段為不完整,搜尋在第L個層級中的一完整片段以合併至第一片段。 In some embodiments, the step of updating the hierarchy includes: setting the Lth level to the lowest level, setting the new fingerprint image as an incoming fragment, where L is a positive integer; attempting to merge the incoming fragment into the Lth +1 one of the incomplete segments to generate the first segment in the L+1th level; and the step of merging the incoming segment into the incomplete segment in the L+1th level succeeds and A segment is incomplete, searching for a complete segment in the Lth hierarchy to merge into the first segment.
在一些實施例中,上述更新層次結構的步驟更包括:若嘗試將傳入片段合併至在第L+1個層級中的不完整片段的步驟不成功,嘗試將傳入片段合併至在第L個層級中的一完整片段以在第L+1個層級中產生第二片段;以及如果嘗試將傳入片段合併至在第L個層級中的完整片段的步驟成功並且第二片段為不完整,搜尋在第L個層級中的完整片段以合併至第二片段。 In some embodiments, the step of updating the hierarchy further includes: if the attempt to merge the incoming fragment into the incomplete segment in the L+1th hierarchy is unsuccessful, attempting to merge the incoming fragment into the Lth a complete segment of the hierarchy to produce the second segment in the L+1th level; and if the attempt to merge the incoming segment into the complete segment in the Lth hierarchy is successful and the second segment is incomplete, The complete segment in the Lth hierarchy is searched for merging into the second segment.
在一些實施例中,上述更新層次結構的步驟更包括:如果嘗試將傳入片段合併至在第L+1個層級中的不完整片段的步驟成功或者嘗試將傳入片段合併至在第L個層級中的完整片段的步驟成功,判斷是否有片段從不完整改變為完整;如果有第三片段從不完整改變為完整,設定L=L+1,並且將第三片段當作傳入片段;以及重複執行嘗試將傳入片段合併至在第L+1個層級中的不完整片段的步驟。 In some embodiments, the step of updating the hierarchy further comprises: if the step of merging the incoming fragments into the incomplete segments in the L+1th level succeeds or attempts to merge the incoming fragments into the Lth The step of the complete segment in the hierarchy is successful, determining whether the segment has changed from incomplete to complete; if the third segment has changed from incomplete to complete, setting L=L+1, and treating the third segment as an incoming segment; And the step of repeating the attempt to merge the incoming segments into the incomplete segments in the L+1th level.
在一些實施例中,上述更新層次結構的步驟更包括:如果嘗試將傳入片段合併至在第L個層級中的完整片段的步驟不成功或者沒有片段從不完整改變為完整,判斷是否能輸出註冊用指紋影像;以及若不能輸出註冊用指紋影像,等待接收另一新指紋影像。 In some embodiments, the step of updating the hierarchy further includes: if the step of attempting to merge the incoming fragment into the complete fragment in the Lth hierarchy is unsuccessful or no fragment is changed from incomplete to complete, determining whether the output can be output Registering a fingerprint image; and if it is unable to output the registration fingerprint image, waiting to receive another new fingerprint image.
在一些實施例中,上述判斷是否能輸出註冊用指紋影像的步驟包括:取得在最高層級中的一最大片段,並且嘗試將在層次結構中所有的片段都合併至最大片段;判斷最大片段所包含的指紋影像的數目是否大於一預設值;以及 若最大片段所包含的指紋影像的數目大於預設值,將最大片段輸出以作為註冊用指紋影像。 In some embodiments, the step of determining whether the fingerprint image for registration can be output includes: obtaining a maximum segment in the highest level, and attempting to merge all segments in the hierarchy into the largest segment; determining that the largest segment is included Whether the number of fingerprint images is greater than a preset value; and if the number of fingerprint images included in the largest segment is greater than a preset value, the largest segment is output as a fingerprint image for registration.
以另一個角度來說,本發明的實施例提出一種電子裝置,包括指紋感測器與計算電路。指紋感測器用以取得新指紋影像。計算電路耦接至指紋感測器,用以建立層次結構。此層次結構包括多個層級,這些層級的數目大於2,當中的最低層級中的每一個片段是透過指紋感測器所產生的單一指紋影像。第二層級中的片段包含了最多M張在第一層級中的片段,第二層級高於第一層級一個層級,M為大於1的正整數。計算電路用以將新指紋影像加入至最低層級中,更新層次結構,並且根據層級中的一最高層級中的片段輸出註冊用指紋影像。 In another aspect, embodiments of the present invention provide an electronic device including a fingerprint sensor and a computing circuit. The fingerprint sensor is used to acquire a new fingerprint image. The computing circuit is coupled to the fingerprint sensor for establishing a hierarchy. The hierarchy includes a plurality of levels, the number of which is greater than two, and each of the lowest levels is a single fingerprint image produced by the fingerprint sensor. The segments in the second level contain a maximum of M segments in the first hierarchy, the second hierarchy is higher than the first hierarchical level, and M is a positive integer greater than one. The calculation circuit is used to add the new fingerprint image to the lowest level, update the hierarchy, and output the registration fingerprint image according to the segment in a highest level in the hierarchy.
在一些實施例中,計算電路還用以執行上述的合併方法。 In some embodiments, the computing circuit is also operative to perform the merging method described above.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧指紋感測器 110‧‧‧Finger sensor
120‧‧‧計算電路 120‧‧‧Computation circuit
200‧‧‧層次結構 200‧‧‧ Hierarchy
210(1)~210(N)、210(L)、210(L+1)‧‧‧層級 210(1)~210(N), 210(L), 210(L+1)‧‧‧ level
221、222(1)~222(M)、223、224‧‧‧片段 221, 222 (1) ~ 222 (M), 223, 224 ‧ ‧ fragment
230‧‧‧新指紋影像 230‧‧‧New fingerprint image
240‧‧‧註冊用指紋影像 240‧‧‧Registered fingerprint image
310、320、330‧‧‧指紋影像 310, 320, 330‧‧‧ Fingerprint images
311、321‧‧‧終點 End of 311, 321‧‧
312、322‧‧‧分叉 312, 322‧‧ ‧ fork
S401~S412、S1001~S1003‧‧‧步驟 S401~S412, S1001~S1003‧‧‧ steps
510、520、530、610、620、630、710、720、730‧‧‧片段 510, 520, 530, 610, 620, 630, 710, 720, 730 ‧ ‧ fragment
[圖1]是根據一實施例繪示電子裝置的示意圖。 FIG. 1 is a schematic diagram showing an electronic device according to an embodiment.
[圖2]是根據一實施例繪示層次結構的示意圖。 FIG. 2 is a schematic diagram showing a hierarchical structure according to an embodiment.
[圖3]是根據一實施例說明合併片段的示意圖。 FIG. 3 is a schematic diagram illustrating a merged segment according to an embodiment.
[圖4]是根據一實施例繪示更新層次結構的流程圖。 FIG. 4 is a flow chart showing an update hierarchy according to an embodiment.
[圖5]至[圖9]是根據實施例繪示更新層次結構的中間步驟。 [Fig. 5] to [Fig. 9] are intermediate steps of updating an hierarchy according to an embodiment.
[圖10]是根據一實施例繪示指紋影像的合併方法的流程圖。 FIG. 10 is a flow chart showing a method of merging fingerprint images according to an embodiment.
關於本文中所使用之『第一』、『第二』、...等,並非特別指次序或順位的意思,其僅為了區別以相同技術用語描述的元件或操作。另外,關於本文中所使用之「耦接」,可指二個元件直接地或間接地作電性連接。也就是說,當以下描述「第一物件耦接至第二物件」時,第一物件與第二物件之間還可設置其他的物件。 The terms "first", "second", "etc." used in this document are not intended to mean the order or the order, and are merely to distinguish between elements or operations described in the same technical terms. In addition, as used herein, "coupled" may mean that two elements are electrically connected, either directly or indirectly. That is, when the following description "the first object is coupled to the second object", other items may be disposed between the first object and the second object.
圖1是根據一實施例繪示電子裝置的示意圖。請參照圖1,電子裝置100包括了指紋感測器110與計算電路120。電子裝置100可以是智慧型手機、平板電腦、音樂播放器、筆記型電腦、工業電腦、或其他任意形式的電子裝置,本發明並不在此限。指紋感測器110可用以取得人類的指紋影像,指紋感測器110的感測方式可以是光學式、電容式或超音波式等,本發明並不限制指紋感測器110的感測方式。計算電路120可以為中央處理器、微處理器、微控制器、數位信號處理器、基頻處理器、影像處理晶片或特殊應用積體電路等。 FIG. 1 is a schematic diagram of an electronic device according to an embodiment. Referring to FIG. 1 , the electronic device 100 includes a fingerprint sensor 110 and a calculation circuit 120 . The electronic device 100 may be a smart phone, a tablet computer, a music player, a notebook computer, an industrial computer, or any other form of electronic device, and the present invention is not limited thereto. The fingerprint sensor 110 can be used to obtain a fingerprint image of a human. The sensing manner of the fingerprint sensor 110 can be optical, capacitive or ultrasonic. The invention does not limit the sensing manner of the fingerprint sensor 110. The computing circuit 120 can be a central processing unit, a microprocessor, a microcontroller, a digital signal processor, a baseband processor, an image processing chip, or a special application integrated circuit.
指紋感測器110會取得人類的多張指紋影像,並將所取得的指紋影像傳送給計算電路120,而計算電路 120會合併這些指紋影像。圖2是根據一實施例繪示層次結構的示意圖。請參照圖2,計算電路120會建立一個層次結構200,其中包括了N個層級210(1)~210(N),N為大於2的正整數。其中層級210(1)為最低層級,而層級210(N)為最高層級。在此定義“片段”為每個層級中的一個單元。層級210(2)中的一個片段包括了最多M張在層級210(1)中的片段,M為大於1的正整數。而層級210(3)中的一個片段包括了最多M張在層級210(2)的片段,以此類推。換言之,若在層次結構200中具有第二層級與第一層級,且第二層級高於第一層級一個層級,則第二層級中的一個片段包含了最多M張在第一層級中的片段。 The fingerprint sensor 110 acquires a plurality of fingerprint images of the human and transmits the obtained fingerprint images to the calculation circuit 120, and the calculation circuit 120 merges the fingerprint images. 2 is a schematic diagram showing a hierarchy in accordance with an embodiment. Referring to FIG. 2, the computing circuit 120 creates a hierarchy 200 comprising N levels 210(1)~210(N), N being a positive integer greater than two. The level 210(1) is the lowest level, and the level 210(N) is the highest level. Here, "fragment" is defined as a unit in each level. One of the levels 210(2) includes a maximum of M segments in the hierarchy 210(1), and M is a positive integer greater than one. While one of the levels 210(3) includes a maximum of M segments at level 210(2), and so on. In other words, if there is a second level and a first level in the hierarchy 200, and the second level is higher than the first level and one level, then one of the second levels contains a maximum of M pieces in the first level.
每個片段可分為完整或不完整。首先,在最低層級210(1)中的每一個片段是透過指紋感測器110所產生的單一指紋影像,並且在最低層級210(1)中的每一個片段都是完整的。此外,若在第i個層級中的一個片段包括了在第i-1個層級中的M張完整片段,則可設定在第i個層級中的該片段為完整(否則就是不完整),其中i為大於1的正整數。舉例來說,片段221包括了M個片段222(1)~222(M),因此片段221為完整。而片段223僅包括了一個片段224,因此片段223為不完整。以另一個角度來說,在第i-1個層級中的M張完整片段可以合併為在第i個層級中的一張完整片段。最高層級210(N)中的片段可用來輸出註冊用指紋影像240。也就是說,註冊用指紋影像240具有足夠的面積或特徵點以進行註冊的程序。當指紋感測器110取得新指紋影像 230以後,此新指紋影像230會被加入至最低層級210(1)中,然後計算電路120會更新層次結構200,以下將說明更新的流程。 Each segment can be divided into complete or incomplete. First, each of the segments in the lowest level 210(1) is a single fingerprint image produced by the fingerprint sensor 110, and each segment in the lowest level 210(1) is complete. In addition, if a segment in the i-th level includes M complete segments in the i-1th hierarchy, the segment in the i-th hierarchical layer may be set to be complete (otherwise, incomplete), wherein i is a positive integer greater than one. For example, segment 221 includes M segments 222(1)~222(M), so segment 221 is complete. The segment 223 includes only one segment 224, so the segment 223 is incomplete. In another perspective, the M complete segments in the i-1th level can be merged into one complete segment in the i th level. The segment in the highest level 210 (N) can be used to output the registration fingerprint image 240. That is, the registration fingerprint image 240 has a sufficient area or feature point for registration. After the fingerprint sensor 110 obtains the new fingerprint image 230, the new fingerprint image 230 is added to the lowest level 210(1), and then the computing circuit 120 updates the hierarchy 200. The flow of the update will be described below.
首先說明兩個片段的合併,圖3是根據一實施例說明合併片段的示意圖。請參照圖3,在此假設指紋影像310與指紋影像320為兩個片段,圖中的線條指的是紋脊(ridge)而在紋脊之間的空間則是紋谷(valley)。指紋影像310、320都不是註冊用指紋影像,也就是說指紋影像310、320的面積都不夠大。從指紋影像310、320中可擷取多個特徵,一般來說至少可擷取紋脊的終點(ending)與分叉(bifurcation)。例如,指紋影像310中具有終點311與分叉312,而指紋影像320中具有終點321與分叉322。指紋影像310中的特徵可配對至指紋影像320中的特徵。例如,終點311與終點321是彼此配對,而分叉312與分叉322是彼此配對。在配對完特徵以後,便可以將指紋影像310、320合併成為指紋影像330。然而,如果指紋影像310、320中沒有配對的特徵或者是配對的特徵不夠多,則表示指紋影像310、320不能夠合併在一起。然而,上述合併的方法僅為範例,本發明並不限制要從指紋影像中擷取那些特徵,也不限定要如何合併兩張指紋影像(片段)。 First, the merging of two segments will be described. FIG. 3 is a schematic diagram illustrating a merged segment according to an embodiment. Referring to FIG. 3, it is assumed here that the fingerprint image 310 and the fingerprint image 320 are two segments, the lines in the figure refer to the ridges and the space between the ridges is the valley. The fingerprint images 310 and 320 are not fingerprint images for registration, that is, the areas of the fingerprint images 310 and 320 are not large enough. A plurality of features can be extracted from the fingerprint images 310, 320, and generally at least the ending and bifurcation of the ridges can be captured. For example, the fingerprint image 310 has an end point 311 and a bifurcation 312, and the fingerprint image 320 has an end point 321 and a bifurcation 322. Features in the fingerprint image 310 can be paired to features in the fingerprint image 320. For example, the end point 311 and the end point 321 are paired with each other, and the bifurcation 312 and the bifurcation 322 are paired with each other. After the features are paired, the fingerprint images 310, 320 can be combined into a fingerprint image 330. However, if there are not enough features in the fingerprint images 310, 320 or the paired features are not enough, it means that the fingerprint images 310, 320 cannot be merged together. However, the above merged method is merely an example, and the present invention does not limit the selection of those features from the fingerprint image, nor how to combine the two fingerprint images (slices).
在此實施例中,在同一個層級中只有兩個完整片段可以彼此合併,同一個層級中不完整的片段並不會彼此合併;當合併是跨層級時,則較低層級的片段必須要是完整的。以下將配合圖4詳細說明,圖4是根據一實施例繪示更 新層次結構的流程圖,圖4中的各步驟是由計算電路120所執行。請參照圖4,在步驟S401中,從指紋感測器110取得新指紋影像,並將新指紋影像設定為傳入片段。在步驟S402中,設定第L個層級為最低層級,L為正整數,在此實施例中是將L設定為1。在步驟S403中,將傳入片段加入至第L個層級。請同時參照圖4與圖5,片段510為傳入片段,層級中的圓形表示為完整片段,而正方形表示為不完整片段。上述的正整數M是大於2。當傳入片段510為新指紋影像時,層級210(L)為層級210(1),且層級210(1)中的所有片段都是完整的,但為了更一般化的表示合併的流程,在圖5中是使用層級210(L),且層級210(L)中具有不完整片段。 In this embodiment, only two complete segments in the same hierarchy can be merged with each other, and incomplete segments in the same hierarchy are not merged with each other; when the merge is a cross-level, the lower-level segments must be complete. of. The following is a detailed description of FIG. 4, which is a flow chart showing an update hierarchy in accordance with an embodiment, the steps of FIG. 4 being performed by computing circuit 120. Referring to FIG. 4, in step S401, a new fingerprint image is acquired from the fingerprint sensor 110, and the new fingerprint image is set as an incoming segment. In step S402, the Lth hierarchical level is set to the lowest hierarchical level, and L is a positive integer. In this embodiment, L is set to 1. In step S403, the incoming segment is added to the Lth level. Referring to FIG. 4 and FIG. 5 simultaneously, the segment 510 is an incoming segment, the circle in the hierarchy is represented as a complete segment, and the square is represented as an incomplete segment. The above positive integer M is greater than 2. When the incoming segment 510 is a new fingerprint image, the level 210 (L) is the level 210 (1), and all the segments in the level 210 (1) are complete, but for a more general representation of the merge process, In Figure 5, the level 210 (L) is used, and the level 210 (L) has incomplete segments.
在步驟S404中,嘗試將傳入片段510合併至在第L+1個層級中的一個不完整片段以產生第一片段。例如,可嘗試將傳入片段510合併至層級210(L+1)中的不完整片段520。在一些實施例中,若在層級210(L+1)中有多於一個不完整片段,則可先挑選較舊(即停留在層級210(L+1)較久的時間)的不完整片段來合併。若將傳入片段510合併至不完整片段520的步驟成功,則會產生新的片段(在此稱第一片段530)。 In step S404, an attempt is made to merge the incoming segment 510 into one of the L+1th levels to generate the first segment. For example, an attempt can be made to merge the incoming segment 510 into the incomplete segment 520 in level 210 (L+1). In some embodiments, if there is more than one incomplete segment in level 210 (L+1), then an incomplete segment that is older (ie, staying at level 210 (L+1) for a longer time) may be selected first. Come to merge. If the step of merging the incoming segment 510 into the incomplete segment 520 is successful, a new segment (referred to herein as the first segment 530) is generated.
若步驟S404成功,接下來在步驟S405中,判斷第一片段530是否為不完整。如果第一片段530為不完整,搜尋在第L個層級中的完整片段以合併至第一片段530。舉例來說,請參照圖6,由於第一片段530為不完整,因此可嘗試將片段610、620都合併至第一片段530。在此 實施例中,層級210(L)中有兩個完整片段610、620,因此可先挑選較舊的片段610來合併至第一片段530。步驟S405會一直重複執行,直到第一片段530為完整或者是層級210(L)中沒有完整片段為止。值得一提的是,雖然層級210(L)中有片段630,但由於片段630並不完整,因此並不會嘗試將片段630合併至第一片段530。片段630會交由層級210(L-1)來負責,當處理層級210(L-1)時片段630有可能轉變為完整。 If step S404 is successful, then in step S405, it is determined whether the first segment 530 is incomplete. If the first segment 530 is incomplete, the complete segment in the Lth hierarchy is searched for merging into the first segment 530. For example, referring to FIG. 6, since the first segment 530 is incomplete, it may be attempted to merge the segments 610, 620 into the first segment 530. In this embodiment, there are two complete segments 610, 620 in level 210 (L), so older segments 610 can be picked first to merge into first segment 530. Step S405 will be repeated until the first segment 530 is complete or there is no complete segment in the hierarchy 210 (L). It is worth mentioning that although the segment 210 (L) has a segment 630, since the segment 630 is not complete, it does not attempt to merge the segment 630 into the first segment 530. Fragment 630 is responsible for hierarchy 210 (L-1), which may transition to integrity when processing level 210 (L-1).
在圖5與圖6的例子中,正整數M是大於2。當正整數M等於2時,則層級210(L+1)中並不會有不完整片段(理由會說明如下),因此步驟S404必然會失敗,且步驟S405並不會執行。 In the examples of FIGS. 5 and 6, the positive integer M is greater than two. When the positive integer M is equal to 2, there is no incomplete segment in the hierarchy 210 (L+1) (the reason will be explained as follows), so the step S404 will inevitably fail, and the step S405 will not be executed.
另一方面,若步驟S404不成功,在步驟S406中會嘗試將傳入片段合併至在第L個層級中的完整片段以在第L+1個層級中產生第二片段。舉例來說,請參照圖4與圖7,可嘗試將傳入片段510合併至同一個層級210(L)中的完整片段710以在層級210(L+1)中產生第二片段720。在此實施例中正整數M是大於2,因此第二片段720應是不完整。此外,如果層級210(L)中除了傳入片段510以外有多於一個完整片段710、730,則可先選擇較舊的完整片段710來嘗試合併。如果傳入片段510無法與片段710合併,則會再嘗試合併傳入片段510與片段730。 On the other hand, if step S404 is unsuccessful, an attempt is made in step S406 to merge the incoming segments into the complete segment in the Lth hierarchy to produce the second segment in the L+1th hierarchy. For example, referring to Figures 4 and 7, an attempt can be made to merge the incoming segment 510 into a complete segment 710 in the same level 210 (L) to produce a second segment 720 in level 210 (L + 1). The positive integer M is greater than 2 in this embodiment, so the second segment 720 should be incomplete. Moreover, if there are more than one complete segment 710, 730 in the hierarchy 210 (L) in addition to the incoming segment 510, the older complete segment 710 may be selected first to attempt the merge. If the incoming segment 510 cannot be merged with the segment 710, then the attempt to merge the incoming segment 510 with the segment 730 is again attempted.
如果步驟S406成功,則在步驟S407中會判斷第二片段720是否為不完整,如果第二片段720為不完整, 可搜尋在第L個層級中的完整片段以合併至第二片段720。例如,請參照圖4與圖8,由於第二片段720為不完整,因此可在層級210(L)中搜尋到完整片段730以合併至第二片段720。如果片段730不能合併至第二片段720,則維持第二片段720不變。 If step S406 is successful, it is determined in step S407 whether the second segment 720 is incomplete, and if the second segment 720 is incomplete, the complete segment in the Lth hierarchy may be searched for merge to the second segment 720. For example, referring to FIG. 4 and FIG. 8, since the second segment 720 is incomplete, the complete segment 730 can be found in the hierarchy 210 (L) to be merged into the second segment 720. If the segment 730 cannot be merged into the second segment 720, the second segment 720 is maintained unchanged.
值得一提的是,在圖7與圖8的實施例中正整數M為大於2,但如果正整數M為2則所建立的片段都是完整的。例如,請參照圖9,將傳入片段510與片段710合併之後所產生的第二片段720是完整的。更進一步來說,如果正整數M為2,則所有層級中的所有片段都會是完整的。 It is worth mentioning that in the embodiment of Figures 7 and 8, the positive integer M is greater than 2, but if the positive integer M is 2, the segments created are complete. For example, referring to FIG. 9, the second segment 720 generated after combining the incoming segment 510 with the segment 710 is complete. Furthermore, if the positive integer M is 2, all fragments in all levels will be complete.
請參照回圖4,在步驟S405或步驟S407之後會進行步驟S408,判斷是否有片段從不完整改變為完整。在此實施例中,便是判斷圖6中更新後的第一片段530或圖8中新建立的第二片段720是否為完整。如果有一個第三片段(第一片段530或第二片段720)從不完整改變為完整,在步驟S409中,設定L=L+1,並且將第三片段當作傳入片段。接下來根據更新後的傳入片段重複執行步驟S404。以另外一個角度來說,如果步驟S408的結果為是,這表示在第L+1個層級中新產生了一個完整片段,因此有可能這個新的完整片段可以繼續合併至下一層級。如果步驟S408的結果為否,則表示即使在第L+1個層級中新產生了一個片段,但因為這個新的片段為不完整,因此這個新的片段不可能會合併至下一層級,不需要執行步驟S409。 Referring back to FIG. 4, after step S405 or step S407, step S408 is performed to determine whether a segment has changed from incomplete to complete. In this embodiment, it is determined whether the updated first segment 530 in FIG. 6 or the newly created second segment 720 in FIG. 8 is complete. If there is a third segment (the first segment 530 or the second segment 720) is changed from incomplete to complete, in step S409, L = L + 1 is set, and the third segment is treated as an incoming segment. Next, step S404 is repeatedly performed according to the updated incoming fragment. On the other hand, if the result of step S408 is YES, this means that a complete segment is newly generated in the L+1th level, so it is possible that this new complete segment can continue to be merged to the next level. If the result of step S408 is no, it means that even if a new segment is generated in the L+1th level, since the new segment is incomplete, the new segment cannot be merged to the next level, Step S409 needs to be performed.
另一方面,當正整數M為2時並不會執行步驟 S405,而在步驟S406所建立的第二片段必定是完整,因此步驟S408的結果必定為是。 On the other hand, when the positive integer M is 2, step S405 is not performed, and the second segment created at step S406 is necessarily complete, so the result of step S408 is necessarily YES.
如果步驟S406的結果是失敗或者步驟S408的結果為否,則進行步驟S410,判斷是否輸出註冊用指紋影像。請參照回圖2,在一些實施例中可以先從最高層級210(N)中找到一個最大片段,此最大片段可以是面積最大的指紋影像或者是合併最多張單一指紋影像的指紋影像。在取得最大片段以後,可嘗試將層次結構200中所有的片段都合併至此最大片段。接下來,判斷最大片段所包含的指紋影像的數目是否大於一個預設值(例如8)。若最大片段所包含的指紋影像的數目大於預設值,則步驟S410的結果為是,在步驟S411中可以將最大片段輸出以作為註冊用指紋影像。然而,本發明並不在此限,在其他的實施例中,在嘗試將層次結構200中所有的片段都合併至最大片段以後,也可以判斷最大片段的面積是否大於一預設面積或者判斷最大片段的特徵的數目是否大於一個預設數目以判斷是否要輸出註冊用指紋影像。或者,如果指紋感測器110已經取得多於一預設數目的指紋影像,則步驟S410中也可以判斷為是。本發明並不限制步驟S410的具體內容。 If the result of step S406 is a failure or the result of step S408 is NO, then step S410 is performed to determine whether to output the registration fingerprint image. Referring back to FIG. 2, in some embodiments, a maximum segment may be found from the highest level 210 (N), which may be the largest fingerprint image or the fingerprint image that combines the most single fingerprint images. After taking the largest segment, try to merge all the segments in hierarchy 200 into this largest segment. Next, it is determined whether the number of fingerprint images included in the largest segment is greater than a preset value (for example, 8). If the number of fingerprint images included in the largest segment is greater than the preset value, the result of step S410 is YES, and the largest segment may be output as the fingerprint image for registration in step S411. However, the present invention is not limited thereto. In other embodiments, after attempting to merge all the segments in the hierarchy 200 into the largest segment, it may also be determined whether the area of the largest segment is greater than a predetermined area or the maximum segment is determined. Whether the number of features is greater than a preset number to determine whether or not to output a fingerprint image for registration. Alternatively, if the fingerprint sensor 110 has obtained more than a predetermined number of fingerprint images, it may be determined to be YES in step S410. The present invention does not limit the specific content of step S410.
如果步驟S410的結果為否,在步驟S412中計算電路120則會暫停,等待下一張新指紋影像進來(步驟S401)。 If the result of step S410 is NO, the calculation circuit 120 is suspended in step S412, waiting for the next new fingerprint image to come in (step S401).
圖10是根據一實施例繪示指紋影像的合併方法的流程圖。請參照圖10,在步驟S1001中,建立層次結 構。此層次結構包括多於2個層級,其中最低層級中的每一個片段是透過指紋感測器所產生的單一指紋影像。當第二層級高於第一層級一個層級時,第二層級中的一片段包含了最多M張在第一層級中的片段。在步驟S1002中,取得新指紋影像,將新指紋影像加入至最低層級中,並更新層次結構。在步驟S1003中,根據最高層級中的片段輸出註冊用指紋影像。然而,圖10中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖10中各步驟可以實作為多個程式碼或是電路,本發明並不在此限。此外,圖10的方法可以搭配以上實施例使用,也可以單獨使用。換言之,圖10的各步驟之間也可以加入其他的步驟。或者,圖10中各步驟也可以重複執行多次(例如步驟S1002)。 FIG. 10 is a flow chart showing a method of merging fingerprint images according to an embodiment. Referring to Fig. 10, in step S1001, a hierarchical structure is established. This hierarchy includes more than 2 levels, with each of the lowest levels being a single fingerprint image produced by the fingerprint sensor. When the second level is higher than the first level and one level, a segment in the second level contains a maximum of M pieces in the first level. In step S1002, a new fingerprint image is acquired, a new fingerprint image is added to the lowest level, and the hierarchical structure is updated. In step S1003, the registration fingerprint image is output based on the segment in the highest hierarchy. However, the steps in FIG. 10 have been described in detail above, and will not be described again here. It should be noted that the steps in FIG. 10 can be implemented as multiple codes or circuits, and the present invention is not limited thereto. In addition, the method of FIG. 10 can be used in conjunction with the above embodiments, or can be used alone. In other words, other steps can be added between the steps of FIG. Alternatively, the steps in FIG. 10 may be repeatedly performed a plurality of times (for example, step S1002).
在本發明實施例提出的合併方法中,並不會發生錯誤傳遞的現象,即使有產生錯誤,錯誤的分佈也比較均勻。此外,使用上述方法所產生的註冊用指紋影像可以增加後續辨識階段的正確率。 In the merging method proposed by the embodiment of the present invention, the phenomenon of erroneous transmission does not occur, and even if an error occurs, the distribution of errors is relatively uniform. In addition, the registration fingerprint image generated by the above method can increase the accuracy of the subsequent identification stage.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW106109387A TWI630560B (en) | 2017-03-21 | 2017-03-21 | Method and electrical device for merging fingerprint images |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW106109387A TWI630560B (en) | 2017-03-21 | 2017-03-21 | Method and electrical device for merging fingerprint images |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI630560B TWI630560B (en) | 2018-07-21 |
| TW201835813A true TW201835813A (en) | 2018-10-01 |
Family
ID=63640749
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW106109387A TWI630560B (en) | 2017-03-21 | 2017-03-21 | Method and electrical device for merging fingerprint images |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI630560B (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9043292B2 (en) * | 2011-06-14 | 2015-05-26 | Netapp, Inc. | Hierarchical identification and mapping of duplicate data in a storage system |
| TWI488130B (en) * | 2012-09-07 | 2015-06-11 | Egis Technology Inc | Fingerprint identification and verification system and method thereof |
| CN204256751U (en) * | 2014-10-16 | 2015-04-08 | 茂丞科技股份有限公司 | Sliding fingerprint image processing device |
-
2017
- 2017-03-21 TW TW106109387A patent/TWI630560B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| TWI630560B (en) | 2018-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6511149B2 (en) | Method of calculating area of fingerprint overlap area, electronic device for performing the same, computer program, and recording medium | |
| US9471765B1 (en) | Fingerprint authentication with template updating | |
| JP5810581B2 (en) | Biological information processing apparatus, biological information processing method, and biological information processing program | |
| US9576126B2 (en) | Updating a template for a biometric recognition device | |
| CN105760738B (en) | A fingerprint unlocking method and terminal | |
| AU2014315423B2 (en) | Use of a biometric image in online commerce | |
| CN105981045A (en) | Fingerprint authentication using touch sensor data | |
| WO2021258699A1 (en) | Image identification method and apparatus, and electronic device and computer-readable medium | |
| CN103488481A (en) | Application program control method, terminal equipment and remote control system | |
| US10748025B2 (en) | Method, apparatus, and non-transitory computer-readable storage medium for verification process | |
| CN106934389A (en) | A kind of fingerprint identification method and mobile terminal | |
| US11144625B2 (en) | Fingerprint authentication method and system for rejecting spoof attempts | |
| TWI630560B (en) | Method and electrical device for merging fingerprint images | |
| JPWO2013145249A1 (en) | Biometric authentication device, biometric authentication method, and biometric authentication program | |
| CN107077617B (en) | Fingerprint extraction method and device | |
| US10268869B2 (en) | Method and electrical device for merging fingerprint images | |
| CN108665409B (en) | Fingerprint image merging method and electronic device | |
| US11366887B2 (en) | Biometric authentication | |
| US20190163951A1 (en) | Fingerprint authentication method and electronic device | |
| CN103927351B (en) | Fingerprint retrieval method and system based on attitude updating | |
| WO2019062067A1 (en) | User interface unit test method and apparatus, readable storage medium and device | |
| WO2018164630A1 (en) | Methods for enrolling a user and for authentication of a user of an electronic device | |
| TWI850079B (en) | Registering method of a biometric and biometric sensing device | |
| JP7534783B2 (en) | Method and program | |
| WO2018137286A1 (en) | Fingerprint verification method and electronic device |