Intel® RealSense™ Depth Module D400 Series Custom Calibration Revision 1.5.0 January 2019 INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1- 800-548-4725, or go to: http://www.intel.com/design/literature.htm. Code names featured are used internally within Intel to identify products that are in development and not yet publicly announced for release. Customers, licensees and other third parties are not authorized by Intel to use code names in advertising, promotion or marketing of any product or services and any such use of Intel's internal code names is at the sole risk of the user. Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright © 2019, Intel Corporation. All rights reserved. 2 Contents 1 Introduction ....................................................................................................... 8 1.1 Purpose and Scope of This Document ........................................................ 8 1.2 Organization .......................................................................................... 8 2 Overview .......................................................................................................... 9 2.1 Calibration API and Calibration Data Read/Write/Restore ............................. 9 2.2 Calibration Parameters .......................................................................... 10 2.3 Frame Formats Used in Custom Calibration .............................................. 11 2.4 Frame Sync .......................................................................................... 11 2.5 Accuracy .............................................................................................. 12 3 Setup ............................................................................................................. 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.1 ......................................................................... 19 3.2.5 Glut Library ............................................................................ 20 4 Calibrating 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 5 Developing Custom Calibration Application .......................................................... 42 5.1 Sample Application Source Code and Compile ........................................... 42 5.2 Calibration Mode Camera Configuration ................................................... 45 5.2.1 Emitter ................................................................................... 45 5.2.2 Auto Exposure ......................................................................... 45 5.2.3 Streaming Resolution and Format .............................................. 45 5.2.4 Image Captures ....................................................................... 46 5.2.5 Demosaic Left/Right Images for ASR / PSR SKUs ......................... 46 5.3 Detecting the Chessboard in an Image with OpenCV ................................. 46 3 5.4 Calculating Depth Camera Calibration with OpenCV ................................... 46 5.5 Calculating RGB Camera Calibration with OpenCV ..................................... 47 5.6 Calculating RGB Camera Calibration Extrinsics with OpenCV ....................... 48 5.7 Writing Calibration Parameters ............................................................... 48 6 Appendix: Unrectified Left/Right Image Formats for Calibration ............................. 49 6.1 Unrectified Calibration Format ................................................................ 49 6.2 Y12I Format ......................................................................................... 50 6.3 Y16 Format .......................................................................................... 51 4 Tables Table 2-1. Frame Formats Used in Custom Calibration* ........................................ 11 Table 3-1. Intel® RealSense™ Calibration API Resources ..................................... 18 Table 3-2. Intel® RealSense™ SDK Resources .................................................... 19 Table 3-3. OpenCV 3.3.1 Resources ................................................................... 20 Table 3-4. OpenCV 3.3.1 Libraries Required for the Example ................................. 20 Table 6-1. Left/Right Unrectified Calibration Image Formats .................................. 49 Table 6-2 Y12I Format ..................................................................................... 50 Table 6-3 Y16 Format ....................................................................................... 51 5 List of Figures Figure 2-1 Software Stack with Dynamic Calibration API and Calibration Apps ........... 9 Figure 3-1 Hardware Setup ............................................................................... 13 Figure 3-2 D415 Device .................................................................................... 14 Figure 3-3 8x7 60x60 mm Checker Calibration Target .......................................... 15 Figure 3-4 Tripod ............................................................................................. 16 Figure 4-1 Center Right Position ........................................................................ 25 Figure 4-2 Viewpoint #1 ..................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages51 Page
-
File Size-