CN102629318B - Fingerprint image segmentation method based on support vector machine - Google Patents

Fingerprint image segmentation method based on support vector machine Download PDF

Info

Publication number
CN102629318B
CN102629318B CN 201210077976 CN201210077976A CN102629318B CN 102629318 B CN102629318 B CN 102629318B CN 201210077976 CN201210077976 CN 201210077976 CN 201210077976 A CN201210077976 A CN 201210077976A CN 102629318 B CN102629318 B CN 102629318B
Authority
CN
China
Prior art keywords
image
gabor
piece
fingerprint
sigma
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
CN 201210077976
Other languages
Chinese (zh)
Other versions
CN102629318A (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.)
CETC 58 Research Institute
Original Assignee
CETC 58 Research Institute
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 CETC 58 Research Institute filed Critical CETC 58 Research Institute
Priority to CN 201210077976 priority Critical patent/CN102629318B/en
Publication of CN102629318A publication Critical patent/CN102629318A/en
Application granted granted Critical
Publication of CN102629318B publication Critical patent/CN102629318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a fingerprint image segmentation method based on a support vector machine (SVM), which comprises the following steps: firstly, carrying out primary coarse segmentation on a fingerprint image by utilizing gradient features and removing most of background regions; then extracting the contrast ratio, the direction consistency, the Gabor filter variance deviation and other features of a fingerprint foreground region based on coarse segmentation and dividing the foreground region obtained by the coarse segmentation into an effective foreground region and an invalid foreground region by utilizing the support vector machine; and finally, carrying out morphological post-processing on the segmentation results. The fingerprint image segmentation method has the advantages that not only can the background regions with high noise be segmented, but also fuzzy regions with bad quality and unrecoverable textures can be separated from one another at the same time, so that the post-processing is only required to be carried out aiming at the effective background region to provide a favorable help for subsequent fingerprint quality evaluation and fingerprint pre-processing; and the segmentation accuracy is higher, and the adaptability is stronger.

Description

