Home
Matej Kristan
Ph.D. Student

E-mail: matej.kristan@fe.uni-lj.si
Tel: ++386 1 4768 876
Fax: ++ 386 1 4768 279


Hi! Welcome to my personal homepage.

Usefull programs:

  • Great Code Easy! is an application for C/C++/Java code beautifying and header management I wrote in Borland C++ Builder5. It is basically a graphical front end for two well known beautifiers: GreatCode and Jacobe. The current implementation uses precompiled beautifiers and executes shell routines but can nevertheless be very usefull for a quick code management. The coding rules are specified my modifying the GreatCode and Jacobe rule files.
    The .zip executable can be downloaded here and the source code is also available here. The current application basically meets my needs so I probably won't develop it any further, but if you feel an urge to disect/modify/adapt the code or whatever, feel free to do so.

    winzip icon Download binaries winzip icon Download source code
  • LaTeX UnPsfrag for Windows v.1.2
    Say you typeset your text in LaTeX and want to use the LaTeX font in your figures. The obvious solution is using the text replacement routines of the all mighty psfrag. But psfrag only takes the effect if the ".dvi" document is first converted to a ".ps" format. Now say you want to use the active referencing for quick browsing in AdobeAcrobat. Since the ".dvi" file has already been converted to ".ps", the features as bookmarks etc. are now lost. Thus one must bypass the exporting to ".ps" by directly exporting to pdf. This is accomplished using pdfTeXify or pdfLaTeX calls. Now, the problem is that there is no intermediate ps format, so psfrag cannot replace the text in figures and the power of text replacement is lost.

    Basically, what you have to do is first process ONLY the figures by psfrag and convert them to ".pdf". Once the figures have been processed and the text has been replaced, these new figures have to be included in your ".tex" document and the document can be exported directly to the ".pdf" file, thus retaining the pdf functionality. A pretty time-consuming task to do by hand.
    The LaTeXUnpsfrag will do this rather tedious job for you -- as long as your LaTeX document follows some simple rules, which can be found in the "readme.txt" file; for better understanding, there is also an example added. The application draws heavily on the code written in perl by FĂ©lix Valado Pomarinho, but is a bit more robust and perhaps more convenient for usage. So far I've used it to process my Msc thesis which incidently includes loads of images (and I allways use psfrag) and my colleague's Bsc thesis. Both have been processed without a fuss. However, I advise you to make backups before using this application, since it hasn't been properly tested (Although it is not written in such a way to be able to modify your ".tex" document -- rather it generates a set of supplementary files). Anyway, I am not to be held responsible for any problems you might have with the code -- do your backups and you'll be just fine.
    A little advice: Make sure to read the "readme.txt" file, especially the section which contains the list of programs required to run the LaTeXUnpsfrag; you WILL need the Perl installed and the global paths properly set.
    The executables and some quick tutorial are available here.

    winzip icon Download binaries


Other Stuff:

  • U.R.S.A.: U_R_SpaceAnnihilator! (ver.2.0)
    U.R.S.A. is little Windows-based application which simulates a space of falling stars. Actually, it's more a snowfall of stardust. If a camera is connected to the computer, the user can interact with URSA by moving in front of the camera. In the so-called "destroyer mode" the user can wipe the screen clean of the stardust. This is done by accelerating the stardust to a certain velocity and the dust will then fly off in the direction in which it was originally travelling. Thus you become, you are, space annihilator ;). As a graphical front-end I have used the OpenGL libraries, while the camera-capture and image processing are based on OpenCV libraries. The sample program I present here is my small contribution to promoting *simple* computer vision algorithms as means of *virtual* human-computer interaction. Please see the "readme.txt" file in the zip file below for a small discussion of why I call this *virtual* interaction. Currently, only the Windows compiled binaries are available.
    If you want to run the program without reading the "readme.txt" file, then: unzip, run "registerall.bat" and then run "URSA.exe". If you want to use the camera, then you should connect it to the computer BEFORE running "URSA.exe". For help, press key 'h' after the application starts.


    Keywords: Optical flow, dynamic model, visualization, gravity fields, real-time

    winzip icon Download the Windows binaries for URSA

    Available also here.


Any comments, positive as well as negative, are more than wellcome and can be sent to my email adress.

 


Page last updated: 12. March 2007