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.
in Final_part2.pdf have come the formula that not work, but in Wau university by peter write a program like this for orientation image like fingerprint.
in following , I have commented som For , in that , I want to calculate formula in that pdf paper. but not work.
can u say me y it not Work with For lines?
can u say me , What is "denom" variable and how to calculate this?
regards
zahedpoor
blksize=16;
f = fspecial('sobel'); % Generate sobel filter. sobel is gradient mask,
Gx = filter2(f', im); % Gradient of the image in x
Gy = filter2(f, im); % ... and y
% Analytic solution of principal direction
denom = sqrt(Gxy.^2 + (Gxx - Gyy).^2) + eps;
sin2theta = Gxy./denom; % Sine and cosine of doubled angles
cos2theta = (Gxx-Gyy)./denom;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.