108
CHAPTER 15. MOTION DETECTOR
Functional Requirements:
The
Motion Detector
will:
1. Compute the optical flow of the imaged scene using the LabVIEW
IMAQ
Optical Flow (HS)
and
IMAQ Overlay Motion Vectors
VIs,
2. Provide front-panel controls for both of the optical flow VIs,
3. Display any of the following user-selectable images:
(a) Original color webcam image with an overlay of the optical flow
vector field,
(b) Current image frame in grayscale format,
(c) Previous image frame in grayscale format,
(d) Velocity Image #1 computed from the optical flow VI,
(e) Velocity Image #2 computed from the optical flow VI, and
(f) Thresholded version of the Velocity Image #1
4. Display the motion activity with a panel meter,
5. Activate all four NI myRIO on-board LEDs when the motion activity
value exceeds a user-defined threshold.
Figure 15.1 on the preceding page shows the front-panel of the
Motion Detector
application viewing a moving object. The arrows indicate optical flow velocity
throughout the image.
Required Resources:
1. NI LabVIEW and NI Vision Assistant
2. NI myRIO with power supply and USB cable
3. USB webcam and tabletop camera copy stand
Deliverables:
1. Lab report or notebook formatted according to instructor’s requirements;
include front-panel screen shots to demonstrate that your application
meets functional specifications
2. .zip archive file containing all project files:
(a) Representative images
(b) Vision Assistant script
(c) LabVIEW project file set
Содержание NI myRIO
Страница 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Страница 2: ......
Страница 11: ...Part I Machine Vision Fundamentals...
Страница 12: ......
Страница 31: ...Part II Introductory Machine Vision Projects...
Страница 32: ......
Страница 38: ...32 CHAPTER 4 CAMERA SETUP...
Страница 44: ...38 CHAPTER 5 STEREO VISION...
Страница 61: ...Part III Machine Vision Application Projects...
Страница 62: ......
Страница 72: ...66 CHAPTER 8 COIN COUNTER...
Страница 85: ...CHAPTER 10 KEYED OPTICAL LOCK 79 Figure 10 3 Typical expected results for the Geometric Matching step...
Страница 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Страница 92: ...86 CHAPTER 11 DMM TEST STAND...
Страница 134: ...128 CHAPTER 17 MARBLE SORTER...
Страница 135: ...Part IV Appendices...
Страница 136: ......
Страница 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Страница 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Страница 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Страница 149: ...E MarbleSorterConstructionDetails To be continued...
Страница 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...