title: How to find the distance between the only two points in an image produced by a grating like substance?
body: <p>i need to find the distance between the two points.I can find the distance between them manually by the pixel to cm converter in the image processing tool box. But i want a code which detects the point positions in the image and calculate the distance.
  More accurately speaking the image contains only three points one mid and the other two approximately distanced equally from it...</p>