Program Codes

This page contains source programs coded by our laboratory. They are formatted by ``tar'' and ``gzip''. If you download them, unpack them by ``gunzip'' and ``tar'' and follow the instructions described in the README files. All the programs are in the public domain; they do not contain licensed codes or parts of commercial software.

Geometric Computation

Fundamental matrix computation (C++) (2003/6/16 correct.c fixed)

This program optimally computes the fundamental matrix from point correspondences between two images. When you unpack the package, a directory named ``fundamental'' is automatically created. For the details, see README, which will be created in that directory.

References:

Flow fundamental matrix computation (C++) ( zip for windows)

This program optimally computes the flow fundamental matrix from point correspondences between two images regarded as defining optical flow. When you unpack the package, a directory named ``flowmat'' is automatically created. For the details, see README, which will be created in that directory.

References:

Homography computation (C++)

This program optimally computes the homography from point correspondences between two images. When you unpack the package, a directory named ``Homography'' is automatically created. For the details, see README, which will be created in that directory. To compile this program, you need the library file ``matrix''. Download it and set it up before compiling the homography program.

References:

3-D rotation estimation (C++) (2010/5/25 Corrected)

This program optimally estimates a 3-D rotation matrix from two sets of corresponding 3-D points. When you unpack the package, a directory named "Rotation" is automatically created. For the details, see README, which will be created in that directory. To compile this program, you need the library file ``matrix''. Download it and set it up before compiling the rotation program.

References:

Conic fitting (C++)

This program optimally fits a conic to given points in two dimensions. When you unpack the package, a directory named ``conicest'' is automatically created. For the details, see README, which will be created in that directory.

References:


Image Processing

Background Subtraction (C)

This program executes background subtraction robust to illumination chage. When you unpack the package, a directory named "ImDiff" is automatically created. For the details, see README, which will be created in that directory.

References:


Libraries

Matrix (C++)

This library file contains various tools for vector/matrix/tensor computation. When you unpack the package, a directory named "Matrix" is automatically created. For the details, see README, which will be created in that directory.