Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

core and delta matlab code

Status
Not open for further replies.

sayim133

Newbie level 3
Joined
Mar 25, 2008
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,308
Hello everyone.
Iam doing a project in fingerprint.
I need a matlab code for detecting the core and the delta.
thanks
 

the most elegant method is use of poincare index. it can find both core and delta
 

could u plz,, tell me how can i use Poincare index in Matlab,,,
 

function tres =poin(tt)

vv=[];
vv=[vv,flipdim(tt:),1),1)];
vv=[vv; tt(1,2:end)'];
vv=[vv; tt(2:end,size(tt,2))];
vv=[vv; flipdim(tt(size(tt,2),2:end-1)',1)];
res=zeros(size(vv));
for i=1:size(vv,1)-1
res(i)= vv(i+1)-vv(i);
end;
res(size(vv,1))=vv(1)-vv(size(vv,1));

for i=1:size(res,1)
if abs(res(i)) < pi/2
res(i) = res(i);
elseif res(i) < - pi/2
res(i) = pi + res(i);
else
res(i) = pi - res(i);
end;
end;


tres=sum(res);



USB microscope camera
 

bt what is input of this function ??

function tres =poin(tt)

vv=[];
vv=[vv,flipdim(tt:),1),1)];
vv=[vv; tt(1,2:end)'];
vv=[vv; tt(2:end,size(tt,2))];
vv=[vv; flipdim(tt(size(tt,2),2:end-1)',1)];
res=zeros(size(vv));
for i=1:size(vv,1)-1
res(i)= vv(i+1)-vv(i);
end;
res(size(vv,1))=vv(1)-vv(size(vv,1));

for i=1:size(res,1)
if abs(res(i)) < pi/2
res(i) = res(i);
elseif res(i) < - pi/2
res(i) = pi + res(i);
else
res(i) = pi - res(i);
end;
end;


tres=sum(res);



USB microscope camera
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top