I would like to know, can canny edge detector be used to measure the real distance between two parallel edges, say my project is to measure the distance between the rail tracks, which has to have an accuracy in micro meters. My question is, is there any possible algorithms in opencv which can get the absolute distance measurement in micrometers, the term micrometer is of most importance.I look forward for an answer.I am able to detect the edges but mere edge detection doesn't give me a solution for my problem.Please let me know if it is possible I can go forward with confidence.
Thanks a lot in advance opencv.org