A kind of fingerprint image dividing method based on support vector machine
Technical field
The present invention relates to a kind of fingerprint image dividing method based on support vector machine, belong to the fingerprint identification technology field.
Background technology
Fingerprint because it has uniqueness, permanent and stable, makes fingerprint recognition more and more become the biological identification technology of the main flow of current identification application as the key character of human body.It is the important component part of fingerprint recognition system that fingerprint image is cut apart.The fingerprint dividing processing can make subsequent treatment concentrate on effective preceding scenic spot to carry out, thereby reduces calculated amount effectively, reduces the time of fingerprint image preprocessing, can also improve the degree of accuracy of feature extraction simultaneously, reduces the fingerprint storage space.
At present, how to cut apart the research emphasis that the inferior quality fingerprint image is automatic fingerprint recognition field.Such as in the actual acquisition process, because the influence of collection head surface, light and collecting device itself, contain a large amount of noises in the feasible image background that collects, these noises make that the gray-scale statistical characteristics of the background area in the fingerprint image is similar to finger-print region, be divided into prospect mistakenly easily, to cause in characteristic extraction procedure, extracting a lot of false minutiae point, reduce discrimination.And because the influence of factors such as the dynamics of pressing of the clean level of fingerprint skin, fingerprint, noise, make some real textured region poor quality, be difficult in subsequent treatment recover clearly that lines comes.If irrecoverable zone is excessive in the true lines of fingerprint, this fingerprint should be gathered again.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of fingerprint image dividing method of the classification based on support vector machine (SVM) is provided, can not only be partitioned into the strong noise background area in the fingerprint image, simultaneously can remove the irrecoverable zone of lines in the true finger-print region, for follow-up fingerprint quality evaluation and fingerprint pre-service provide favourable help.
According to technical scheme provided by the invention, described fingerprint image dividing method based on support vector machine comprises following steps:
Step 1, with fingerprint image be divided into non-overlapping copies, size is 3 * 3 fritter, as the internal layer piece of cutting apart, uses W In(i, j) fritter of the capable j row of expression i;
Step 2, utilize the gradient feature of image, fingerprint image is carried out coarse segmentation, obtain coarse segmentation image mask, concrete steps are as follows:
2.1, the edge pixel of mark ridge, paddy: (x is y) along x direction of principal axis and the axial gradient vector G of y for pixel I in the calculated fingerprint image x(x, y) and G y(x, y), if | G x(x, y) | 〉=G ThreAnd | G y(x, y) | 〉=G Thre, then P (x y)=1, represents that this pixel is the edge pixel of ridge, paddy, otherwise P (x, y)=0, wherein, G ThreBe Grads threshold;
2.2, judge that according to the degree of rarefication of edge pixel each fritter in the image is foreground blocks or background piece: getting a size is b * b, geometric center and W In(the outer piece as cutting apart is designated as W for i, the j) image block of geometric center coincidence Out_1(i, j); Statistical picture piece W Out_1(i, the j) number of middle edge pixel is as internal layer piece W In(i, j) degree of rarefication of middle edge pixel
N W in ( i , j ) = Σ ( x , y ) ∈ W out _ 1 ( i , j ) P ( x , y ) - - - ( 1 )
If Then this image block is foreground blocks,
Figure BDA0000145834960000023
Otherwise this image block is the background piece,
Figure BDA0000145834960000024
N ThreBe the degree of rarefication threshold value;
Step 3, coarse segmentation image mask is carried out aftertreatment, obtain preliminary segmentation result, concrete steps are as follows:
3.1, for each foreground blocks
Figure BDA0000145834960000025
If the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece
Figure BDA0000145834960000026
3.2, for each background piece
Figure BDA0000145834960000027
If the number of foreground blocks is more than or equal to 4 in its eight neighborhood, then this background piece is labeled as foreground blocks
Figure BDA0000145834960000028
3.3, repeated execution of steps 3.2, until there not being the background piece to be marked as foreground blocks;
Step 4, on the basis of coarse segmentation image mask, if
Figure BDA0000145834960000029
Extract its contrast, direction consistance, Gabor filtering variance deviation, utilize support vector machine to classify, cut the result thereby obtain segmentation.
If 4.1
Figure BDA00001458349600000210
Getting a size is c * c, geometric center and W In(i, j) the outer piece W of the image of geometric center coincidence Out_2(i j), extracts W Out_2(i, contrast j), direction consistance, Gabor filtering variance deviation are as internal layer piece W In(i, feature j) specifically comprises:
A) calculate contrast con (i, j):
m ( i , j ) = s ( i , j ) n ( i , j ) - - - ( 2 )
d ( i , j ) = s 1 ( i , j ) n 1 ( i , j ) - s 2 ( i , j ) n 2 ( i , j ) - - - ( 3 )
con ( i , j ) = d ( i , j ) m ( i , j ) - - - ( 4 )
Wherein, n (i, j) and s (i j) is W in the image block Out_2(i, j) number of all pixels and gray-scale value addition and, n 1(i, j) and s 1(i j) is image block W Out_2(i, j) in all gray-scale values greater than m (i, the number of pixel j) and gray-scale value addition and, n 2(i, j) and s 2(i j) is image block W Out_2(i, j) in all gray-scale values less than m (i, the number of pixel j) and gray-scale value addition and;
B) calculated direction consistance coh (i, j):
coh ( i , j ) = ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) ) 2 + ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( 2 · G x ( x , y ) · G y ( x , y ) ) ) 2 ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) + G y 2 ( x , y ) ) ) 2 - - - ( 5 )
C) calculate Gabor filtering feature variance deviation:
Employing has the two-dimentional even Gabor wave filter of directional selectivity and frequency selectivity, and expression formula is as follows
h ( x , y , φ , f ) = exp { - 1 2 ( x φ 2 δ x 2 + y φ 2 δ y 2 ) } cos ( 2 πf x φ ) - - - ( 6 )
Wherein, x φ=xcos φ+ysin φ, y φ=-xsin φ+ycos φ, φ are the direction of Gabor wave filter, and f is the filter center frequency, are made as the average frequency value of fingerprint ridge line here; δ xAnd δ yBe respectively along the Gaussian envelope constant of x axle and y axle, these two parameters are all got 0.4; To image block W Out_2(i, j) carry out the Gabor filtering of both direction:
I W out _ 2 ( i , j ) ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 7 )
I W out _ 2 ( i , j ) ′ ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) + π 2 , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 8 )
Wherein, R represents the radius of wave filter, and (i j) is image block W to θ Out_2(i, texture principal direction j),
Figure BDA0000145834960000034
Be image block W Out_2(i, time direction of texture j), θ (i, computing formula j) is as follows:
θ ( i , j ) = 1 2 tan - 1 Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x ( x , y ) · G y ( x , y ) ) - - - ( 9 )
Gabor filtering variance deviation Gabor_dif (i, j):
Gabor _ 1 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ( x , y ) - m 1 ( i , j ) ) 2 - - - ( 10 )
Gabor _ 2 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ′ ( x , y ) - m 2 ( i , j ) ) 2 - - - ( 11 )
Gabor_dif(i,j)=|Gabor_1-Gabor_2| (12)
Wherein, num is the number of pixels in the image block, m 1(i, j) and m 2(i j) is respectively the pixel average of image block after the filtering of texture primary and secondary both direction;
Obtain the proper vector of image subblock thus, consider the difference between the different fingerprint images in the same fingerprint base, proper vector is carried out normalized;
4.2, the structure training sample, training SVM: the fingerprint image that will be used for training at first carries out coarse segmentation, the proper vector of foreground area among the computed segmentation result, and hand picking goes out partial noise zone and the irrecoverable zone of lines then, as the inactive area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,-1]; Pick out clear of part fingerprint lines and marked, as effective foreground area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,+1]; Utilize training sample that SVM is trained, obtain final SVM model;
4.3, revise the mask image with the SVM that trains: to each image block, if
Figure BDA0000145834960000038
Then calculate its contrast, direction consistance and Gabor filtering variance deviation, obtain proper vector, the SVM that input trains; The output of the correspondence of SVM if+1, then declaring this piece is effective foreground area,
Figure BDA0000145834960000041
If-1, then declare the invalid foreground area of this piece,
Figure BDA0000145834960000042
Result after step 5, employing morphological method are cut segmentation carries out aftertreatment.
Further, described step 2 ectomesoderm block size b=32, Grads threshold G Thre=8, degree of rarefication threshold value N Thre=200.
Further, extract the outer block size c=16 of feature in the described step 4, the kernel function of SVM is selected the radially basic kernel function of Gauss.
Described step 5 adopts morphological method to carry out aftertreatment, owing to be subjected to noise effect, discrete foreground blocks and background piece can occur in the segmentation result; For each foreground blocks, if the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece; For each background piece, if the number of background piece is less than 4 in its eight neighborhood, then this piece is labeled as foreground blocks.
Beneficial effect of the present invention: 1) can remove a large amount of low noises background area rapidly and accurately.Though it is bigger that the background area, also has some some Grad owing to The noise, yet the distribution of these pixels is generally all comparatively sparse, so calculating pixel point degree of rarefication within the specific limits just can separate foreground area and background area preferably.2) utilize svm classifier can remove the strong noise zone and lines can not recover inactive area such as zone, obtain effective finger-print region of clean mark.The removal of these inactive area is for follow-up fingerprint recognition system provides favourable help.For example: if irrecoverable zone is excessive in the true lines of fingerprint, disallowable in then can follow-up fingerprint quality evaluation procedure, this fingerprint be gathered again.
Description of drawings
Fig. 1 be image block internal layer piece piece outer with it concern synoptic diagram.
Fig. 2 is overview flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment of the present invention are elaborated.
Fig. 1 has described the geometric relationship of image internal layer piece and outer piece.As the internal layer piece W of cutting apart In(i, j), its size is a * a, W Out(i is its corresponding outer layer piece j), is that size is b * b, geometric center and W In(i, the j) image block of geometric center coincidence, and b is greater than a.
As shown in Figure 2, idiographic flow of the present invention is as follows.
1) fingerprint image is divided into non-overlapping copies, size is 3 * 3 fritter, as the internal layer piece of cutting apart, uses W In(i, j) fritter of the capable j row of expression i.In actual applications, the size of internal layer piece can be got different values according to the difference of the resolution of fingerprint image.For being without loss of generality, the size of internal layer piece is made as 3 * 3 here.
2) utilize the gradient feature of image, fingerprint image is carried out coarse segmentation, obtain coarse segmentation image mask.Coarse segmentation is with removing the less background of noise in the background, to save the calculated amount of subsequent step.Concrete steps are as follows:
The edge pixel of mark ridge, paddy.(x is y) along x direction of principal axis and the axial gradient vector G of y for pixel I in the calculated fingerprint image I x(x, y) and G y(x, y).If | G x(x, y) | 〉=G ThreAnd | G y(x, y) | 〉=G Thre, then (x y)=1, represents that this pixel is the edge pixel of ridge, paddy to P; Otherwise P (x, y)=0.Wherein, G ThreBe Grads threshold.
Judge that according to the degree of rarefication of edge pixel each fritter in the image is foreground blocks or background piece.Getting a size is b * b, geometric center and W In(the outer piece as cutting apart is designated as W for i, the j) image block of geometric center coincidence Out_1(i, j).Statistical picture piece W Out_1(i, the j) number of middle edge pixel is as internal layer piece W In(i, j) degree of rarefication of middle edge pixel:
N W in ( i , j ) = Σ ( x , y ) ∈ W out _ 1 ( i , j ) P ( x , y ) - - - ( 1 )
If
Figure BDA0000145834960000052
Then this image block is foreground blocks,
Figure BDA0000145834960000053
Otherwise this image block is the background piece,
In order to make degree of rarefication have stronger noise immunity, the outer block size here is 32 * 32, degree of rarefication threshold value N Thre=200.Grads threshold arranges less here, G Thre=8.
3) coarse segmentation image mask is carried out aftertreatment, obtain preliminary segmentation result.
3.1 for each foreground blocks
Figure BDA0000145834960000055
If the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece
3.2, for each background piece
Figure BDA0000145834960000057
If the number of foreground blocks is more than or equal to 4 in its eight neighborhood, then this background piece is labeled as foreground blocks
Figure BDA0000145834960000058
3.3, repeated execution of steps 3.2, until there not being the background piece to be marked as foreground blocks;
Through primary coarse segmentation, some is done partially or wets to such an extent that the gray scale between finger-print region ridge, the paddy is comparatively approaching partially, and the edge is not obvious, is divided into background easily, and in fact these zones may be that lines can recover the zone, and the foreground area of fingerprint is included in these zones again after the aftertreatment.But some dead space image block is also by the effective district of being divided into of mistake.Some fractures in the serious zone of noise pollution, the real lines are serious such as being subjected in the background, the zone that is difficult to recover lines etc.These zones will be cut apart away them in secondary splitting.
4) on the basis of preliminary split image mask, if
Figure BDA0000145834960000059
Extract its features such as contrast, direction consistance, Gabor filtering variance deviation, utilize support vector machine to classify, cut the result thereby obtain segmentation.
If 4.1
Figure BDA00001458349600000510
Get a size and be 16 * 16, geometric center and W In(i, j) the outer piece W of the image of geometric center coincidence Out_2(i, j).Extract W Out_2(i, features such as contrast j), direction consistance, Gabor filtering variance deviation are as internal layer piece W In(i, feature j).
A) contrast con (i, j):
m ( i , j ) = s ( i , j ) n ( i , j ) - - - ( 2 )
d ( i , j ) = s 1 ( i , j ) n 1 ( i , j ) - s 2 ( i , j ) n 2 ( i , j ) - - - ( 3 )
con ( i , j ) = d ( i , j ) m ( i , j ) - - - ( 4 )
Wherein, n (i, j) and s (i j) is W in the image block Out_2(i, j) number of all pixels and gray-scale value addition and.n 1(i, j) and s 1(i j) is image block W Out_2(i, j) in all gray-scale values greater than m (i, the number of pixel j) and gray-scale value addition and.n 2(i, j) and s 2(i j) is image block W Out_2(i, j) in all gray-scale values less than m (i, the number of pixel j) and gray-scale value addition and.
B) direction consistance coh (i, j):
coh ( i , j ) = ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) ) 2 + ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( 2 · G x ( x , y ) · G y ( x , y ) ) ) 2 ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) + G y 2 ( x , y ) ) ) 2 - - - ( 5 )
C) Gabor filtering feature variance deviation:
Employing has the two-dimentional even Gabor wave filter of directional selectivity and frequency selectivity, and its expression formula is as follows:
h ( x , y , φ , f ) = exp { - 1 2 ( x φ 2 δ x 2 + y φ 2 δ y 2 ) } cos ( 2 π x φ ) - - - ( 6 )
x φ=xcosφ+ysinφ (7)
y φ=-xsinφ+ycosφ (8)
Wherein, φ is the direction of Gabor wave filter, and f is the filter center frequency, δ xAnd δ yBe respectively along the Gaussian envelope constant of x axle and y axle.Image block is carried out the Gabor filtering of texture principal direction and time direction:
I W out _ 2 ( i , j ) ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 9 )
I W out _ 2 ( i , j ) ′ ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) + π 2 , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 10 )
Wherein, centre frequency f is made as the average frequency of fingerprint ridge line, and the present invention gets 0.1.δ xAnd δ yValue 0.4.(i j) is image block W to θ Out_2(i, texture principal direction j),
Figure BDA0000145834960000065
Be image block W Out_2(i, inferior direction j).The computing formula of texture principal direction is as follows:
θ ( i , j ) = 1 2 tan - 1 Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x ( x , y ) · G y ( x , y ) ) - - - ( 11 )
Gabor filtering variance deviation Gabor_dif (i, j):
Gabor _ 1 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ( x , y ) - m 1 ( i , j ) ) 2 - - - ( 12 )
Gabor _ 2 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ′ ( x , y ) - m 2 ( i , j ) ) 2 - - - ( 13 )
Gabor_dif(i,j)=|Gabor_1-Gabor_2| (14)
Wherein, num is image block W Out_2(i, j) Nei number of pixels, m 1(i, j) and m 2(i j) is respectively the pixel average of image block after principal direction and time direction filtering.
Can obtain the proper vector of image block thus, consider the difference between the different fingerprint images in the same fingerprint base, proper vector is carried out normalized.
4.2 the structure training sample, training SVM.The fingerprint image that will be used for training at first carries out coarse segmentation, the proper vector of foreground area among the computed segmentation result, and hand picking goes out partial noise zone and the irrecoverable zone of lines then, as the inactive area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,-1].Pick out clear of part fingerprint lines and marked, as effective foreground area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,+1].The kernel function of SVM is selected the radially basic kernel function of Gauss, utilizes training sample that SVM is trained, and obtains final SVM model.
4.3 revise the mask image with the SVM that trains.To each image block, if
Figure BDA0000145834960000071
Calculate its contrast, direction consistance and Gabor filtering variance deviation, obtain proper vector, the SVM that input trains.The output of the correspondence of SVM if+1, then declaring this piece is effective foreground area,
Figure BDA0000145834960000072
If-1, then declaring this piece is invalid foreground area,
Figure BDA0000145834960000073
5) adopt the result after morphological method is cut segmentation to carry out aftertreatment.Some isolated foreground blocks and background pieces can appear in the segmentation result.For each foreground blocks, if the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece.For each background piece, if the number of background piece is less than 4 in its eight neighborhood, then this piece is labeled as foreground blocks.
Fingerprint image is cut apart gray-scale statistical information and the texture information that choosing of feature utilized image block among the present invention.Contrast is relatively more responsive to grey scale change.The direction consistance has reflected the direction degree of consistency of having a few in the piece.The Gabor wave filter has the empty resolution frequently of optimum associating, is equivalent to image block has been carried out the filtering enhancing at this.The effective preceding scenic spot of fingerprint image streakline is light and dark, and grey scale change is violent, has the grain direction of rule, and through after the Gabor filtering of both direction, it is obvious that principal direction strengthens effect, so the deviation of filtering variance is bigger; And the intensity profile in strong noise background area and the irrecoverable zone of lines is even relatively, and the direction degree of consistency is low, and principal direction is all not obvious with the enhancing effect of time direction, so the deviation of filtering variance is less.

