In this paper,the features of the digital image of weld defects which were obtained from X-ray real-time inspection have been investigated by mean of image gray analysis method. A S-T nonlinear image enhancement technique is presented to increase the definition and contrast and to reduce the noises remarkably. By the use of image line-gray gradient,the weld defect has been collected success fully. Experiment results show that digital image of weld defects with high noise, narrow gray lever region,and low co...