I am Charmie

メモとログ

library

control HMD by C++

I just wanna show images and videos on an HMD, HTC Vive so far. To build as simple system as possible, I want C++ based development. Python is also fine. OpenVRC++ OpenXRC++ Ogre3dC++ library for graphics OpenHMD C++ for handling HMDs

OpenCV 3.1.0 on Ubuntu 14.04

cmakeのバージョンを3.1.3以上にする howto With QTのチェックを外す

OpenCV-Python Tutorials (ver 3.0.0)の和訳

研究室の学生のためにOpenCV-Python Tutorialsの和訳を試みる.githubでチュートリアルのソース1式が公開されているので,このファイルを翻訳→内部ネットワークに公開という手順でいこう.

FLANN: sample code to try different search algorithms

[code lang="cpp"] include <iostream> include <string> include <vector> include <map> include <flann/flann.hpp> include <flann/io/hdf5.h> std::vector<flann::flann_algorithm_t> indexFlannAlgorithm = { flann::FLANN_INDEX_LINEAR, flann::FLANN_INDEX_KDTREE, flann::FLANN_INDEX_KMEANS, flann::FLANN_INDEX_C…</flann::flann_algorithm_t></flann/io/hdf5.h></flann/flann.hpp></map></vector></string></iostream>

FLANN

IndexParam: LinearIndexParams: 全探索(brute-force) KDTreeIndexParams: randomized kd-treesの集合をparallelに探索 treesの数は1-16が良い KMeansIndexParams: 階層k-means tree CompositeIndexParams: randomized kd-treeと階層k-meansの組み合わせ KDT…

CMakeLists.txt for FLANN example

http://people.cs.ubc.ca/~mariusm/uploads/FLANN/datasets/dataset.hdf5 http://people.cs.ubc.ca/~mariusm/uploads/FLANN/datasets/dataset.dat http://people.cs.ubc.ca/~mariusm/uploads/FLANN/datasets/testset.dat [code lang="bash"] cmake_minimum_r…

FLANN installation on Ubuntu 14.04

http://www.cs.ubc.ca/research/flann/#download [code lang="bash"] sudo apt-get install libgtest-dev mkdir flann-1.8.4-build cd flann-1.8.4-build cmake ../flann-1.8.4-src make make install [/code]

CurveLab compilation on Ubuntu 14.04

Download the package from the official site. Note that the download requires user registration. Then, compile the package with the following command. make sure that FFTW was configured with ./configure --with-pic edit FFTW_DIR in makefile.…

FFTW installation

download fftw package from the official site and uncompress the file. Then, execute the following command to compile and install the package in the root directory of the uncompressed package. [code lang="bash"] ./configure make sudo make i…

C++ tensor library

Blitz++ code: http://sourceforge.net/projects/blitz/ rank: up to 11 type: dense operation: - slicing ITensor well-documented code: https://github.com/ITensor/ITensor rank: type: operation: BTAS code: https://github.com/BTAS/BTAS rank: any …

VTK 6.1.0 build on Ubuntu 14.04

following the guidance, it's easy to build VTK 6.1.0 on Ubuntu 14.04 [code language="bash"] wget http://www.vtk.org/files/release/6.1/VTK-6.1.0.tar.gz wget http://www.vtk.org/files/release/6.1/VTKData-6.1.0.tar.gz wget http://www.vtk.org/f…

VXL installation on ubuntu 14.04

VXL is a C++ library for computer vision researches. The core libraries in VXL are: vnl for numerical algorithms vil for image handling vgl for geometry etc. VXL can be installed via package manager as [code lang="bash"] sudo apt-get insta…

Blitz++: documentation

./configure make pdfevince ./doc/blitz.pdf

Blitz++ installation on Ubuntu 14.04

Blitz++ is a c++ template library for array manipulation. I'm planning to use this library for some tensor computation. Fortunately, we can install the library via Ubuntu package manager as [code lang="bash"] sudo apt-get install libblitz-…

CodeSynthesis XSD installation 2

With Ubuntu package manager, we can install both CodeSynthesis XSD and Xerces-C as [code lang="bash"] sudo apt-get install libxerces-c-dev sudo apt-get install xsdcxx [/code] To generate a class, the command xsdcxx executes code synthesis …

Boost installation on Ubuntu 14.04 LTS

My previous post mentions how to install Boost C++ library 1.53 on Ubuntu, specifically Ubuntu 12.04 LTS since Boost installation using official package manager installs Boost 1.37 (or later but younger than 1.50). Installation on Ubuntu 1…

CodeSynthesis XSD installation

CodeSynthesis XSD is an XML Schema to C++ data binding compiler, which generates C++ classes representing given xsd file(s) as a pair of cxx and hxx files. We can either build by ourselves or install using package manager, see here. To ins…

Xerces-C++ XML Parser installation

Xerces-C++ XML parser is an XML parser for C++. This library is also required for using code synthesis XSD. The library provides instruction for a href="http://xerces.apache.org/xerces-c/install-3.html">installation and build. [sourcecode …

Expat installation

Expat is an XML parser library for C. Expat is required library for using code synthesis XSD. [sourcecode language="bash"] wget downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz tar -xvzf expat-2.1.0.tar.gz mkdir expat…

CodeSynthesis XSD

Here is an instruction how to use XSD with CMake. Following the first solution by Brad Howes, we need to prepare the following CMakeLists.txt as well as FindXercesC.cmake and FindXSD.cmake.

script for install TinyXML2 on Ubuntu

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…

CMakeLists.txt for STASM version 4.1.0

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…