Quick marker explanation¶
The system is based on the Fourier transform for detecting square waves (see Fig. 1). The square weave is observed when going around the center of the marker.
Fig. 1 Example square wave.¶
The square wave can be represented by a fourier series on the form.
When searching for the marker, only the two first terms in the Fourier expansion is taken into account.
The first term is used to determine the strength and orientation of the marker. The second term is used to measure the quality of the found marks. If the marker is rotated, it gives a shift in the square wave.
Notice how the phase shift is three time, larger in the second term than in the first term.This property is used to determine the quality of a found marker. The ideal marker would look like shown in Fig. 2.
Fig. 2 Ideal marker waveform decomposed into sines.¶
If the two sine waves are out of phase, the reconstructed wave will look less like a square wave and more like a sawtooth wave. This effect is used to evaluate the quality of the detected marker.
The marker can have different orders / appearances, The order is the number of repetitions of a square wave that the marker is constructed of, see Fig. 3.
Fig. 3 Different marker orders.¶
The examples of markers three different orders are shown in Fig. 3. To add an orientation to the marker one of the black regions are removed, see Fig. 4.
Fig. 4 Marker with indicator of orientation.¶
The con of removing a part of the pattern is a weaker response. The tracker determines possible orientations based on the detected phase of the marker. Then is the color of each region measured and the brightest region determines the orientation.