Image processing method and image processing system
10262185 ยท 2019-04-16
Assignee
Inventors
Cpc classification
G06V10/50
PHYSICS
G06V10/36
PHYSICS
International classification
Abstract
An image processing method includes obtaining a sensed image, wherein the sensed image comprises a pattern; dividing the sensed image into a plurality of blocks; calculating a direction field according to the pattern in each of the blocks; calculating a similarity degree between the direction field of a first block and the direction fields of adjacent blocks of the first block; and classifying the first block into a first part according to the similarity degree of the first block.
Claims
1. An image processing method, comprising: obtaining a sensed image, wherein the sensed image comprises a pattern; dividing the sensed image into a plurality of blocks; calculating a direction field according to the pattern in each of the blocks; calculating a similarity degree between the direction field of a first block and the direction fields of adjacent blocks of the first block, wherein the similarity degree of the first block is an average difference between the direction field of said first block and the direction field of each of the adjacent blocks; and classifying the first block into a first group according to the similarity degree of the first block when the similarity degree of the first block is lower than a first threshold.
2. The image processing method according to claim 1, wherein the pattern comprised in each of the blocks corresponds to at least one ridge or at least one valley of a fingerprint.
3. The image processing method according to claim 1, wherein the direction field of each of the blocks is calculated according to a grayscale image of each of the blocks.
4. The image processing method according to claim 1, wherein the direction field of the first block is compared with direction fields of eight adjacent blocks in a 33 matrix with the first block as a center to obtain the similarity degrees between the first block and the adjacent blocks.
5. The image processing method according to claim 1, wherein the first block is classified into a second group according to the similarity degree of the first block when the similarity degree of the first block is greater than or equal to the first threshold.
6. The image processing method according to claim 1, further comprising: calculating similarity degrees for each of adjacent blocks of the first block; classifying each of the adjacent blocks into the first group and a second group based on the similarity degrees of each of the adjacent blocks; calculating a ratio between a number of the adjacent blocks in the first group and a number of the adjacent blocks in the second group; and filtering out the first block when the ratio is below a second threshold.
7. The image processing method according to claim 1, further comprising: calculating similarity degrees for each of adjacent blocks of the first block; classifying each of the adjacent blocks into the first group and a second group based on the similarity degrees of each of the adjacent blocks; calculating a ratio between a number of the adjacent blocks in the first group and a number of the adjacent blocks in the second group; and reserving the first block when the ratio is greater than or equal to a second threshold.
8. The image processing method according to claim 1, further comprising: capturing a fingerprint feature based on the direction field of each of the blocks.
9. The image processing method according to claim 1, further comprising: determining whether a fingerprint exists in the sensed image, and starting fingerprint identification if the fingerprint exists.
10. An image processing system, comprising: a sensing unit, for receiving a sensed image, wherein the sensed image comprises a pattern; and a processor, for performing the following actions: dividing the sensed image into a plurality of blocks; calculating a direction field according to the pattern in each of the blocks; calculating a similarity degree between the direction field of a first block and the direction fields in adjacent blocks of the first block, wherein the similarity degree of the first block is an average difference between the similarity degree of the first block and the similarity degree of each of the adjacent blocks; and classifying the first block into a first group according to the similarity degree of the first block.
11. An image processing method, comprising: obtaining a sensed image, wherein the sensed image comprises a pattern; dividing the sensed image into a plurality of blocks; calculating a direction field according to the pattern in each of the blocks; calculating a similarity degree between the direction field of a first block and the direction fields of adjacent blocks of the first block, wherein the similarity degree of the first block is an average difference between the direction field of said first block and the direction field of each of the adjacent blocks; classifying the first block into a first group according to the similarity degree of the first block when the similarity degree of the first block is lower than a first threshold; calculating similarity degrees for each of adjacent blocks of the first block; classifying each of the adjacent blocks into the first group and a second group based on the similarity degrees of each of the adjacent blocks; calculating a ratio between a number of the adjacent blocks in the first group and a number of the adjacent blocks in the second group; and filtering out the first block when the ratio is below a second threshold.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) Detailed descriptions are provided below by using embodiments with reference to accompanying drawings, but the described specific embodiments are merely used to explain the present invention rather than limit the present invention. Moreover, the descriptions on the structure and operation are not used to limit execution sequences thereof, and any apparatus generated from a structure reconstituted by components and having an equivalent effect falls within the scope covered by the disclosure of the present invention. In addition, the accompanying drawings are merely used for illustrative description and are not drawn according to real sizes thereof.
(12) Please refer to
(13)
(14) Please refer to
(15) Because noise may include stripes or lines similar to a fingerprint, and if the noise is not filtered out in advance, the noise may be mistakenly judged as a part of a target fingerprint. Pre-processing steps before filtering out the noise disclosed in the present disclosure may include processes such as image division, vector field calculation, similarity degree determination, and/or classification. The process of filtering out the noise is further described below.
(16)
(17) After the image is divided into a plurality of blocks, the processor 140 may further calculate a vector field of an image part included by each block. The vector field is calculated by the processor by using an algorithm. Please refer to
(18) In an embodiment of the present disclosure, the processor 140 further analyzes a similarity degree (consistency) between a vector field of each block and a vector field of an adjacent block thereof. Generally, the fingerprint part has a high similarity degree, while the knuckle print, palm print, or other noise has a low similarity degree. In this embodiment, the system may perform further image processing according to a similarity degree between each block and an adjacent block, so as to determine that each block should belong to the fingerprint or noise. A determining standard for the similarity degree is described by using
(19)
(20) For example, the number of adjacent blocks may be one or more blocks adjacent to a to-be-determined block or all blocks within a preset distance from the to-be-determined block. In this embodiment, eight surrounding blocks in a matrix with a block as a center are used as adjacent blocks of the block. In addition, a preset threshold may, for example, be set as, but not limited to, 30, and according to different actual demands, the threshold may be properly adjusted or set. It should be noted that, in this example, the threshold is set according to the average value of angle differences of direction fields, but in terms of application, the similarity degree may be converted into a numeral, and the threshold of the similarity degree may be set according to the numeral.
(21) Comparison angles of direction fields of respective blocks of the fingerprint image in
(22) TABLE-US-00001 TABLE 1 Y5 30 40 35 45 45 Y4 45 40 45 40 45 Y3 30 30 35 40 45 Y2 45 35 30 30 35 Y1 45 45 35 35 40 X1 X2 X3 X4 X5
(23) A block of coordinates (X3, Y3) in
(0+5+5+10+5+5+5+5)/8=5
(24) Because the average angle difference 5 is lower than the preset threshold 30, the system determines that the to-be-determined block of coordinates (X3, Y3) is a block having a high similarity degree.
(25) Comparison angles of direction fields of respective blocks of the knuckle print image in
(26) TABLE-US-00002 TABLE 2 Y5 10 0 45 10 0 Y4 10 40 10 0 25 Y3 40 0 90 40 20 Y2 45 110 30 30 20 Y1 10 90 10 10 30 X1 X2 X3 X4 X5
(27) A block of coordinates (X3, Y3) in
(20+90+50+80+90+50+60+60)/8=62.5
(28) Because the average angle difference 62.5 is higher than the preset threshold 30, the system determines that the to-be-determined block of coordinates (X3, Y3) is a block having a low similarity degree.
(29) In an implementation manner of the present disclosure, the processor 140 may classify or mark a block/blocks, having an average angle difference greater than or equal to the threshold (a low similarity degree), as a separate part. And alternatively the processor 140 may also classify or mark a block/blocks, having an average angle difference lower than the threshold (a high similarity degree), as a separate part. Please refer to
(30) TABLE-US-00003 TABLE 3 Y5 13.3 23 32 18 11.6 Y4 16 28 25.6 30 17 Y3 29 46.8 62.5 24.4 11 Y2 39 73 35 16 10 Y1 71.6 57 44 18 10 X1 X2 X3 X4 X5
(31)
(32) After the first part and second part of the image are distinguished, the processor 140 may further determine proportions of the first part and second part covered by adjacent blocks of each block. The adjacent blocks may be a plurality of blocks adjacent to a to-be-determined block or all blocks within a preset distance from the to-be-determined block. When in the adjacent blocks of the to-be-determined block, the number of blocks belonging to the first part is half of the total number of the adjacent blocks or the number of blocks belonging to the first part is greater than the number of blocks belonging to the second part (that is, when the number of blocks having a low similarity degree is greater than or equal to the number of blocks having a high similarity degree), the to-be-determined block is filtered out, and otherwise, the to-be-determined block is reserved.
(33) In this embodiment, eight surrounding blocks in a matrix with a to-be-determined block as a center are used as adjacent blocks of the to-be-determined block. For example, a block of coordinates (X4, Y4) in
(34) Further, a block of coordinates (X2, Y3) in
(35) In this embodiment, if a to-be-determined block is located on a boundary of the image, for example, the block of coordinates (X1, Y3) in
(36) The processor 140 sequentially performs a reserving or filtering-out action on respective blocks according to the foregoing rules. The captured finger image 200 in
(37)
(38) The images that are processed by actually applying the disclosed content of the present disclosure may, for example, be the images of
(39) Please refer to
(40) In an implementation manner of the present disclosure, a fingerprint identification system may calculate a direction field and a similarity degree of each block in the image as reference bases for capturing fingerprint features. Fingerprint feature points, such as a line end, a divergent line, and a short line, in the fingerprint image may be determined according to the direction field and similarity degree.
(41) In an implementation manner of the present disclosure, the fingerprint identification system may determine whether an original image includes a fingerprint image according to the image after the image processing. If the system determined that the original image includes a fingerprint image, an identification procedure is further started, and otherwise, it is not started. This mechanism would avoid a misoperation caused by a mistaken touch, a water droplet, or dust, and effectively produce an energy saving effect.
(42) In another implementation manner of the present disclosure, the fingerprint identification system may further distinguish between a fingerprint part and a background part according to the foregoing image processing method. Because a fingerprint boundary may include a false feature point such as a broken line, determining the boundary of the fingerprint by distinguishing between the fingerprint part and the background part and further filtering out a boundary feature point can effectively avoid a situation that a false feature point on the boundary causes a misjudgment, thereby improving an identification rate.
(43) To follow the foregoing implementation manner, the fingerprint identification system may further find out a singular point of the fingerprint, for example, a core and a delta. Because the core is a curved region at the center of the fingerprint and has a low degree of similarity to a surrounding block, a location of the core and the number of cores can be determined. Moreover, according to the numbers of cores and deltas, the fingerprints may be classified into fingerprint types such as an arch type, a tented arch type, a left loop type, a right loop type, and a whorl type. Therefore, the technology disclosed in the present disclosure may provide references for fingerprint types.
(44) Although embodiments of the present invention are disclosed as above, they are not intended to limit the present invention. Any person skilled in the art may make some variations or modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.