Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can i makes matching between features extracted from pictures

1 次查看(过去 30 天)
Hello everybody
I am working on fingerprint identification project, I use Hu's Seven Moments Invariant algorithm, to extract the features, after that I save this features as a matrix for each picture, the database containe 60 cells, in every cell there is a matrix of 7 rows and one column, I need your help to compute the similarity between new matrix and the database, and retern the result depends on threshold.
at this time I use this code to compare between test template and train template, but it give me only the minimum distance, where I can't specify threshod.
euclidean_template=cellfun(@norm,trdata ) ;
test_template=cellfun(@norm,tedata ) ;
for i=1:length(test_template)
[minDistance, indexOfMin] = min(abs(euclidean_template-test_template(i)));
formatSpec = '%4.2f is %8.3f \n';
fprintf(formatSpec,i,indexOfMin)
end
thank you

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by