Rail Crack Detection Using Image Processing