2014-01-01から1年間の記事一覧
CImg is a c++ template library for image processing provided as a huge but single header file. sudo apt-get install cimg-dev cimg-doc cimg-examples
Spyder is a Python IDE, which provides MatLab like GUI. Anaconda, mentioned in an earlier post, installed Spyder as well as other packages.
Anaconda is a kind of python related packages installer. Using Anaconda, NumPy, SciPy, MatPlotLib, iPython, etc are installed by using a single script file on Linux (must be similar on Windows and Mac). # for 64-bit version Linux wget http…
I found a better solution and post it here. sudo apt-get install python-numpy python-scipy python-matplotlib python-pandas python-sympy python-nose ipython-notebook python-matplotlib-doc python-numpy-doc python-tk sudo apt-get install pyth…
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"sudo apt-get updatesudo apt-get install acroread
I started using QPBO, published by Vladimir Kolmogorov, for solving discrete optimization problem. QPBO.h contains a sample code, which I couldn't understand at first moment. Since my colleague told me what the code means, I wrote a bit mo…
OpenGM is a C++ library for discrete optimization and inference. OpenGM uses several open source codes as external libraries. I compiled it on Ubuntu 12.04. Due to some reasons, I omitted some of the external libraries: CPlex: I spent 2-3 …
libDAI for OpenGM. The latest version, which contains CMakeLists.txt, is available on github. The following commands are for older versions. sudo apt-get install libgmp-dev cimg-dev wget http://cs.ru.nl/~jorism/libDAI/libDAI-0.3.1.tar.gz t…
There are several ways for CMake installation from source. I tried to install CMake 2.8.12.2 from source using pre-installed CMake 2.8.7 but it failed. #!/bin/bash wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz tar zxvf cmake-2…
STASM is a C++ library for face features detection using Active Shape Model. The version 4.1.0 contains a program, called TASM, that trains ASM given a set of face control points database such as MUCT. The version 4.1.0 lacks CMakeLists.tx…
The following code generates a confusion matrix whose diagonal elements have colored background. [code language="latex"] \documentclass{article} \usepackage{tabularx} \usepackage{colortbl} \usepackage{hhline} \begin{document} \begin{tabula…
wget http://download.skype.com/linux/skype-ubuntu_4.0.0.8-1_amd64.debsudo dpkg -i --force-depends skype-ubuntu_4.0.0.8-1_amd64.debsudo apt-get -f install
User guide of CurveLab explains how to install CurveLab C++. This post is a quick-note for CurveLab C++ installation w/o mex. It requires 2 main steps. 1. FFTW installationDownload FFTW version 2.1.5 from download page. Extract the compres…
Our work on medical Augmented Reality system for learning human bone anatomy will be presented at IEEE VR 2014 as a poster. http://youtu.be/cTxSx4EjZog
TeXcount counts the number of words in LaTeX document. How to setup is here though TeXLive might install it. Simple command just to count the total number of words is texcount input.texThe result is:FILE: input.texWords in text: 4415Words …
A variable \tabcolsep adjusts the space between columns in table. The following command changes the space to 1.5pt:\setlength{\tabcolsep}{1.5pt}
The following command can change the version of input.pdf to 1.4 and save as output.pdf by using Ghostscript. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Xournal can annotate PDF files on Ubuntu. It can add text boxes and some basic shapes such as circle. The annotation functions are not as high quality as PDF Xchange Viewer but satisfies me so far.
AR face database is one of the famous and well-used face databases. This post is a memo how to convert RAW images of AR face database to other formats. All images are stored as RGB RAW files and each image is of 768x576 pixels and of 24 bi…