
CHAPTER 4. CAMERA SETUP
31
dot locations and therefore reduces the errors associated with the simple point
distance calibration. NI Vision Assistant provides convenient tools to evaluate
the performance of the correction and to select an appropriate balance between
performance and computational effort.
I
Study the video
to learn how to print a dot grid target
and then calibrate the camera according to the dot grid.
I
Print the dot grid on a laser printer. Measure the distances between the align-
ment marks to confirm that the dot grid has been printed accurately. Measure
in both the horizontal and vertical directions.
I
Smooth the paper to be as flat as possible on the camera copy stand base.
10
Follow along with the steps in the video to set up a grid calibration for
your camera. Record the percent distortion and mean error for the five available
distortion models.
N
OTE
:
The camera calibration step must be repeated
any
time that you
change the camera configuration. Also be aware that the calibration is only
valid for objects that are in the same plane as the dot grid, i.e., calibrating
on the dot grid and later refocusing on a much thicker object will yield
incorrect results.
11
Try some measurements of your ruler. Include ruler positions at the center
of the image and at the edges where the distortion corrections are more notice-
able. How do these measurements compare to the mean error value reported
by the grid calibration procedure?
I
Intentionally introduce tangential distortion by tilting the camera relative to
the object plane; expect to see
perspective distortion
as imaginary lines intersecting
the dot grid now converge rather than remaining parallel.
12
Re-calibrate your camera and select the option to correct tangential distor-
tion. Screen capture both the uncorrected and corrected images for comparison.
13
Again, try some measurements of your ruler. Discuss the ability of grid
calibration to deal with perspective distortion.
(6:47)
Содержание 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...