pyrochlore / Calibrator

Calibrate your projector-camera system on a single click.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calibrator

Calibrator logo

Calibrate your projector-camera system on a single click.
  • Generates both projector and camera intrinsic and extrinsic matrices
  • Spacial scan supports 720p and 1080p projectors
  • Spacial scan supports Canon DSLRs
  • Live view with Canon DSLRs
  • Saves spacial scan image
  • Supports Windows, Mac OS X, and Linux

Usage

usage description wiki

Dependencies

Build

Mac

  1. Install Qt and OpenCV from homebrew.

    $ brew install qt opencv

  2. Move the EDSDK folder to lib/EDSDK, replace lib/EDSDK/Framekwork/EDSDK.framework to be the 64 bit version.

  3. Edit calibrator.pro file, use QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 for Lion and Mountain Lion, use QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9 for Mavericks and Yosemite.

    $ nano calibrator/build/calibrator.pro

  4. Build with make or Qt Creator IDE.

    $ cd calibrator/build
    $ qmake
    $ make
    

Windows

  1. Install Qt libraries 4.8.6 for Visual Studio 2010 and latest OpenCV binary. Remember to add C:\Qt\4.8.6\bin and C:\opencv\build\x86\vc10\bin to environment variable PATH.

  2. Build with nmake or Qt Creator IDE.

    $ cd calibrator/build
    $ qmake
    $ nmake release
    

Debian Linux (untested)

  1. Install Qt from binary.

    $ sudo apt-get install libqt4-dev libv4l-dev

  2. Install OpenCV 2.4.3 from source.

    $ mkdir ~/opencv && cd ~/opencv
    $ wget -c -O OpenCV-2.4.3.tar.bz2 http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.3/OpenCV-2.4.3.tar.bz2
    $ tar xjf OpenCV-2.4.3.tar.bz2
    $ mkdir build && cd build
    $ cmake ../OpenCV-2.4.3
    $ make && sudo make install
    
  3. Build with make

    $ cd calibrator/build
    $ qmake
    $ make
    

License

BSD 3-Clause License

Credits

This software is modified from the scan3d-capture originally written by Daniel Moreno and Gabriel Taubin from Brown University, based on calibration method described in the following paper and patent.

Daniel Moreno and Gabriel Taubin. Simple, Accurate, and Robust Projector-Camera Calibration. 3D Imaging, Modeling, Processing, 2012 Second International Conference on Visualization and Transmission (3DIMPVT). IEEE, 2012.

Gabriel Taubin and Daniel Moreno. Method for generating an array of 3-d points. U.S. Patent 20140078260, March 20, 2014.

About

Calibrate your projector-camera system on a single click.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 97.4%Language:QMake 1.5%Language:Objective-C++ 1.0%Language:C 0.1%