34
CHAPTER 5. STEREO VISION
2. USB webcam and tabletop camera copy stand
3. Dual-camera mounting bracket
4. Dot grid
5. Foam-core board
6. Plastic bricks
5.5
Preparation
NI Vision includes a number of LabVIEW VIs to work with stereo webcams as
well as two example VIs to demonstrate these VIs working together to process
two webcam video streams to produce a depth image and associated cursor to
measure the depth at each point in the scene.
I
Review the theoretical concepts and terminology for stereo vision: Open the
NI Vision installation folder, e.g.,
C:\Program Files (x86)\National
Instruments\Vision
, open the
Documentation
subfolder, double-click
the
NIVisionConcepts.chm
help file, and expand the hierarchy to select
Machine Vision | Stereo Vision | Stereo Vision Concepts.
I
Study the help file for the example VI
Calibrate Stereo Vision System
: In
the same folder, double-click the
IMAQVision.chm
help file, expand the hi-
erarchy to select
Machine Vision VIs | Stereo Vision VIs
, and then
select both
Stereo Vision Example
(this a renamed version of the
Calibrate
Stereo Vision System
VI) and
Stereo Vision FAQs
.
I
Locate the two example VIs: Open the NI LabVIEW installation folder, e.g.,
C:\Program Files (x86)\National Instruments\LabVIEW 2014
, and
then open the subfolder
examples\Vision\Stereo Vision
. You should
see two subfolders
Calibrate Stereo Vision System
and
Compute Depth
Image
. Open each of these folders and confirm that you see a VI that you can
run.
N
OTE
:
A modified version of the
Calibrate Stereo Vision System
VI is
available in the
NI myRIO Vision Essentials Guide
download file. This
modified version works with the table-top camera copy stand so that the
telescoping camera column may placed in back so as not to obstruct access
to the baseboard.
Summary of Contents for NI myRIO
Page 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Page 2: ......
Page 11: ...Part I Machine Vision Fundamentals...
Page 12: ......
Page 31: ...Part II Introductory Machine Vision Projects...
Page 32: ......
Page 38: ...32 CHAPTER 4 CAMERA SETUP...
Page 44: ...38 CHAPTER 5 STEREO VISION...
Page 61: ...Part III Machine Vision Application Projects...
Page 62: ......
Page 72: ...66 CHAPTER 8 COIN COUNTER...
Page 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Page 92: ...86 CHAPTER 11 DMM TEST STAND...
Page 134: ...128 CHAPTER 17 MARBLE SORTER...
Page 135: ...Part IV Appendices...
Page 136: ......
Page 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Page 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Page 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Page 149: ...E MarbleSorterConstructionDetails To be continued...
Page 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...