Fig. 10(a) and (b) illustrates the detection of true defect in an image sequence acquired in a constant velocity of the weld pipe. The line-detecting method (Fig. 10(a)) and the proposed Kalman filtering method (Fig. 10(b)) can both detect the trajectory, and thus distinguish the true defect from the false defects.