Rockwell Automation 5370-CVIM2 Module User Manual
Page 204

5
Chapter
Chapter 6
Reference Tools
6–45
Figure 6.38 provides three examples to illustrate the results of RMS
calculations. In these examples, the feature image is shown at three different
points in the search image during a search operation. The gray values are
shown for each pixel in the feature and search images.
Figure 6.38
Examples: Three RMS Calculations During Search Operation
C
47
49
49
38
49
51
52
40
52
53
55
56
61
62
64
65
Search image
A
47
47
49
38
49
51
52
40
52
53
55
56
61
62
64
65
55
56
64
65
Search image
Feature image
47
49
49
38
49
51
52
40
52
53
55
56
61
62
64
65
Search image
B
55
56
64
65
Feature image
55
56
64
65
Feature image
Sum of squared
errors = 502
“Ignore” setting = 8
“Max. RMS” setting = 10
502
4 = 125.5
Square root of
125.5 = 11.2 RMS
Since 11.2 > 10,
No match occurs
Sum of squared
errors = 221
221
4 = 55.25
Square root of
55.25 = 7.43 RMS
Since 7.43 < 10,
An acceptable
match occurs
Sum of squared
errors = 0
0
4 = 0
Square root of
0 = 0
Since 0 < 10,
Perfect match occurs