2014-03-01から1ヶ月間の記事一覧
OpenGM has two files, alphaexpansionfusion.hxx and fusion_mover.hxx, both of which seem to implement Fusion Move algorithm. Yes, both of the code in fact implement Fusion Move algorithm but they are different. 1. AlphaExpansionFusionThis w…
The following script downloads the source code of OpenGM it, and installs it. sudo apt-get -yV install libhdf5-serial-dev wget https://github.com/opengm/opengm/archive/master.zip -O opengm-master.zip unzip opengm-master.zip mkdir opengm-bu…
The following script downloads the source code of libDAI it, and installs it. wget https://github.com/yesimon/libDAI/archive/master.zip -O libdai-master.zip unzip libdai-master.zip mkdir libdai-build cd libdai-build cmake ../libDAI-master …
The following script downloads the source code of TinyXML2, compiles it, and installs it. wget https://github.com/leethomason/tinyxml2/archive/master.zip -O tinyxml2-master.zip # download the source code unzip tinyxml2-master.zip mkdir tin…
The activation requires administrator right. Without the right, we will have 0x80070190 error. The solution is to run any of office application as an administrator and then do activation.
the following settings are required: sudo apt-get -yV install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh
this is not on VirtualBox installation on Ubuntu 12.04, which is based on this. sudo apt-get -yV install dkms sudo gedit /etc/apt/sources.list # add the following line at the end of /etc/apt/sources.list deb http://download.virtualbox.org/…
PlayOnLinux is a software for Linux with which we can play software/applications for Windows on Linux. PlayOnLinux uses wine to enable to use software for Windows. We don't have to install wine before installing PlayOnLinux because PlayOnL…
qpdfview is a pdf viewer, which provides tab-browsing and copying pdf document as a picture. sudo apt-add-repository ppa:b-eltzner/qpdfview sudo apt-get update sudo apt-get -yV install qpdfview
Patch files for IBFS (MaxFlow-IBFS) and GCO were corrected in OpenGM 2.3.1!!
TeXMaths is an LibreOffice's extension that enables to make equations with LaTeX on LibreOffice. The installation is very simple: Download .oxt file from download pageRun LibreOffice -> Tools -> Extension manager -> Add -> Specify the down…
This code loads an image lena.bmp and shows the original image and its grayscaled one in a window, which shows text "Original image | Grayscale image" on its bar. [code lang="c"] std::string strFile = "lena.bmp"; cimg_library::CImg<unsigned char> img1(st</unsigned>…
This code loads a image lena.bmp and converts the image to grayscale one. [code lang="c"] std::string strFile = "lena.bmp"; cimg_library::CImg<unsigned char> img1(strFile.c_str()); cimg_library::CImg<unsigned char> img2; int color = _imgInput.spectrum(); // to check th</unsigned></unsigned>…
CImg provides several constructors for cimg_library::CImg type objects. [code lang="c"] std::string strFile = "lena.bmp"; cimg_library::CImg<unsigned char> img1(strFile.c_str()); cimg_library::CImg<unsigned char> img2; img2 = c…
CImg is provides as a single header file, however it requires several libraries to use CImg in C++ code. CMakeLists.txt and Makefile in ./CImg-1.5.8_rolling140227/examples tells us which libraries should be set.
Default applications for each file type are set in a text file /usr/share/applications/defaults.list . In the file, an application is assigned to each file type as a default application as text/plain=gedit.desktop The above line means that…
Install mozc sudo apt-get -yV install ibus-mozc run ibus as a startup Dash -> Startup -> Add command: ibus-daemon -drx
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