how to write matlab code for a rotation invariant of a point(x,y)

조회 수: 4 (최근 30일)
Thangameena
Thangameena 2013년 10월 3일
댓글: Thangameena 2013년 10월 7일
i am doing matching algorithm for fingerprint. in this matching input fingerprint is rotated so the point also got rotated . how to match the rotated point with normal point because i need to calculate the distance. while calculating if the distance is same its a same point due to rotation distance vary..

답변 (1개)

danny
danny 2013년 10월 3일
have a look at the procrustes function
[d,Z,tr] = procrustes(X, Y);
it takes two sets of points; the original points(X) and the rotated/translated points(Y),
it will give you both the translation and rotation inside tr.
  댓글 수: 1
Thangameena
Thangameena 2013년 10월 7일
if i use this code. when i display tr i will get T=[74x104 double]; b=0; c=[1x104 double]. i dint understood what it is. i will explain that i have a set of 60 (x,y) points as a template(stored).. i will get one template(input) with set of approximately 30 to 60 (x,y)points.. but these input points may be rotated or translated.. i have to calculate the distance between two points (both in stored and input template). if the two distance(calculated input template and stored template) is equal those two are same point.. my problem is the input point is slightly translated so the (x,y)values will vary in input. because of this variation my distance is also vary.. so how can i found which point is translated/rotated. then i need to rotate as a original template. after that i will do matching

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by