We experiment the proposed method on the automatic inspection of weld defects of the radiographic inspection of spiral pipes. The X-ray imaging and automatic weld defect detection system is illustrated in Fig. 3. The system is developed for the inspection of spiral pipes. The system consists of a transmission vehicle, rotating rollers, an X-ray source, a flat panel detector, an image capture card, and a computer with a screen. The transmission vehicle and the rotating rollers contribute to the movement of the detected weld along the direction of the weld. The image capture card acquires the radiographic images from the X-ray flat panel detector. The image sequence is processed in the computer for the detection of weld defects.