Obtaining and Installing the Code
To obtain and install KLT on Unix/Linux,
- Choose the version you want to download (You'll probably want
the most recent version):
Save it to a file named "klt.tar.gz" and move it to a directory like "~/src".
- Type
gunzip klt.tar.gz
- Type
tar xf klt.tar. A directory called "klt" will automatically be
created and all the files will go there.
- Move to the "klt" directory. Type
make.
NOTE: On some systems it may be necessary to change manually
- (in the code) expf() to exp() and logf() to log(), and/or fsqrt() to sqrtf(), or
- (in the Makefile) $$@ to example1 and $@ to example1, and likewise
for the other examples.
Unfortunately, all versions of make do not recognize these shortcuts.
- That's it. Now try some examples, by typing
example1, etc.
- Notice that, for your convenience, unofficial copies of the
User and Reference Manuals can be found in the
doc directory.
- To keep the "klt.tar.gz" reasonably sized, only three images are included.
If you want to play with the code even more, grab the
extra images (407 KB).
To obtain and install KLT on Microsoft Windows,
- Download the version you want:
- Unzip the file, which will create a klt directory
- Open klt/Klt/Klt.dsw and build the project using Visual C++ 6.0
- Change the constant in main.cpp to run the different
examples
Please let me know of any bugs you find. Moreover, any questions,
comments, suggestions, and criticisms are welcome.
If you download KLT and find it useful for your work, I would appreciate
your sending me a short email (to the address below) describing
the application in which you are using it. Such correspondence is
mutually beneficial because I am curious to know how this software is
being used, and your input can help guide future releases.
An acknowledgment in any publication describing work that uses KLT would
be greatly appreciated.
Stan Birchfield
birchfield@cs.stanford.edu