An efficient line detection technique pre-processes an image to remove edge pixels that are not on straight lines, before performing line detection. The surface coating is formed of a base layer and a functional surface layer. The diagnostic indicator may be powered separately from the data storage device. In one example, the target object is adapted to move on and inspect an airplane surface. The PFD is configured to compare the frequencies and the phases of the feedback clock signal and a reference clock signal to generate an adjusting signal.