![]() But if you pay attention, you might notice that even to the trained eye the slabs in the distance look longer than those near by. So either the drawing is inaccurate, or the slabs have different sizes. I already know the angle between the two points and radii of the circles, but I am not sure how to calculate the distance between the two. Which doesn't seem to be the case in your drawing: although points $B$ and $D$ are only $4$ slabs apart, the cross ratio measures more than $6$. ![]() ![]() Of course, all of this depends on an exact drawing. You can establish coordinates for all points in this fashion, then use the Pythagorean theorem to compute lengths from that. This gives you two points which represent the $x$ and $y$ coordinates of the point in question, and which you can measure as described above. Then any point in the ground plane may be projected onto your coordinate axes, by drawing one line connecting it to the end of the road and one line horizontal. You may choose one slab corner as the origin of your coordinate system. So you have one coordinate direction which is towards the vanishing point at the end of the street, and another coordinate direction orthogonal to that which is horizontal and therefore only subject to affine transformations. Right now I'd suggest you think of the slab directions as coordinate directions. If you want to measure distance between points which are not located on such a slab-edge line, things become a bit more complicated. If the vanishing point of a given line is at infinity, like for the horizontal lines in your picture, then they are only subject to an affine transformation, so ratios of lengths on these lines are preserved by the perspective projection. Using homogeneous coordinates to handle infinite values, one can verify this property for a non-deformed situation, and one can also show that the cross ratio is invariant under projective transformations, hence it must be correct in that image as well. So let $B,C$ be two corners of a slab, and let $A$ be the intersection of that line with the vanishing line, then you can measure the position of any point $D$ on that line. If $A,B,C,D$ are collinear and $A$ is the vanishing point of that line, then the cross ratio $(A,B C,D)$ will give you $\frac$, i.e. You can use the cross ratio for this purpose.
0 Comments
Leave a Reply. |