I am Charmie

メモとログ

2014-01-01から1ヶ月間の記事一覧

Confusion matrix with LaTeX

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…

skype on Ubuntu 12.04 64bit

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

CurveLab Installation (C++)

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…

AR Bone Puzzle

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

LaTeX: count the number of words

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 …

adjust space between columns in table

A variable \tabcolsep adjusts the space between columns in table. The following command changes the space to 1.5pt:\setlength{\tabcolsep}{1.5pt}

Change the version of a PDF file

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

PDF annotation on Ubuntu

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.

convert AR face database to other image formats

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…