Live Fourier Transform for Windows

[Ed: a new, completely rewritten version of this code can be found here, with a precompiled Windows version available at the bitbucket site courtesy of Joachim Kohlbrecher]

Since entering paternity leave, I have had little time to come up with something new to post here. However, one colleague was so kind as to send me his Windows version of the live fourier transform program discussed before. His runs on his Lenovo laptop (but may be more widely applicable) and uses the Windows built-in Matlab webcam code. Framerates are markedly better than my OS X code, but memory requirements are significant and reinitialisation of the camera every few seconds generates a flash.

The code is available here, with many thanks to Jakob R. Eltzholtz for making his code available. If you have suggested improvements or changes, please do not hesitate to contact Jakob and/or me.


  1. Hi Brian,
    I would like first to thank you very much for the great information about SAXS.
    I have a question about Live Fourier Transform, I would like to download it to use it on my defense presentation. I tried to do that but it seems that the link for the download
    is not activated. My computer is mac and I can work either on mat- lab or yorick.
    Would you please help me to download it.

  2. Hello everyone,

    Just to say that I was sucessful in running this FTcamdemo_Lenovo01 on a MatLab (R2007b) version installed at a Samsung laptop with Windows 7. No changes on the code were necessary.

  3. Hello,
    I downloaded the program. It works quite good.
    How can I open the console? I want to change the framerate.
    Is there a help-file available?
    How can I get the program for 32-Bit WinXP.
    I want to use the software for easier focussing in scanning electron microscopy.

    Thanks in advance

  4. Hi Benjamin,

    There is a windows binary available on the bitbucket page:
    I have not touched a Windows computer for the last 10 years or so, so the Windows version was not compiled by me but by Joachim Kohlbrecher. Therefore I am not sure if it is for 32 or 64-bit architecture. There is a help on the command-line options available if you start the program from the windows console (“Start -> Run -> cmd”? it has been a while) with the option of -h or –help. I hope that helps!



  5. Hello Brian,
    thanks for the fast reply. unfortunately this is the 64-bit-version. Adding -help did not work either. I can run the program on my office pc but not at the microscope. Perhaps I could contact Joachim Kohlbrecher to help me.


Leave a Reply

Your email address will not be published.



This site uses Akismet to reduce spam. Learn how your comment data is processed.