Automatic weld recognition and extraction from real-time X-ray images using quadratic curve fitting and multi-order differences analysis of intensity profile