Distance transfer is concerned with measuring lengths in the world using a reference measurement and an image. That is, given an image and a world measurement of a line in the image, our goal is to find the world length of another line.
First, we need to find the horizon. This can be done either with orthogonal parallel lines, assuming horizontal horizon and finding one vanishing point, or using Cross Ratios.
Then, we connect one end of the lines together
Connecting
Then, let
In the world, with
We can measure