Real-time welding condition monitoring by roughness information extracted from surface images