Openframeworks addon for calibrating a kinect and a projector, currently work in progress
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore added basic OpenNI support + example Jun 23, 2013 Added chessboard translation option (not really stable for now) Jun 3, 2015


Openframeworks addon for calibrating a kinect and a projector, currently work in progress info:

used addons:

  • ofxCv
  • ofxOpenCv

Kinect Backends:

  • ofxKinectNui (supported)
  • ofxKinect (supported)
  • ofxOpenNi (supported)

For the examples

  • the above
  • ofxFenster (OpenNI and KinectNUI examples, for OF [0.7]) OR ofxSecondWindow (ofxKinect example, for OF [0.8])
  • one of the supported kinect backends (see above)
  • ofxUi
  • ofxXmlSettings

Chessboard finding parameters:

  • CV_CALIB_CB_ADAPTIVE_THRESH Use adaptive thresholding to convert the image to black and white, rather than a fixed threshold level (computed from the average image brightness).
  • CV_CALIB_CB_NORMALIZE_IMAGE Normalize the image gamma with equalizeHist() before applying fixed or adaptive thresholding.
  • CALIB_CB_FAST_CHECK Run a fast check on the image that looks for chessboard corners, and shortcut the call if none is found. This can drastically speed up the call in the degenerate condition when no chessboard is observed.

Calibration parameters

  • CV_CALIB_FIX_PRINCIPAL_POINT The principal point is not changed during the global optimization.
  • CV_CALIB_FIX_ASPECT_RATIO The functions considers only fy as a free parameter. The ratio fx/fy stays the same as in the input cameraMatrix . When CV_CALIB_USE_INTRINSIC_GUESS is not set, the actual input values of fx and fy are ignored, only their ratio is computed and used further.
  • CV_CALIB_ZERO_TANGENT_DIST Tangential distortion coefficients are set to zeros and stay zero.