0% found this document useful (0 votes)
153 views

Useful Matlab Code

This document provides links and code for various image processing and computer vision techniques useful for a final year project, including local phase quantization, neural network pattern classification, fingerprint minutiae extraction, image binarization, ridge bifurcation detection, and Gabor filtering. Code examples are provided for binarization, ridge orientation detection, and applying a Gabor filter to an image.

Uploaded by

Fodelman Fidel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
153 views

Useful Matlab Code

This document provides links and code for various image processing and computer vision techniques useful for a final year project, including local phase quantization, neural network pattern classification, fingerprint minutiae extraction, image binarization, ridge bifurcation detection, and Gabor filtering. Code examples are provided for binarization, ridge orientation detection, and applying a Gabor filter to an image.

Uploaded by

Fodelman Fidel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Final Year Project

Useful Matlab Code

Local Phase Quantization


(https://chungheimankennis.wordpress.com/2015/03/
20/local-phase-quantization/)

March 20, 2015 chungheimankennis  Useful Matlab Code


h p://www.cse.oulu.fi/CMV/Downloads/LPQMatlab
(h p://www.cse.oulu.fi/CMV/Downloads/LPQMatlab)
Advertisements

REPORT THIS AD

REPORT THIS AD
Leave a comment

Tutorial on classifying pattern with network network


(https://chungheimankennis.wordpress.com/2015/03/
20/tutorial-on-classifying-pattern-with-network-
network/)

March 20, 2015 chungheimankennis  Useful Matlab Code


h p://uk.mathworks.com/help/nnet/gs/classify-pa erns-with-a-neural-network.html
(h p://uk.mathworks.com/help/nnet/gs/classify-pa erns-with-a-neural-network.html)

Leave a comment

Minutuae Extraction
(https://chungheimankennis.wordpress.com/2015/03/
17/minutuae-extraction/)
March 17, 2015 chungheimankennis  Useful Matlab Code
h p://uk.mathworks.com/matlabcentral/fileexchange/31926-fingerprint-minutiae-
extraction/content/Fingerprint_Minutiae_Extraction/Minutuae_Extraction.m
(h p://uk.mathworks.com/matlabcentral/fileexchange/31926-fingerprint-minutiae-
extraction/content/Fingerprint_Minutiae_Extraction/Minutuae_Extraction.m)

Leave a comment

binarization
(https://chungheimankennis.wordpress.com/2015/03/
12/binarization/)

March 12, 2015March 16, 2015 chungheimankennis  Useful Matlab Code


h p://uk.mathworks.com/help/images/ref/im2bw.html
(h p://uk.mathworks.com/help/images/ref/im2bw.html)

clear all
[X,map]=imread(’25.bmp’);
BW = im2bw(X,map,0.38);
imshow(X,map), figure, imshow(BW)
imshow(BW,’border’,’tight’);

*Need to adjust the level manually depending on the quality of the picutre

Leave a comment

ridge bifurcation
(https://chungheimankennis.wordpress.com/2015/03/
11/matlab-code/)

March 11, 2015March 12, 2015 chungheimankennis  Useful Matlab Code


h p://uk.mathworks.com/matlabcentral/fileexchange/16728-fingerprint-
application/content/FingerPrint/html/fingerprint.html#20
(h p://uk.mathworks.com/matlabcentral/fileexchange/16728-fingerprint-
application/content/FingerPrint/html/fingerprint.html#20)

-ridge bifurcation

Leave a comment

Matlab code to use


(https://chungheimankennis.wordpress.com/2015/03/
09/matlab-code-to-use/)

March 9, 2015March 12, 2015 chungheimankennis  Useful Matlab Code


h p://www.csse.uwa.edu.au/~pk/research/matlabfns/
(h p://www.csse.uwa.edu.au/~pk/research/matlabfns/)

Fingerprint Enhancement

ridgesegment.m (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/ridgesegment.m)
identifies ridge-like regions of a fingerprint image. It also normalises the intensity values of the image.
ridgeorient.m (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/ridgeorient.m)
estimates the local orientation of ridges in a fingerprint.
plotridgeorient.m
(h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/plotridgeorient.m) plots ridge
orientations calculated by ridgeorient.
ridgefreq.m (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/ridgefreq.m) estimates
the local ridge frequency across a fingerprint image.
freqest.m (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/freqest.m) estimates the
ridge frequency within a small block of an image. This is used by ridgefreq.
ridgefilter.m (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/ridgefilter.m)
enhances a fingerprint image using oriented filters.
Example (h p://www.csse.uwa.edu.au/~pk/research/matlabfns/FingerPrints/Docs/index.html) of using
these functions above.

h p://matlabsproj.blogspot.co.uk/2012/06/optimization-of-image-recognition.html
(h p://matlabsproj.blogspot.co.uk/2012/06/optimization-of-image-recognition.html)

h p://141708.157.fileflash.com/info/ (h p://141708.157.fileflash.com/info/)

h p://www.fingerprintrecognition.it/neuralfinger.asp
(h p://www.fingerprintrecognition.it/neuralfinger.asp)

Leave a comment

Gabor filter
(https://chungheimankennis.wordpress.com/2015/03/
05/gabor-filter/)

March 5, 2015March 11, 2015 chungheimankennis  Useful Matlab Code


h p://uk.mathworks.com/matlabcentral/fileexchange/23253-gabor-filter
(h p://uk.mathworks.com/matlabcentral/fileexchange/23253-gabor-filter)

function gabor_example()
% an example to demonstrate the use of gabor filter.
% requires lena.jpg in the same path.
% the results mimic:
% h p://matlabserver.cs.rug.nl/edgedetectionweb/web/edgedetection_examples
(h p://matlabserver.cs.rug.nl/edgedetectionweb/web/edgedetection_examples)
% .html
% using default se ings (except for in radians instead of degrees)
%
% note that gabor_fn only take scalar inputs, and multiple filters need to
% be generated using (nested) loops
%
% also, apparently the scaling of the numbers is different from the example
% software at
% h p://matlabserver.cs.rug.nl (h p://matlabserver.cs.rug.nl)
% but are consistent with the formulae shown there
lambda = 8;
theta = 0;
psi = [0 pi/2];
gamma = 0.5;
bw = 1;
N = 8;
img_in = im2double(imread(‘1a.jpg’));
img_in(:,:,2:3) = []; % discard redundant channels, it’s gray anyway
img_out = zeros(size(img_in,1), size(img_in,2), N);
for n=1:N
gb = gabor_fn(bw,gamma,psi(1),lambda,theta)…
+ 1i * gabor_fn(bw,gamma,psi(2),lambda,theta);
% gb is the n-th gabor filter
img_out(:,:,n) = imfilter(img_in, gb, ‘symmetric’);
% filter output to the n-th channel
theta = theta + 2*pi/N;
% next orientation
end
figure(1);
imshow(img_in);
title(‘input image’);
figure(2);
img_out_disp = sum(abs(img_out).^2, 3).^0.5;
% default superposition method, L2-norm
img_out_disp = img_out_disp./max(img_out_disp(:));
% normalize
imshow(img_out_disp,‘border’,’tight’);

Leave a comment
Final Year Project (h ps://chungheimankennis.wordpress.com/)
Create a free website or blog at WordPress.com. (h ps://wordpress.com/?ref=footer_website)

You might also like