Claims (4)

1. the fingerprint image dividing method based on support vector machine is characterized in that, comprises following steps:
Step 1, with fingerprint image be divided into non-overlapping copies, size is 3 * 3 fritter, as the internal layer piece of cutting apart, uses W In(i, j) fritter of the capable j row of expression i;
Step 2, utilize the gradient feature of image, fingerprint image is carried out coarse segmentation, obtain coarse segmentation image mask, concrete steps are as follows:
2.1, the edge pixel of mark ridge, paddy: (x is y) along x direction of principal axis and the axial gradient vector G of y for pixel I in the calculated fingerprint image x(x, y) and G y(x, y), if | G x(x, y) | 〉=G ThreAnd | G y(x, y) | 〉=G Thre, then P (x y)=1, represents that this pixel is the edge pixel of ridge, paddy, otherwise P (x, y)=0, wherein, G ThreBe Grads threshold;
2.2, judge that according to the degree of rarefication of edge pixel each fritter in the image is foreground blocks or background piece: getting a size is b * b, geometric center and W In(the outer piece as cutting apart is designated as W for i, the j) image block of geometric center coincidence Out_1(i, j); Statistical picture piece W Out_1(i, the j) number of middle edge pixel is as internal layer piece W In(i, j) degree of rarefication of middle edge pixel
N W in ( i , j ) = Σ ( x , y ) ∈ W out _ 1 ( i , j ) P ( x , y ) - - - ( 1 )
If
Figure FDA00002973540300012
Then this image block is foreground blocks,
Figure FDA00002973540300013
Otherwise this image block is the background piece,
Figure FDA00002973540300014
N ThreBe the degree of rarefication threshold value;
Step 3, coarse segmentation image mask is carried out aftertreatment, obtain preliminary segmentation result, concrete steps are as follows:
3.1, for each foreground blocks
Figure FDA00002973540300015
If the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece
Figure FDA00002973540300016
3.2, for each background piece
Figure FDA00002973540300017
If the number of foreground blocks is more than or equal to 4 in its eight neighborhood, then this background piece is labeled as foreground blocks
Figure FDA00002973540300018
3.3, repeated execution of steps 3.2, until there not being the background piece to be marked as foreground blocks;
Step 4, on the basis of coarse segmentation image mask, if
Figure FDA00002973540300019
Extract its contrast, direction consistance, Gabor filtering variance deviation, utilize support vector machine to classify, cut the result thereby obtain segmentation:
If 4.1
Figure FDA000029735403000110
Getting a size is c * c, geometric center and W In(i, j) the outer piece W of the image of geometric center coincidence Out_2(i j), extracts W Out_2(i, contrast j), direction consistance, Gabor filtering variance deviation are as internal layer piece W In(i, feature j) specifically comprises:
A) calculate contrast con (i, j):
m ( i , j ) = s ( i , j ) n ( i , j ) - - - ( 2 )
d ( i , j ) = s 1 ( i , j ) n 1 ( i , j ) - s 2 ( i , j ) n 2 ( i , j ) - - - ( 3 )
con ( i , j ) = d ( i , j ) m ( i , j ) - - - ( 4 )
Wherein, n (i, j) and s (i j) is W in the image block Out_2(i, j) number of all pixels and gray-scale value addition and, n 1(i, j) and s 1(i j) is image block W Out_2(i, j) in all gray-scale values greater than m (i, the number of pixel j) and gray-scale value addition and, n 2(i, j) and s 2(i j) is image block W Out_2(i, j) in all gray-scale values less than m (i, the number of pixel j) and gray-scale value addition and;
B) calculated direction consistance coh (i, j):
coh ( i , j ) = ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) ) 2 + ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( 2 · G x ( x , y ) · G y ( x , y ) ) ) 2 ( Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) + G y 2 ( x , y ) ) ) 2 - - - ( 5 )
C) calculate Gabor filtering feature variance deviation:
Employing has the two-dimentional even Gabor wave filter of directional selectivity and frequency selectivity, and expression formula is as follows
h ( x , y , φ , f ) = exp { - 1 2 ( x φ 2 δ x 2 + y φ 2 δ y 2 ) } cos ( 2 π fx φ ) - - - ( 6 )
Wherein, x φ=xcos φ+ysin φ, y φ=-xsin φ+ycos φ, φ are the direction of Gabor wave filter, and f is the filter center frequency, are made as the average frequency value of fingerprint ridge line here; δ xAnd δ yBe respectively along the Gaussian envelope constant of x axle and y axle, these two parameters are all got 0.4; Image block is carried out the Gabor filtering of both direction:
I W out _ 2 ( i , j ) ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 7 )
I W out _ 2 ( i , j ) ′ ′ ( x , y ) = Σ u = - R R Σ v = - R R h ( u , v , θ ( i , j ) + π 2 , f ) · I W out _ 2 ( i , j ) ( x - u , y - v ) - - - ( 8 )
Wherein, R represents the radius of wave filter, and (i j) is image block W to θ Out_2(i, texture principal direction j),
Figure FDA00002973540300027
Be image block W Out_2(i, time direction of texture j), θ (i, computing formula j) is as follows:
θ ( i , j ) = 1 2 tan - 1 Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x 2 ( x , y ) - G y 2 ( x , y ) ) Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( G x ( x , y ) · G y ( x , y ) ) - - - ( 9 )
Gabor filtering variance deviation Gabor_dif (i, j):
Gabor _ 1 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ( x , y ) - m 1 ( i , j ) ) 2 - - - ( 10 )
Gabor _ 2 = 1 num Σ ( x , y ) ∈ W out _ 2 ( i , j ) ( I W out _ 2 ( i , j ) ′ ′ ( x , y ) - m 2 ( i , j ) ) 2 - - - ( 11 )
Gabor_dif(i,j)=|Gabor_1-Gabor_2| (12)
Wherein, num is image block W Out_2(i, j) Nei number of pixels, m 1(i, j) and m 2(i j) is respectively the pixel average of image block after principal direction and time direction filtering;
Obtain the proper vector of image subblock thus, consider the difference between the different fingerprint images in the same fingerprint base, proper vector is carried out normalized;
4.2, the structure training sample, training SVM: the fingerprint image that will be used for training at first carries out coarse segmentation, the proper vector of foreground area among the computed segmentation result, and hand picking goes out partial noise zone and the irrecoverable zone of lines then, as the inactive area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,-1]; Pick out clear of part fingerprint lines and marked, as effective foreground area sample, be designated as [con (i, j), coh (i, j), Gabor_dif (i, j) ,+1]; Utilize training sample that SVM is trained, obtain final SVM model;
4.3, revise the mask image with the SVM that trains: to each image block, if
Figure FDA00002973540300031
Then calculate its contrast, direction consistance and Gabor filtering variance deviation, obtain proper vector, the SVM that input trains; The output of the correspondence of SVM if+1, then declaring this piece is effective foreground area,
Figure FDA00002973540300032
If-1, then declare the invalid foreground area of this piece,
Result after step 5, employing morphological method are cut segmentation carries out aftertreatment.
2. a kind of fingerprint image dividing method based on support vector machine according to claim 1 is characterized in that, described step 2 ectomesoderm block size b=32, Grads threshold G Thre=8, degree of rarefication threshold value N Thre=200.
3. a kind of fingerprint image dividing method based on support vector machine according to claim 1 is characterized in that, extracts the outer block size c=16 of feature in the described step 4, and the kernel function of SVM is selected the radially basic kernel function of Gauss.
4. a kind of fingerprint image dividing method based on support vector machine according to claim 1 is characterized in that, described step 5 adopts morphological method to carry out aftertreatment, owing to be subjected to noise effect, discrete foreground blocks and background piece can occur in the segmentation result; For each foreground blocks, if the number of foreground blocks is less than 4 in its eight neighborhood, then this foreground blocks is labeled as the background piece; For each background piece, if the number of background piece is less than 4 in its eight neighborhood, then this piece is labeled as foreground blocks.
CN 201210077976 2012-03-22 2012-03-22 Fingerprint image segmentation method based on support vector machine Active CN102629318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210077976 CN102629318B (en) 2012-03-22 2012-03-22 Fingerprint image segmentation method based on support vector machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210077976 CN102629318B (en) 2012-03-22 2012-03-22 Fingerprint image segmentation method based on support vector machine

