CN100410964C - Acquisition and splicing method of rolling fingerprints on three sides - Google Patents
Acquisition and splicing method of rolling fingerprints on three sides Download PDFInfo
- Publication number
- CN100410964C CN100410964C CNB031166512A CN03116651A CN100410964C CN 100410964 C CN100410964 C CN 100410964C CN B031166512 A CNB031166512 A CN B031166512A CN 03116651 A CN03116651 A CN 03116651A CN 100410964 C CN100410964 C CN 100410964C
- Authority
- CN
- China
- Prior art keywords
- image
- fingerprint
- sequence
- fingerprints
- splicing
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000005096 rolling process Methods 0.000 title claims abstract description 30
- 238000009827 uniform distribution Methods 0.000 claims abstract description 6
- 238000013507 mapping Methods 0.000 claims abstract description 4
- 238000009499 grossing Methods 0.000 claims description 18
- 241001270131 Agaricus moelleri Species 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 7
- 238000003706 image smoothing Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011840 criminal investigation Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- -1 hand sweat Substances 0.000 description 1
- 210000004243 sweat Anatomy 0.000 description 1
Images
Landscapes
- Collating Specific Patterns (AREA)
Abstract
一种三面滚动指纹的采集和拼接方法,包括:采集背景图;采集序列指纹;指纹图像去背景;将得到的图像的直方图映射成图像中所有灰度均匀分布的直方图;对图像作高斯平滑处理;对图像计算阈值,并根据阈值对该图像进行二值化;判断图像中是否存在指纹输入,如果没有则重新采集下一幅图像,有则继续;计算指纹的中心和四边界;重复上述步骤,采集下一幅序列指纹图像;得到的序列指纹图像与前一次得到的序列指纹图像之间最大相关的块,该块的中心线就是最佳拼接线;消除拼接线处的错位;拼接两幅序列指纹;重复上述步骤,不断的采集并拼接序列指纹,直至判断某一幅图像中已没有指纹输入为止,用本发明的方法采集的三面滚动指纹更完整,特征点也更多。
A method for collecting and stitching three-sided scrolling fingerprints, comprising: collecting a background image; collecting sequence fingerprints; removing the background from the fingerprint image; mapping the histogram of the obtained image into a histogram of uniform distribution of all gray levels in the image; performing Gaussian processing on the image Smoothing process; calculate the threshold value for the image, and binarize the image according to the threshold value; judge whether there is fingerprint input in the image, if not, re-acquire the next image, and continue if there is; calculate the center and four boundaries of the fingerprint; repeat The above steps are to collect the next sequence fingerprint image; the block with the largest correlation between the sequence fingerprint image obtained and the sequence fingerprint image obtained last time, the center line of the block is the best splicing line; eliminate the dislocation at the splicing line; splicing Two sequence fingerprints; repeat the above steps, continuously collect and splice sequence fingerprints, until it is judged that there is no fingerprint input in a certain image, the three-sided rolling fingerprint collected by the method of the present invention is more complete and has more feature points.
Description
技术领域 technical field
本发明涉及一种指纹采集和拼接方法,尤其涉及一种三面滚动指纹的采集和拼接方法。The invention relates to a method for collecting and splicing fingerprints, in particular to a method for collecting and splicing three-sided rolling fingerprints.
背景技术 Background technique
由于指纹本身的稳定性和唯一性,使指纹在身份识别方面起到巨大的作用,指纹采集可分为平面指纹采集和三面滚动指纹采集。Due to the stability and uniqueness of the fingerprint itself, the fingerprint plays a huge role in identification. Fingerprint collection can be divided into flat fingerprint collection and three-sided rolling fingerprint collection.
平面指纹通常应用在民用场合。大多使用在1∶1比对的情况下,也就是用于验证。验证时,系统把当前捺印采集的指纹与原来注册时存储在库中的指纹进行比对,库中存储的指纹在当时注册时采集的质量比较好而且是1∶1比对,所以在用于验证的技术中,需要的指纹特征点相对比较少。图13是平面指纹采集仪以及采集到的平面指纹,它的采集过程为:将手指平放在平面指纹采集仪上,采集生成一张平面指纹图像,所得到的指纹图像一般仅是指纹的中间部分,包含的特征点相对较少。Planar fingerprints are usually used in civilian applications. It is mostly used in the case of 1:1 comparison, that is, for verification. When verifying, the system compares the fingerprints collected by the current printing with the fingerprints stored in the database during the original registration. The quality of the fingerprints stored in the database at the time of registration is relatively good and the comparison is 1:1, so when used In the verification technology, relatively few fingerprint feature points are required. Figure 13 shows the flat fingerprint collector and the collected flat fingerprints. Its collection process is as follows: put your finger flat on the flat fingerprint collector, collect and generate a flat fingerprint image, and the obtained fingerprint image is generally only the middle of the fingerprint. part, which contains relatively few feature points.
三面滚动指纹通常应用在警用场合。大多使用在1∶N比对的情况下且N特别大,从几万到几百万,也就是用于识别。警用指纹通常用来和作案现场等获取的指纹相比对。例如:用一枚捺印指纹与现场指纹库作1∶N比对,找出此嫌疑人和哪一些案件有关,这个过程在刑侦技术中称为倒查;再如:用一枚现场指纹在捺印指纹库中作1∶N比对,找出此案案发现场有哪些嫌疑人出现过,这个过程在刑侦技术中称为正查。可以看到,在警用情况下,因为现场指纹常常残缺,质量不高,而且又是1∶N比对,所以要求所取指纹完整,指纹特征点多。所以警用的指纹必须是三面滚动指纹。现有的采集三面滚动指纹的方式是使用油墨捺印采集,然后制作成指纹卡并保存,但使用该方法采集的指纹质量较差,易损坏,保存指纹卡需要建立庞大的指纹卡库,且进行对比时难度也较大。Three-sided rolling fingerprints are usually used in police applications. It is mostly used in the case of 1:N comparison and N is particularly large, from tens of thousands to millions, that is, for identification. Police fingerprints are usually used to compare with fingerprints obtained at the scene of a crime. For example: use a stamped fingerprint to compare 1:N with the on-site fingerprint database to find out which cases the suspect is related to. This process is called reverse investigation in criminal investigation technology; Make a 1:N comparison in the fingerprint database to find out which suspects have appeared at the scene of the case. This process is called positive investigation in criminal investigation technology. It can be seen that in the case of police use, because the on-site fingerprints are often incomplete, the quality is not high, and there is a 1:N comparison, it is required that the fingerprints taken are complete and have many fingerprint feature points. Therefore, the fingerprints used by the police must be three-sided rolling fingerprints. The existing method of collecting three-sided rolling fingerprints is to use ink printing to collect them, and then make them into fingerprint cards and store them. However, the fingerprints collected by this method are of poor quality and are easily damaged. It is also difficult to compare.
发明内容 Contents of the invention
本发明的目的是提供一种三面滚动指纹的采集和拼接方法,使用滚动指纹采集仪,将手指从左至右或从右至左滚动,在滚动过程中采集一系列序列指纹,并将这些序列指纹拼接,最后生成三面滚动指纹。The purpose of the present invention is to provide a method for collecting and splicing three-sided scrolling fingerprints. Using a scrolling fingerprint collector, the fingers are rolled from left to right or from right to left, and a series of sequence fingerprints are collected during the rolling process, and these sequences are Fingerprint stitching, and finally generate three-sided rolling fingerprints.
为了达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts following technical scheme:
本发明的三面滚动指纹的采集和拼接方法,包括如下步骤:The collection and splicing method of three-sided rolling fingerprint of the present invention, comprises the following steps:
1)采集背景图,在手指开始捺印之前先采集一帧背景图;1) Collect the background image, and collect a frame of background image before the finger starts printing;
2)采集序列指纹,手指在采集窗口上滚动,滚动过程中采集一幅序列指纹图像;2) Collect serial fingerprints, scroll your finger on the collection window, and collect a serial fingerprint image during the scrolling process;
3)指纹图像去背景,将采集到的序列指纹与所述背景图相减;3) Remove the background from the fingerprint image, and subtract the sequence fingerprints collected from the background image;
4)将步骤3)所得到的图像的直方图映射成一个图像中所有灰度均匀分布的直方图;4) map the histogram of the image obtained in step 3) into a histogram of uniform distribution of all gray levels in an image;
5)对步骤4)得到的图像作高斯平滑处理;5) Gaussian smoothing is performed on the image obtained in step 4);
6)对步骤5)得到的图像计算阈值,并根据阈值对该图像进行二值化;6) calculate the threshold value to the image obtained in step 5), and carry out binarization to the image according to the threshold value;
7)判断步骤6)所得的图像中是否存在指纹输入,如果没有指纹输入则到步骤2)采集下一幅图像,有指纹输入则到步骤8);7) judging step 6) whether there is fingerprint input in the image of gained, if there is no fingerprint input then to step 2) to collect the next image, if there is fingerprint input then to step 8);
8)计算所述指纹的中心和四边界;8) calculating the center and four boundaries of the fingerprint;
9)重复步骤2)-8),采集下一幅序列指纹图像,采集完一幅后到步骤10);9) Repeat steps 2)-8), collect the next sequence of fingerprint images, and go to step 10) after collecting one image;
10)就出步骤9)得到的序列指纹图像与前一次得到的序列指纹图像之间最大相关的块,该块的中心线就是最佳拼接线;10) just go out step 9) the block of maximum correlation between the sequence fingerprint image that obtains and the sequence fingerprint image that obtains the previous time, the center line of this block is exactly the optimal splicing line;
11)消除拼接线处的错位,对要拼接的序列指纹边界作平滑处理;11) Eliminate the dislocation at the splicing line, and smooth the border of the sequence fingerprint to be spliced;
12)拼接两幅序列指纹,以手指滚动的方向的反向为前方,前一幅序列指纹取拼接线前面的部分,后一幅序列指纹取拼接线后面的部分;12) Splicing two serial fingerprints, taking the reverse of the direction of finger scrolling as the front, taking the part in front of the splicing line for the previous sequence fingerprint, and taking the part behind the splicing line for the latter sequence fingerprint;
13)重复步骤9)-12),不断的采集并拼接序列指纹,直至判断某一幅图像中已没有指纹输入为止。13) Steps 9)-12) are repeated to continuously collect and stitch serial fingerprints until it is judged that there is no fingerprint input in a certain image.
由于采用了上述技术方案,本发明所述的三面指纹采集和拼接方法能迅速,准确的采集三面滚动指纹,采集到的指纹完整,特征点多,易于进行对比。Due to the adoption of the above technical solution, the three-sided fingerprint collection and splicing method of the present invention can quickly and accurately collect three-sided rolling fingerprints, and the collected fingerprints are complete and have many feature points, which are easy to compare.
附图说明 Description of drawings
图1是本发明的三面滚动指纹的采集和拼接方法的流程图;Fig. 1 is the flow chart of the acquisition and splicing method of three-side rolling fingerprint of the present invention;
图2是本发明的方法中手指开始捺印之前先采集的一帧背景图;Fig. 2 is a frame background image collected earlier before fingers start to print in the method of the present invention;
图3是本发明的方法中采集到的一系列指纹——序列指纹;Fig. 3 is a series of fingerprints collected in the method of the present invention—serial fingerprints;
图4是本发明的方法中指纹图像去背景的效果图;Fig. 4 is the effect figure that fingerprint image removes the background in the method of the present invention;
图5是本发明的方法中对图像作高斯平滑处理的原理图;Fig. 5 is the schematic diagram of doing Gaussian smoothing to image in the method of the present invention;
图6是本发明的方法中图像灰度经归一化处理后的分布图;Fig. 6 is the distribution diagram of image gray scale after normalization processing in the method of the present invention;
图7是本发明的方法中对图像进行拟和的示意图;Fig. 7 is a schematic diagram of fitting images in the method of the present invention;
图8是本发明的方法中求指纹图像中心和边界的示意图;Fig. 8 is the schematic diagram of seeking fingerprint image center and boundary in the method of the present invention;
图9是本发明的方法中求两幅指纹图像的最大相关块的示意图;Fig. 9 is a schematic diagram of seeking the maximum correlation block of two fingerprint images in the method of the present invention;
图10是本发明的方法中对拼接线边界作平滑处理的示意图;Fig. 10 is a schematic diagram of smoothing the stitching line boundary in the method of the present invention;
图11是本发明的方法中进行序列指纹拼接的示意图;Figure 11 is a schematic diagram of sequence fingerprint mosaic in the method of the present invention;
图12是本发明的方法中将一系列序列指纹拼接成的三面滚动指纹;Fig. 12 is the three-sided rolling fingerprint that a series of sequence fingerprints are spliced into in the method of the present invention;
图13是平面指纹采集仪以及采集到的平面指纹;Fig. 13 is a planar fingerprint collector and the planar fingerprints collected;
图14是三面滚动指纹采集仪以及采集到的一系列序列指纹和拼接后的三面滚动指纹。Figure 14 is a three-sided rolling fingerprint collector and a series of serial fingerprints collected and three-sided rolling fingerprints after splicing.
具体实施方式 Detailed ways
下面结合附图进一步说明本发明的技术方案。The technical solution of the present invention will be further described below in conjunction with the accompanying drawings.
图1是本发明的三面滚动指纹的采集和拼接方法的流程图,如图1所示,本发明的三面滚动指纹的采集和拼接方法包括:Fig. 1 is the flow chart of the collection and splicing method of three-side rolling fingerprint of the present invention, as shown in Figure 1, the collection of three-side rolling fingerprint of the present invention and splicing method comprise:
1)采集背景图,在手指开始捺印之前先采集一帧背景图(S11);1) collect the background image, collect a frame of background image before the finger starts printing (S11);
2)采集序列指纹,手指在采集窗口上滚动,滚动过程中采集一幅序列指纹图像(S12);2) Collecting serial fingerprints, the finger scrolls on the collection window, and a serial fingerprint image is collected during the scrolling process (S12);
3)指纹图像去背景,将采集到的序列指纹与所述背景图相减(S13);3) removing the background from the fingerprint image, and subtracting the collected sequence fingerprint from the background image (S13);
4)将步骤3)所得到的图像的直方图映射成一个图像中所有灰度均匀分布的直方图(S14);4) mapping the histogram of the image obtained in step 3) into a histogram of uniform distribution of all gray levels in an image (S14);
5)对步骤4)得到的图像作高斯平滑处理(S15);5) Gaussian smoothing processing (S15) is performed on the image obtained in step 4);
6)对步骤5)得到的图像计算阈值,并根据阈值对该图像进行二值化(S16);6) Calculate the threshold value for the image obtained in step 5), and carry out binarization (S16) to the image according to the threshold value;
7)判断步骤6)所得的图像中是否存在指纹输入,如果没有指纹输入则到步骤2)采集下一幅图像,有指纹输入则到步骤8)(S17);7) judging step 6) whether there is fingerprint input in the image of the gained, if there is no fingerprint input then to step 2) to collect the next image, if there is fingerprint input then to step 8) (S17);
8)计算所述指纹的中心和四边界(S18);8) calculating the center and four boundaries of the fingerprint (S18);
9)重复步骤2)-8),采集下一幅序列指纹图像,采集完一幅后到步骤10);9) Repeat steps 2)-8), collect the next sequence of fingerprint images, and go to step 10) after collecting one image;
10)就出步骤9)得到的序列指纹图像与前一次得到的序列指纹图像之间最大相关的块,该块的中心线就是最佳拼接线(S19);10) just go out step 9) the block of maximum correlation between the sequence fingerprint image that obtains and the sequence fingerprint image that obtains the previous time, the center line of this block is exactly the optimal splicing line (S19);
11)消除拼接线处的错位,对要拼接的序列指纹边界作平滑处理(S110);11) Eliminate the dislocation at the splicing line, and smooth the border of the sequence fingerprint to be spliced (S110);
12)拼接两幅序列指纹,以手指滚动的方向的反向为前方,前一幅序列指纹取拼接线前面的部分,后一幅序列指纹取拼接线后面的部分(S111);12) Splicing two sequence fingerprints, with the reverse direction of the finger scrolling as the front, the previous sequence fingerprint takes the part in front of the splicing line, and the latter sequence fingerprint takes the part behind the splicing line (S111);
13)重复步骤9)-12),不断的采集并拼接序列指纹,直至判断某一幅图像中已没有指纹输入为止。13) Steps 9)-12) are repeated to continuously collect and stitch serial fingerprints until it is judged that there is no fingerprint input in a certain image.
步骤1)采集背景图,图2是本发明的方法中手指开始捺印之前先采集的一帧背景图,指纹采集仪的采集窗口不可避免的会被灰尘、手汗、油污等弄脏,这些因素都会在采集指纹图像的时候造成干扰和噪音,影响指纹图像的清晰程度,特别是采集前一枚指纹时留下的纹印对指纹图像的干扰很大。在手指开始捺印之前先采集一帧背景图,如图2所示,这帧背景图中包含了采集窗口上原有的所有印迹,以便在后续的步骤中从所采集指纹图像中消除这些印记,得到当前的清晰指纹图像。Step 1) collect the background image, Fig. 2 is a frame background image collected before the fingers start printing in the method of the present invention, the acquisition window of the fingerprint acquisition instrument will inevitably be dirty by dust, hand sweat, oil stains, etc., these factors Both will cause interference and noise when collecting fingerprint images, which will affect the clarity of fingerprint images, especially the fingerprints left when collecting the previous fingerprint will greatly interfere with the fingerprint image. Before the fingers start to print, a frame of background image is first collected, as shown in Figure 2, this frame of background image contains all the original imprints on the acquisition window, so that these imprints can be eliminated from the collected fingerprint image in the subsequent steps, and the obtained Current clear fingerprint image.
步骤2)采集序列指纹,图3是本发明的方法中采集到的一系列指纹——序列指纹,将手指捺在指纹采集仪的采集窗口上,从左侧至右侧或从右侧至左侧滚动手指,在滚动的过程中依次采集一系列指纹图像——序列指纹,在处理时,每次处理采集到的一幅序列指纹图。Step 2) collect sequence fingerprints, Fig. 3 is a series of fingerprints collected in the method of the present invention---sequence fingerprints, put your finger on the collection window of the fingerprint collection device, from left to right or from right to left Roll your fingers sideways, and collect a series of fingerprint images—serial fingerprints—in turn during the rolling process. When processing, process one sequence of fingerprint images collected each time.
步骤3)指纹图像去背景,图4是本发明的方法中指纹图像去背景的效果图,将采集的序列指纹的每一幅都与背景相减以祛除背景。具体计算方法如下:如图4所示,指纹图像长M宽N,其任意一点(i,j)的灰度值为O(i,j),序列指纹任意一点(i,j)的灰度值为O1(i,j),背景图任意一点(i,j)的灰度值为B(i,j),则:O’(i,j)=O1(i,j)-B(i,j),O’(i,j)∈[-255,255];将所有像素点的灰度值O’(i,j)做线性映射:O’(i,j)的最大值为max,最小值为min,线性映射后的灰度值
步骤4)直方图均衡,在一个特定基础上比较两幅图像时,一般总是先对图像的直方图进行规定化处理,使规定化之后的直方图是“标准直方图”。规定化处理最常用的方法就是直方图均衡。它通过函数b=f(a),将原始图的直方图映射成一个图像中所有灰度均匀分布的直方图,增加了像素灰度值的动态范围,从而达到增强图像整体对比度的效果。对于一个表示输入概率密度和输出概率密度的合适函数f(*),f(*)定义如下:Step 4) Histogram equalization. When comparing two images on a specific basis, the histogram of the image is generally firstly processed so that the histogram after the specification is a "standard histogram". The most commonly used method of prescriptive processing is histogram equalization. It uses the function b=f(a) to map the histogram of the original image into a histogram with uniform distribution of all gray levels in the image, increasing the dynamic range of the pixel gray value, thereby achieving the effect of enhancing the overall contrast of the image. For a suitable function f(*) representing the input probability density and the output probability density, f(*) is defined as follows:
f(*)是可微分的,且df/da≥0。定义pb(b)为常数,P(a)为灰度分布概率函数,即:f(*) is differentiable and df/da≥0. Define pb(b) as a constant, and P(a) as the gray distribution probability function, namely:
f(a)=(2B-1)*P(a);f(a)=(2 B -1)*P(a);
步骤5)对图像作高斯平滑处理,高斯平滑是利用高斯核进行图像平滑处理,它是在图像空间借助模板进行邻域操作完成的,让图像在傅立叶空间的高频分量受到抑制,不影响低频分量。因为高频分量对应图像中的区域边缘等灰度值具有较大较快变化的部分,滤波器将这些分量滤去可使图像平滑,达到增强清晰度的目的。其主要步骤为:Step 5) Gaussian smoothing is performed on the image. Gaussian smoothing uses the Gaussian kernel to perform image smoothing. It is performed in the image space with the help of templates for neighborhood operations, so that the high-frequency components of the image in Fourier space are suppressed without affecting the low-frequency portion. Because the high-frequency components correspond to the parts of the image with large and fast-changing gray values such as the edge of the region, the filter can filter out these components to smooth the image and achieve the purpose of enhancing clarity. Its main steps are:
5.1)将模板在图中漫游,并将模板中心与图中某个像素位置重合;5.1) Roam the template in the picture, and coincide the center of the template with a certain pixel position in the picture;
5.2)将模板上系数与模板下对应像素相乘;5.2) Multiply the coefficient on the template with the corresponding pixel under the template;
5.3)将所有乘积相加5.3) Add all products together
5.4)将和(模板的输出响应)赋给图中对应模板中心位置的像素。5.4) Assign the sum (the output response of the template) to the pixel corresponding to the central position of the template in the figure.
图5是本发明的方法中对图像作高斯平滑处理的原理图,其中(a)是一幅图像的一部分,其中所标为一些像素的灰度值。现设一个3*3模板,如(b)所示,模板内所标为模板系数。如将k0所在位置与图中灰度值为s0的像素重合,模板的输出响应R为:R=k0s0+k1s1+…k8s8 Fig. 5 is a principle diagram of performing Gaussian smoothing on an image in the method of the present invention, wherein (a) is a part of an image, wherein the gray values of some pixels are marked. A 3*3 template is now assumed, as shown in (b), and the template coefficients are marked in the template. If the position of k 0 is coincident with the pixel whose gray value is s 0 in the figure, the output response R of the template is: R=k 0 s 0 +k 1 s 1 +...k 8 s 8
将R赋给增强图,作为在(x,y)点的灰度值。见(c)Assign R to the enhanced map as the gray value at point (x, y). see (c)
对原图的每个像素都这样操作,得到增强图所有位置的新灰度值。给模板中的k赋不同的值就可以得到不同的高通或低通效果。Do this for each pixel of the original image to get new gray values for all positions in the enhanced image. Different high-pass or low-pass effects can be obtained by assigning different values to k in the template.
高斯平滑是用高斯函数
本实施例中采用的是上述方法来对图像进行高斯平滑处理,上述方法并不是唯一的进行高斯平滑处理的方法,熟悉本领域的技术人员可以利用其他方法来对图像进行高斯平滑处理。In this embodiment, the above-mentioned method is used to perform Gaussian smoothing on the image. The above-mentioned method is not the only method for Gaussian smoothing. Those skilled in the art can use other methods to perform Gaussian smoothing on the image.
步骤6)对图像计算阈值,并根据阈值对该图像进行二值化,做二值化以前先求阈值。一幅类似图7的指纹图像,双峰中的任何一峰都呈正态分布, 阈值thr应该是自适应的。现假设认为灰度值小于10的没有指纹图像输入。根据经验和试验估计б=20,则Step 6) Calculate the threshold value on the image, and carry out binarization to the image according to the threshold value, and first calculate the threshold value before doing the binarization. A fingerprint image similar to Figure 7, any one of the double peaks is normally distributed, Threshold thr should be adaptive. Now assume that there is no fingerprint image input with a gray value less than 10. According to experience and experiments, it is estimated that б=20, then
H:h(i),i∈[0,255];H: h(i), i ∈ [0, 255];
AH:ah(0)=h(0);AH: ah(0)=h(0);
ah(i)=ah(i-1)+h(i);ah(i)=ah(i-1)+h(i);
图7是本发明的方法中对图像进行拟和的示意图,通过拟合求出一对(x1,б1),(x2,б2),使得拟合误差最小。那么得到阈值thr=(x1+x2)/2;Fig. 7 is a schematic diagram of image fitting in the method of the present invention, and a pair (x 1 , б 1 ), (x 2 , б 2 ) is obtained through fitting to minimize the fitting error. Then the threshold thr=(x 1 +x 2 )/2 is obtained;
对图像进行二值化,对于图像中任意一点的灰度值,令大于等于阈值的灰度都等于255,小于阈值的灰度都为0,即:The image is binarized, and for any gray value in the image, the gray value greater than or equal to the threshold is equal to 255, and the gray value smaller than the threshold is 0, that is:
I(i,j)=255当I’(i,j)≥thr时I(i,j)=255 when I'(i,j)≥thr
I(i,j)=0当I’(i,j)<thr时;I(i,j)=0 when I'(i,j)<thr;
本实施例中采用的是上述方法及参数来对图像进行二值化处理,上述方法以及所选用参数并不是唯一的,熟悉本领域的技术人员可以利用其他方法或选择不同的参数来对图像进行二值化处理。In this embodiment, the above-mentioned method and parameters are used to carry out binarization processing on the image. The above-mentioned method and selected parameters are not unique, and those skilled in the art can use other methods or select different parameters to process the image. Binary processing.
步骤7)判断指纹有无,根据上步骤中所求阈值Thr判断出指纹有无,灰度大于阈值时判断为有指纹输入。Step 7) Judging whether the fingerprint is present or not, judging whether the fingerprint is present or not according to the threshold value Thr obtained in the previous step, and judging as having a fingerprint input when the gray scale is greater than the threshold value.
步骤8)求序列指纹的中心和四边界,采集到的指纹经二值化以后判断序列指纹中每一帧图像的四边界和中心,图8是本发明的方法中求指纹图像中心和边界的示意图,图中81为扫描线,82为指纹图像边界,83为扫描方向,84为指纹边界点。Step 8) Find the center and the four boundaries of the sequence fingerprint, and judge the four boundaries and the center of each frame image in the sequence fingerprint after the fingerprints gathered are binarized. Fig. 8 is the method for asking the fingerprint image center and the boundary Schematic diagram, in which 81 is a scanning line, 82 is a fingerprint image boundary, 83 is a scanning direction, and 84 is a fingerprint boundary point.
步骤10)求最佳拼接线和拼接宽度,图9是本发明的方法中求两幅指纹图像的最大相关块的示意图,对采集到的连续两帧指纹图像,先求最大相关的块,设指纹图像的大小为M*N,Step 10) seek optimal splicing line and splicing width, Fig. 9 is the schematic diagram that seeks the maximum correlation block of two fingerprint images in the method of the present invention, to the continuous two frame fingerprint images that gather, first seek the block of maximum correlation, set The size of the fingerprint image is M*N,
MaxCorr=Max(Corri)i=1,…nMaxCorr=Max(Corri)i=1,...n
Index=MaxCorr=CorrindexIndex=MaxCorr=Corrindex
求相关:i=0~M-1,j=0~N-1;Seek related: i=0~M-1, j=0~N-1;
求出最大相关的块,最佳拼接线就是块的中心线,图中91为后一序列指纹,92为最大相关块,93为最大相关中心线即拼接线,94为前一序列指纹。Find the most relevant block, the best stitching line is exactly the center line of the block, 91 is the fingerprint of the latter sequence among the figure, 92 is the largest correlation block, 93 is the largest correlation center line that is the stitching line, and 94 is the fingerprint of the previous sequence.
本实施例中采用的是上述方法来求连续两帧指纹图像之间最大相关的块,上述方法并不是唯一的,熟悉本领域的技术人员可以利用其他方法来求连续两帧指纹图像之间最大相关的块。In this embodiment, the above method is used to find the maximum correlation block between two consecutive frames of fingerprint images. The above method is not unique, and those skilled in the art can use other methods to find the maximum correlation between two consecutive frames of fingerprint images. related blocks.
步骤11)消除拼接线处的错位,对要拼接的序列指纹边界作平滑处理,图10是本发明的方法中对拼接线边界作平滑处理的示意图,序列指纹的拼接线处是如图10所示的针刺状,拼接前先对序列指纹边界作平滑处理:设点(xi,yi)为某个指纹边界上的任意一点,则,
本实施例中采用的是上述方法来消除拼接线处的错位并对要拼接的序列指纹边界作平滑处理,上述方法并不是唯一的,熟悉本领域的技术人员可以利用其他方法来消除拼接线处的错位并对要拼接的序列指纹边界作平滑处理。In this embodiment, the above-mentioned method is used to eliminate the dislocation at the splicing line and smooth the border of the sequence fingerprint to be spliced. The above-mentioned method is not unique, and those skilled in the art can use other methods to eliminate the splicing line. The dislocation of the sequence fingerprints to be spliced is smoothed.
步骤12)拼接两幅序列指纹,以手指滚动的方向的反向为前方,序列指纹图像前面一帧取最大相关块的中心线(即拼接线)前面的部分,后面一帧取最大相关块的中心线(即拼接线)后面的部分,图11是本发明的方法中进行序列指纹拼接的示意图。Step 12) splicing two sequence fingerprints, taking the reverse of the direction of finger scrolling as the front, the front frame of the sequence fingerprint image takes the part in front of the center line (i.e. splicing line) of the largest relevant block, and the rear frame takes the part of the largest relevant block The part behind the central line (ie, splicing line), FIG. 11 is a schematic diagram of sequence fingerprint splicing in the method of the present invention.
作连续的拼接直到判断手指离开,在整个采集过程中,第一枚指纹取第一枚和第二枚序列指纹最大相关块中心线(即拼接线)前的全部指纹图,除最后一枚指纹外,其他序列指纹取最大相关块中心线(即拼接线)后的最大相关块部分指纹图拼接在前一枚指纹上,重复上述各个步骤,直到判断无指纹时才将最后一枚序列指纹最大相关块中心线后面的全部指纹图拼接在前一枚序列指纹上生成拼接好的三面滚动指纹,图12是本发明的方法中将一系列序列指纹拼接成的三面滚动指纹。Do continuous splicing until it is judged that the finger has left. During the entire collection process, the first fingerprint takes all the fingerprints before the center line of the largest correlation block (that is, the splicing line) of the first and second sequence fingerprints, except for the last fingerprint. In addition, for other sequence fingerprints, the partial fingerprints of the largest relevant block after the center line of the largest relevant block (that is, the splicing line) are spliced on the previous fingerprint, and the above steps are repeated until it is judged that there is no fingerprint. All the fingerprints behind the central line of the relevant block are spliced on the previous sequence fingerprint to generate a spliced three-sided rolling fingerprint. Figure 12 is a three-sided rolling fingerprint spliced by a series of sequence fingerprints in the method of the present invention.
图14是三面滚动指纹采集仪以及采集到的一系列序列指纹和拼接后的三面滚动指纹,从图中可见,拼接后的三面滚动指纹相比较于平面指纹显得更为完整,特征点也更多。Figure 14 shows the three-sided rolling fingerprint collector and a series of serial fingerprints collected and the spliced three-sided rolling fingerprints. It can be seen from the figure that the spliced three-sided rolling fingerprints are more complete and have more feature points than flat fingerprints .
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031166512A CN100410964C (en) | 2003-04-28 | 2003-04-28 | Acquisition and splicing method of rolling fingerprints on three sides |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031166512A CN100410964C (en) | 2003-04-28 | 2003-04-28 | Acquisition and splicing method of rolling fingerprints on three sides |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1542684A CN1542684A (en) | 2004-11-03 |
| CN100410964C true CN100410964C (en) | 2008-08-13 |
Family
ID=34320432
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB031166512A Expired - Lifetime CN100410964C (en) | 2003-04-28 | 2003-04-28 | Acquisition and splicing method of rolling fingerprints on three sides |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100410964C (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100367296C (en) * | 2006-01-18 | 2008-02-06 | 北京飞天诚信科技有限公司 | Fingerprint Image Acquisition Imaging Method |
| WO2007107043A1 (en) * | 2006-03-22 | 2007-09-27 | Pinewave Biometrics Technology Co., Ltd. | An image splicing method of acquiring whole sliding fingerprint |
| CN101888469B (en) * | 2009-05-13 | 2013-03-13 | 富士通株式会社 | Image processing method and image processing device |
| KR101180854B1 (en) * | 2011-07-19 | 2012-09-07 | 주식회사 유니온커뮤니티 | Rolling Fingerprint Image Acquiring Apparatus and Method |
| CN102368298A (en) * | 2011-11-12 | 2012-03-07 | 东莞市中控电子技术有限公司 | Double-finger, single finger and rolling fingerprints acquisition, registration and identification apparatus |
| CN106384073A (en) * | 2015-07-28 | 2017-02-08 | 北京众城巨元科技发展有限公司 | Living body acquisition rolling and flat printing fusion acquisition fingerprint method |
| CN105184218B (en) * | 2015-07-30 | 2020-12-01 | Oppo广东移动通信有限公司 | A method and device for fingerprint entry |
| CN105205442B (en) * | 2015-08-07 | 2019-10-25 | 北京眼神智能科技有限公司 | The method and apparatus of fingerprint collecting |
| CN105303173A (en) * | 2015-10-19 | 2016-02-03 | 广东欧珀移动通信有限公司 | Method and device for reducing misrecognition rate |
| CN106446775B (en) * | 2016-08-26 | 2019-09-17 | Oppo广东移动通信有限公司 | A kind of fingerprint identification method, device and electronic equipment |
| CN110717168A (en) * | 2019-09-23 | 2020-01-21 | 联想(北京)有限公司 | Biological information input method, electronic equipment and computer storage medium |
| CN112580556A (en) * | 2020-12-25 | 2021-03-30 | 北京集创北方科技股份有限公司 | Optical fingerprint acquisition method and device, electronic equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000201907A (en) * | 1999-01-14 | 2000-07-25 | Nec Corp | Fingerprint detection method |
| CN1320847A (en) * | 2001-05-18 | 2001-11-07 | 清华大学 | Fingerprint image sensor based on waveguide holographic technique and method for acquiring finigerprint image |
| US20020146157A1 (en) * | 2001-04-09 | 2002-10-10 | Goodman Mitchell E. | Fingerprint acquisition assembly using prism and camera |
| CN1388482A (en) * | 2001-05-25 | 2003-01-01 | 刻克洛普株式会社 | Method for obtaining fingerprint with linear fingerprint sensor |
-
2003
- 2003-04-28 CN CNB031166512A patent/CN100410964C/en not_active Expired - Lifetime
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000201907A (en) * | 1999-01-14 | 2000-07-25 | Nec Corp | Fingerprint detection method |
| US20020146157A1 (en) * | 2001-04-09 | 2002-10-10 | Goodman Mitchell E. | Fingerprint acquisition assembly using prism and camera |
| CN1320847A (en) * | 2001-05-18 | 2001-11-07 | 清华大学 | Fingerprint image sensor based on waveguide holographic technique and method for acquiring finigerprint image |
| CN1388482A (en) * | 2001-05-25 | 2003-01-01 | 刻克洛普株式会社 | Method for obtaining fingerprint with linear fingerprint sensor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1542684A (en) | 2004-11-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108805840B (en) | Image denoising method, device, terminal and computer readable storage medium | |
| US10558841B2 (en) | Method and apparatus for recognizing fingerprint ridge point | |
| US8306288B2 (en) | Automatic identification of fingerprint inpainting target areas | |
| CN104978578B (en) | Mobile phone photograph text image method for evaluating quality | |
| CN100410964C (en) | Acquisition and splicing method of rolling fingerprints on three sides | |
| CN109509163B (en) | A method and system for multi-focus image fusion based on FGF | |
| WO2011097936A1 (en) | Fingerprint image enhancement method | |
| Ahmed et al. | Comparative analysis of a deep convolutional neural network for source camera identification | |
| CN106203326B (en) | A kind of image processing method, device and mobile terminal | |
| CN111259792B (en) | DWT-LBP-DCT feature-based human face living body detection method | |
| CN110782413A (en) | An image processing method, device, equipment and storage medium | |
| CN111192241B (en) | Quality evaluation method and device for face image and computer storage medium | |
| CN103400367A (en) | No-reference blurred image quality evaluation method | |
| CN112560734A (en) | Method, system, device and medium for detecting reacquired video based on deep learning | |
| Vijayakumar | Selective image enhancement and restoration for skin cancer identification | |
| CN112785572A (en) | Image quality evaluation method, device and computer readable storage medium | |
| WO2018107574A1 (en) | Method and device for detecting see-through register anti-counterfeiting characteristics | |
| Kumar et al. | Detection of Copy-Move Forgery Using Euclidean Distance and Texture Features. | |
| CN112329572B (en) | Rapid static living body detection method and device based on frame and flash point | |
| Chen et al. | Color image splicing localization algorithm by quaternion fully convolutional networks and superpixel-enhanced pairwise conditional random field | |
| Shehin et al. | Adaptive bilateral filtering detection using frequency residuals for digital image forensics | |
| CN117690120A (en) | A vehicle monitoring method and system for capturing license plates with mobile devices | |
| CN105913427A (en) | Machine learning-based noise image saliency detecting method | |
| Ahmed et al. | Blind copy-move forgery detection using SVD and KS test | |
| Sharma et al. | Technical assessment of various image enhancement techniques using finger vein for personal authentication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| ASS | Succession or assignment of patent right |
Owner name: BEIJING HAIXIN KEJIN INFORMATION TECHNOLOGY CO., Free format text: FORMER OWNER: SHANGHAI COGENT BIOMETRICS IDENTIFICATION CO., LTD. Effective date: 20061117 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20061117 Address after: 100038 Alex Hua Tian building, room 609, North pony factory, Beijing, Haidian District Applicant after: Beijing Hisign Cogent Co.,Ltd. Address before: Shanghai city Pudong New Area 201203 GuoShouJing Road No. 498 Software Park Building No. 23 room 203209 Applicant before: SHANGHAI COGENT BIOMETRICS IDE |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term | ||
| CX01 | Expiry of patent term |
Granted publication date: 20080813 |