Source Code

Shape from Shading
 
Zhang-Tsai-Cryer-Shah (C code)

Code form the following publication:

Ruo Zhang,Ping-Sing Tsai, James Cryer and Mubarak Shah, Shape from Shading: A Survey', IEEE Transactions on PAMI, Volume 21, Number 08, August, 1999, pp 690-706

Cryer-Tsai-Shah Method (C code) 

Source code for the Cryer-Tsai-Shah method for combining shape from shading and stereo depth maps.

Related Publication:  James Cryer, Ping-Sing Tsai and Mubarak Shah. Shape from Shading and Stereo, Pattern Recognition, Volume 28, No. 7, pp 1033-1043, Jul 1995.

 

Tsai-Shah Method (C code) 

Source code for the Tsai-Shah method for shape from shading.

Related Publication: Ping-sing Tsai and Mubarak Shah, Shape From Shading Using Linear Approximation, Technical Report, 1992. 

 
 
Fundamental Matrix

Fundamental Matrix Code (Matlab) 

normalise2dpts (Matlab) 

Computes the fundamental matrix from 8 or more matching points in a stereo pair of images using the normalized 8 point algorithm. The normalized 8 point algorithm given by Hartley and Zisserman is used. To achieve accurate results it is recommended that 12 or more points are used. The code uses the normalise2dpts.m file also provided.

On directions to using the code please refer to the code documentation.

Acknowledgements: The code was provided by Peter Kovesi. http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/

Fundamental Matrix Code (C++ code) 

Please note that the code requires OpenCV version 1.0 (April Edition) to be installed on the target system. The package includes sample stereo images together with the correspondence points.

Acknowledgements: The code was provided by Paul Smith. http://www.cs.ucf.edu/~rps43158/index.php

 

 
Mean-Shift Algorithms
Edge Detection and Image SegmentatiON (EDISON) System (C++ source)
(binary)

The EDISON system contains the image segmentation/edge preserving filtering algorithm described in the paper Mean shift: A robust approach toward feature space analysis and the edge detection algorithm described in the paper Edge detection with embedded confidence.

Acknowledgements: The source code is also available from Rutgers: http://www.caip.rutgers.edu/riul/research/robust.html
 

Approximate Mean-Shift Method (C++ code)

For instructions on using the code please refer to the readme.txt file included in the zip package. Note the code requires OpenCV to be installed on the target system.

Acknowledgements: The code was provided by Alper Yilmaz. http://www.cs.ucf.edu/~yilmaz/

 

Facial Analysis
Haar Face Detection (C++ code)

For instructions on using the code please refer to the readme.txt file included in the zip package. Note the code requires OpenCV  and fltk (an open source window toolkit) to be installed on the target system.

Acknowledgements: The code was provided by Paul Smith. http://www.cs.ucf.edu/~rps43158/index.php

 

Optical Flow

Lucas Kanade Method (matlab)

Please refer to the 'readme' file included in the package for help on using the code. Following is a test sample to demonstrate the use of this code to calculate the optical flow.
 

Acknowledgements: The code was written by Sohaib Khan. http://www.cs.ucf.edu/~khan/

 

Image Registration

Registration (matlab)

Please refer to the 'readme' file included in the package for help on using the code. Following is a test sample to demonstrate the use of this code for image registration.
 

Acknowledgements: The code for image registration along with test samples is provided by Yaser Sheikh. http://www.cs.ucf.edu/~yaser/

 
Color Space Transformations
RGB to LUV (matlab)
RGB to LAB (matlab)

 

Image Acquisition
VFM (matlab)

VFM performs frame grabbing from any Video for Windows source. On directions to using the code please refer to the code documentation. Acknowledgements: The code was written by Farzad Pezeshkpour, School of Information Systems, University of East Anglia.

 

Miscellaneous
Snakes Demo Page - (Williams-Shah Snakes Algorithm)

Interactive java demo of Williams-Shah snakes algorithm. Code written by Sebastian van Delden

Deformable Contours (C++ code)

Code for the greedy snake algorithm.

 

 

More coming soon...

 

Please Note: We do not guarantee against the existence of bugs in the code provided on this website.