Fig. 8From: Real time detection system for rail surface defects based on machine visionThe direction chain code of pixel LBack to article page