Publications (2)

Publication Number Publication Date
CN102629318A CN102629318A (en) 2012-08-08
CN102629318B true CN102629318B (en) 2013-07-17

Family

ID=46587576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210077976 Active CN102629318B (en) 2012-03-22 2012-03-22 Fingerprint image segmentation method based on support vector machine

Country Status (1)

Country Link
CN (1) CN102629318B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324944B (en) * 2013-06-26 2016-11-16 电子科技大学 A kind of based on SVM with the false fingerprint detection method of rarefaction representation
JP6369019B2 (en) * 2013-12-12 2018-08-08 セイコーエプソン株式会社 Image evaluation apparatus and image evaluation program
CN105528591B (en) * 2016-01-14 2019-04-16 电子科技大学 Living body finger print recognition methods based on more quadrants coding
CN106156722B (en) * 2016-04-18 2019-03-01 闽南师范大学 A kind of fingerprint image dividing method based on crestal line
CN106066764B (en) * 2016-05-27 2018-05-29 广东欧珀移动通信有限公司 A kind of unlocked by fingerprint method and terminal
CN108665433B (en) * 2017-04-01 2021-05-18 西安电子科技大学 No-reference natural image quality evaluation method combining multiple characteristics
CN108009554A (en) * 2017-12-01 2018-05-08 国信优易数据有限公司 A kind of image processing method and device
CN110263667B (en) * 2019-05-29 2022-02-22 Oppo广东移动通信有限公司 Image data processing method and device and electronic equipment
CN111209898B (en) * 2020-03-12 2023-05-23 敦泰电子(深圳)有限公司 Method and device for removing optical fingerprint image background
CN112308077A (en) * 2020-11-02 2021-02-02 中科麦迪人工智能研究院(苏州)有限公司 Sample data acquisition method, image segmentation method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299238A (en) * 2008-07-01 2008-11-05 山东大学 Quick fingerprint image dividing method based on cooperating train
CN102346851A (en) * 2011-11-04 2012-02-08 西安电子科技大学 Image segmentation method based on NJW (Ng-Jordan-Weiss) spectral clustering mark

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8379920B2 (en) * 2010-05-05 2013-02-19 Nec Laboratories America, Inc. Real-time clothing recognition in surveillance videos

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299238A (en) * 2008-07-01 2008-11-05 山东大学 Quick fingerprint image dividing method based on cooperating train
CN102346851A (en) * 2011-11-04 2012-02-08 西安电子科技大学 Image segmentation method based on NJW (Ng-Jordan-Weiss) spectral clustering mark

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
采用支持向量机的指纹图像分割;魏鸿磊等;《系统仿真学报》;20070531;第19卷(第10期);第2362-2365页 *
魏鸿磊等.采用支持向量机的指纹图像分割.《系统仿真学报》.2007,第19卷(第10期),第2362-2365页.

