i am doing my project n fingerprint pore modeling.

am doing anisotropic pore model.for that i need to calculate ridge orientation and ridge frequency estimation.ridge frequency is calculating usind projection based mathod.can someone help me to write code for ridge frquency estimation

 Accepted Answer

We can help you write the code if you can show us what you've done/tried so far, why it does/does not work, what you provide./[expect want] etc.
No we will not write the code for you from a vague description of a homework problem and no effort/attempt provided. "Please" goes a long way as well.

2 Comments

A = imread('D:\reshma_pg\down.jpg');
A=rgb2gray(A)
B=A;
imshow(A)
figure
sz=size(A)
for x=1:sz(1)-2
for y=1:sz(2)-2
Sa(1,1)=A(x,y);
Sa(1,2)=A(x,y+1);
Sa(1,3)=A(x,y+2);
Sa(2,1)=A(x+1,y);
Sa(2,2)=A(x+1,y+1);
Sa(2,3)=A(x+1,y+2);
Sa(3,1)=A(x+2,y);
Sa(3,2)=A(x+2,y+1);
Sa(3,3)=A(x+2,y+2);
B(x+1,y+1)=abs((Sa(3,1)+2*Sa(3,2)+Sa(3,3))-(Sa(1,1)+2*Sa(1,2)+Sa(1,3)))+abs((Sa(1,3)+2*Sa(2,3)+Sa(3,3))-(Sa(1,1)+2*Sa(2,1)+Sa(3,1)));
end
end
imshow(B)
in my work i am taking fingerprint image as my input.first step in is to partition the fingerprint image in to number of blocks.that means well defined block,illposed block,background block.for that i need to calculate "structure tensor".then orientation consistency,and intensity contrast.i have calculated the first derivative
A = imread('D:\reshma_pg\down.jpg');
A=rgb2gray(A)
B=A;
imshow(A)
figure
sz=size(A)
for x=1:sz(1)-2
for y=1:sz(2)-2
Sa(1,1)=A(x,y);
Sa(1,2)=A(x,y+1);
Sa(1,3)=A(x,y+2);
Sa(2,1)=A(x+1,y);
Sa(2,2)=A(x+1,y+1);
Sa(2,3)=A(x+1,y+2);
Sa(3,1)=A(x+2,y);
Sa(3,2)=A(x+2,y+1);
Sa(3,3)=A(x+2,y+2);
B(x+1,y+1)=abs((Sa(3,1)+2*Sa(3,2)+Sa(3,3))-(Sa(1,1)+2*Sa(1,2)+Sa(1,3)))+abs((Sa(1,3)+2*Sa(2,3)+Sa(3,3))-(Sa(1,1)+2*Sa(2,1)+Sa(3,1)));
end
end
imshow(B)
in my work i am taking fingerprint image as my input.first step in is to partition the fingerprint image in to number of blocks.that means well defined block,illposed block,background block.for that i need to calculate "structure tensor".then orientation consistency,and intensity contrast.i have calculated the first derivative for 3*3 matrix.STUCTURE TENSOR
j= 1/NB ??Bi?Bi^T
=[J11 J12
J21 J22 ].
ORIENTATION CONSISTENCY IS (J11-J22)^2+4J12^2/(J11+J22)^2....for this i need help from you to write the code

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!