Obtaining and Installing the Code

To obtain and install KLT on Unix/Linux,
  1. 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".
  2. Type gunzip klt.tar.gz
  3. Type tar xf klt.tar. A directory called "klt" will automatically be created and all the files will go there.
  4. Move to the "klt" directory. Type make.
    NOTE: On some systems it may be necessary to change manually
    1. (in the code) expf() to exp() and logf() to log(), and/or fsqrt() to sqrtf(), or
    2. (in the Makefile) $$@ to example1 and $@ to example1, and likewise for the other examples.
      Unfortunately, all versions of make do not recognize these shortcuts.
  5. That's it. Now try some examples, by typing example1, etc.
  6. Notice that, for your convenience, unofficial copies of the User and Reference Manuals can be found in the doc directory.
  7. 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,
  1. Download the version you want:
  2. Unzip the file, which will create a klt directory
  3. Open klt/Klt/Klt.dsw and build the project using Visual C++ 6.0
  4. 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