Development of Automatic Crack-tracing Apparatus and its Application to Corrosion Cracking and Fatigue Crack Propagation