Professional Documents
Culture Documents
horizon
Computer Vision
Pertemuan 6 : Introduction to machine Vision 2
Machine Vision
• 3D Camera vision in general environments hard
• Machine vision:
• Use engineered environment
• Use 2D when possible
• Special markers/LED
• Can buy working system!
• Photogrammetry:
• Outdoors
• 3D surveying using cameras
200
150
100
50
Objects
Binari Image :
Black = 0
White = 1
XY Table
Laser Projector
Digital Camera
Field of View
0 0 0 0 0 0
Mean filter 0 0 0 0 0 0
0 0 0 0 0
0 0 0 0 0 0 0 22 22 22 0 0
=
0 0.11 0.11 0.11 0
0 0 200 0 0 0 0 22 22 22 0 0
0
0
0
0
0
0
100
0
0
0
0
0
* 0
0
0.11 0.11 0.11
0 0 0
0
0
0
0
22
0
33
11
11
33
11
11
11
11
11
0
Compute empirically
* =
Filter h
Input image f Output image g
--Noise Elimination
The noise is eliminated but the operation causes loss of
sharp edge definition.
In other words, the image becomes blurred
Pertemuan 6 : Introduction to machine Vision 23
Convolution with a non-linear mask
Median filtering
There are many masks used in Noise Elimination
The principle of Median Mask is to mask some sub-image, use the median of the
values of the sub-image as its value in new image
J=1 2 3
I=1 23 65 64 Rank: 23, 47, 64, 65, 72, 90, 120, 187, 209
2 120 187 90
47 209 72 median
3
-1 0 1 -1 -2 -1
-2 0 2 0 0 0
-1 0 1 1 2 1
Magnitude:
Orientation:
Initial Image
User
Desired Image
u
: Current Image Features s t
: Desired Image Features sd
E= [ à ]
One point
E = [y 0 à y ã] e t = s t − sd
Pixel coord
ô õ ô õã
yu yu
E= à
yv yv e t d = s t d − sd = 0
Many points
2 3ã 2 3
y.1 y.1
E = 4 .. 5 à 4 .. 5
Pertemuan 6 : Introduction to machine Vision y16 y16 0 36
Other (easier) solution: Image-based motion control
Note: What follows will work for one or two (or 3..n) cameras.
Either fixed (eye-in-hand) or on the robot.
Here we will use two cam
Achieving 3d tasks
Motor-Visual function: y=f(x)
via
2d image control
Pertemuan 6 : Introduction to machine Vision 37
Vision-Based Control
Image 1 Image 2
Image 1 Image 2
Image 1 Image 2
Image 1 Image 2
Image 1 Image 2