MATLAB and Octave Functions
for Computer Vision and Image Processing


Peter Kovesi

School of Computer Science & Software Engineering
The University of Western Australia
Crawley, Western Autralia. 6009


Please report any bugs and/or suggest enhancements to

Please note that I receive so many mail messages regarding this site that I have difficulty responding to them all. I do not have the time to provide an on-line vision problem solving service! However, I will endeavor to respond to mail that directly concerns the use of individual functions.

Cheers,
Peter Kovesi



The complete set of these functions is available as a gzipped tar file MatlabFns.tar.gz for Unix users.
Once you have untarred this file MATLAB users should remove the Octave subdirectory from this package (or ensure it is not in your MATLAB path) to avoid problems.

Note that I develop my code under Mac OS X.

Legend for MATLAB/Octave compatibility


Can't find what you want here? Have a look at
Other highly recommended Computer Vision software sites


Feature detection via Phase Congruency


References:


Spatial feature detection

Reference:


Non-maxima suppression and hysteresis thresholding



Edge linking and line segment fitting


image

edges

labeled edges

fitted line segments


Test grating for edge detection


Test image

Canny edge image

Phase congruency

Colour coded for feature type


Image denoising

 

Reference:


Surface normals to Surfaces


Surface Normals
     
Surface Reconstruction

Reference:


Scalogram calculation



Anisotropic diffusion

 


Grey scale transformation and enhancement


Frequency domain transformations


Functions supporting projective geometry


image of beach

rectified beach

Matching


Model fitting and Robust estimation


Putative matches obtained
by matchbycorrelation.m
   
Inlying matches consistent
with fundamental matrix

Lens Distortion Correction


original image

corrected image

Sorry, this code is broken due to changes I have made to the edge linking code above. Hopefully I will get round to fixing it soon.

These functions make use of:
drawedgelist.m, edgelink.m, lineseg.m, maxlinedev.m, mergeseg.m, implace.m, removenan.m, show.m, fitline.m


Fingerprint enhancement

   

Interesting images






ASCII Image Generation



Image Display, Image Writing and Miscellaneous