8.3 Pose algorithm testing (3D testing)
Figure 8.11 Two groups of centroids are shown corre- sponding to one marker. Two groups can be produced if there is sufficient background noise.
Figure 8.12 A ROI that moves back and forth by one pixel can be broken into three parts. When the ROI is to the left it consists of the left part and the centre part. When the ROI is in the right it consists of the right part and centre part.
of centroids to occur. The image sensor has a black level subtraction mode  that allows the average dark pixel value to be subtracted from each pixel. With this enabled, the effects of background noise were reduced substantially .
Pose algorithm testing (3D testing)
This section covers testing the pose algorithm in isolation. In Figure 8.1 this corresponds to testing the system between points 1 and 2. The intention is to determine how well it performs under ideal conditions, using synthetic data. The synthetic data represents the test configuration used in Section 8.1 and does not have any noise overlaid onto it.
Figures 8.13a,b show two examples of the the algorithm’s behaviour over iterations. Figure 8.13a shows an example of the algorithm converging well.
a number of s the number
of iterations increases the point cloud variance (F (q), defined in Chapter 7) decreases.
the variance decreases so is approximately 0.005 m.
does the position error. The position error after The algorithm has reached a local minimum for
the final step F (q) as there
is a flat part of the converge further.
Figure 8.13b shows an example of poor performance from the algorithm. In this case the
algorithm stops converging early.
lthough the variance decreases monotonically the po-
mum position error is 0.026 m.
Clearly this is much worse than the first example.