proportions of a perspective-deformed rectangle

Here is my attempt at answering my question after reading the paper Zhengyou Zhang , Li-Wei He, “Whiteboard scanning and image enhancement” http://research.microsoft.com/en-us/um/people/zhang/papers/tr03-39.pdf I manipulated the equations for some time in SAGE, and came up with this pseudo-code in c-style: // in case it matters: licensed under GPLv2 or later // legend: // sqr(x) = … Read more

How do I reverse-project 2D points into 3D?

[*] Alright, I came here looking for an answer and didn’t find something simple and straightforward, so I went ahead and did the dumb but effective (and relatively simple) thing: Monte Carlo optimisation. Very simply put, the algorithm is as follows: Randomly perturb your projection matrix until it projects your known 3D coordinates to your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)