Portray rail head surface crack 3D contour through image analysis and morphology reconstruction