Also Published As

Publication number Publication date
CN102629318A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN102629318B (en) Fingerprint image segmentation method based on support vector machine
CN110648342B (en) Foam infrared image segmentation method based on NSST significance detection and image segmentation
CN109919960B (en) Image continuous edge detection method based on multi-scale Gabor filter
CN110766689A (en) Method and device for detecting article image defects based on convolutional neural network
CN103413119A (en) Single sample face recognition method based on face sparse descriptors
CN102542281A (en) Non-contact biometric feature identification method and system
CN101673345A (en) Method for extracting target closed contour based on shape prior
CN101430763A (en) Detection method for on-water bridge target in remote sensing image
CN103870808A (en) Finger vein identification method
CN104766046A (en) Detection and recognition algorithm conducted by means of traffic sign color and shape features
CN104680550A (en) Method for detecting defect on surface of bearing by image feature points
Malathi et al. An efficient method for partial fingerprint recognition based on local binary pattern
CN102073872B (en) Image-based method for identifying shape of parasite egg
CN106780582A (en) Based on the image significance detection method that textural characteristics and color characteristic are merged
CN105005565A (en) Onsite sole trace pattern image retrieval method
CN105404868A (en) Interaction platform based method for rapidly detecting text in complex background
CN103996017A (en) Ship detection method based on Hu invariant moment and support vector machine
CN104361319A (en) Fake fingerprint detection method based on SVM-RFE (support vector machine-recursive feature elimination)
CN103955496B (en) A kind of quick live tire trace decorative pattern searching algorithm
CN103793709A (en) Cell recognition method and device, and urine analyzer
CN104268549A (en) Anti-noise multi-scale local binary pattern characteristic representation method
Holtzman-Gazit et al. Salient edges: A multi scale approach
CN103971347A (en) Method and device for treating shadow in video image
CN105975960A (en) Iris identification method based on texture-direction energy characteristic
CN104166847A (en) 2DLDA (two-dimensional linear discriminant analysis) face recognition method based on ULBP (uniform local binary pattern) feature sub-spaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant