Proposed on the basis of nondestructive testing technology, such as ultrasonic testing and X-ray detecting, image processing of hull welding based on MATLAB is a simple detecting method to detect the quality of welding. By image processing, physical dimensions, such as circumferences and shapes, as well as the intensity and texture features of welds can be concluded. Then, through numerical analysis, quality problems, including porosities, slags, undercuts, overlaps, welding defects and others, if exist, can be determined. This method decreases the cost and reduces the harm to people’s health. Experimental results showed that the detecting system can calculate and determine the major features of the welds effectively and accurately, and possesses good practical value.