DriveWorks SDK Reference

| 0.6.67 Release

/builds/driveav/dw/sdk/samples/stereo/stereoRectifier/README.md
Go to the documentation of this file.
1 # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_stereo_rectifier_sample Stereo Rectifier Sample
4 
5 The Stereo Rectifier sample demonstrates stereo rectification.
6 
7 ![Unrectified and rectified images](sample_experimental_stereo_rectifier.png)
8 
9 The above image shows:
10 - Top: Input left and right image with parallel red line showing that epipolar lines are not parallel.
11 - Bottom: Rectified images.
12 
13 The sample consumes:
14 - Two videos taken from a calibrated stereo camera
15 - Rig configuration XML file, which contains the calibration of the camera (extrinsics and intrinsics)
16 
17 The sample then performs rectification on the videos.
18 
19 ### Usage
20 
21  ./sample_stereo_rectifier
22 
23 ### Runtime Commands
24 
25  space : pause
26 
27 ### Input Arguments
28 
29  --video0=pathTo/videoLeftRect.h264
30  --video1=pathTo/videoRightRect.h264
31  --single-input=1 (if only one unput is provided)
32  --rigconfig=pathTo/rig.xml
33 
34 Where the rig XML file contains the intrinsics and extrinsics for the stereo
35 camera. For guidance on producing the rig configuration file, see
36 <a href="NVIDIA_DriveWorks_Calibration_Tool.pdf" target="_blank">NVIDIA DriveWorks Calibration Tool</a>.