指纹对齐

时间:2013-01-28 05:21:07

标签: matlab alignment fingerprint

我想在matlab中对齐两个指纹图像,以便使用模糊库进行匹配。请帮助我。

% read two images
Im1 = imread('input_2.tif');
Im2 = imread('input_3.tif');

%  convert images to type double (range from from 0 to 1 instead of from 0 to 255)
Im1 = im2double(Im1);
Im2 = im2double(Im2);

% Calculate the Normalized Histogram of Image 1 and Image 2
hn1 = imhist(Im1)./numel(Im1);
hn2 = imhist(Im2)./numel(Im2);

% Calculate the histogram error
f = sum((hn1 - hn2).^2);
f; %display the result to console

[i,j]=samplealign(hn1,hn2);

1 个答案:

答案 0 :(得分:1)

您可以尝试imregister,例如,请参阅此link(第三部分)

您也可以从文件交换中尝试此工具:FingerPrint Application