Development of machine-vision technology for inspection of railroad track