
Contents
1Introduction ....................................................................................................... 8
1.1 Purpose and Scope of This Document ........................................................ 8
1.2 Organization .......................................................................................... 8
2Overview .......................................................................................................... 9
2.1 Calibration API and Calibration Data Read/Write/Restore ............................. 9
2.2 Calibration Parameters .......................................................................... 10
2.3Frame Formats Used in Custom Calibration .............................................. 11
2.4 Frame Sync.......................................................................................... 11
2.5 Accuracy.............................................................................................. 11
3Setup ............................................................................................................. 13
3.1 Hardware............................................................................................. 13
3.1.1 Device.................................................................................... 14
3.1.2 Target .................................................................................... 14
3.1.3 Tripod .................................................................................... 15
3.1.4 USB ....................................................................................... 17
3.1.5 PC ......................................................................................... 17
3.2 Software.............................................................................................. 17
3.2.1 Custom Calibration Sample Application....................................... 17
3.2.2 Intel® RealSense™ Calibration Tool and API ............................... 18
3.2.3 Intel® RealSense™ SDK........................................................... 19
3.2.4 OpenCV 3.3.0 ......................................................................... 19
3.2.5 Glut Library ............................................................................ 20
4Calibrating Device with Custom Calibration Sample Application.............................. 21
4.1 Process Overview.................................................................................. 21
4.2 Connect Device to Computer .................................................................. 21
4.3 Running Custom Calibration Sample Application ....................................... 21
4.3.1 Starting Application ................................................................. 21
4.3.2 Capturing Images from 6 Viewpoints.......................................... 22
4.4 Calibration Result.................................................................................. 35
4.5 Updating Results to Device..................................................................... 37
4.5.1 Depth Quality Check before Updating Calibration ......................... 38
4.5.2 Writing Optimized Calibration to Device ...................................... 38
4.5.3 Depth Quality Check after Updating Calibration ........................... 40
5Developing Custom Calibration Application.......................................................... 42
5.1 Sample Application Source Code and Compile........................................... 42
5.2 Calibration Mode Camera Configuration ................................................... 44
5.2.1 Emitter................................................................................... 44
5.2.2 Auto Exposure......................................................................... 44
5.2.3 Streaming Resolution and Format .............................................. 45
5.2.4 Image Captures....................................................................... 45
5.2.5 Demosaic Left/Right Images for ASR / PSR SKUs ......................... 45
5.3 Detecting the Chessboard in an Image with OpenCV ................................. 45