the image preprocessing is based on a genetic algorithm, image self-adapting correction combined with a normalization non-complete Beta function and an image binarization method based on a pulse coupling neural network; the rail identifying and fitting is based on fuzzy edge detection fast algorithm ...