I have the following problem, which is mostly algorithmic.
The question is:
I capture images of simple rectangles with a single camera, and I want to restore the rectangles in space. I could capture more than one image and use triangulation, but this is undesirable.
The projection matrix is not enough, since the beam is projected to the same point. The fact that the object is of known size makes me believe that the problem is solvable and there are final solutions.
If I figure out how this reconstruction can be done, I know how to program it. So I ask for an algorithmic / mathematical answer.
Any ideas are welcome Thanks
You need to calculate the inverse projection matrix. (your matrix cannot be singular)
, , , 2D. 2D-:
| -----------+----------- /|\ / | \ / | \ /---+---\VP / | \ / | \ / | \ / | \ / | -- \ / | | \ / | | \
(VP). , , , . - , , .
, 2D .
3D?
:
EDIT: , .
EDIT V2:
, Rn - , .. , m.Rn, | Rn | . , :
P1 = aR1 P2 = bR2 P3 = cR3 P4 = dR4
P1..P4 - . , , :
|aR1 - bR2| = d1 |cR3 - dR4| = d1 |aR1 - cR3| = d2 |bR2 - dR4| = d2
d1 d2 - , a, b, c d - .
, d1 d2. :
(a.R1x - b.R2x) 2 + (a.R1y - b.R2y) 2 + (a.R1z - b.R2z) 2= d1 2
R1? R2? x/y/z 1 2. , a b , x, y, z.
, , , . , 3x4 (P), , P: C.
, C, , CK, CL, CM CN (.. C K, L, M N, CxK)
3 (u1, u2, u3), 6 ( , KL KN || KL || >= || KN ||, d1 >= d2):
A.B = A B || || = A AxB = A B
m_oLogin . , , , P, ? , K, L, M, N 2D-. A, B, C D. .
, , , GPS - : "" P "", , ?
, , , . , , , - , .
Source: https://habr.com/ru/post/1704508/More articles:Linq to sql: properties of properties that may be null - c #use accented characters with the Quickbooks SDK - c #MSSQL - Divide a field into 3 fields - sqlIs there a better PureMVC alternative for flash projects? - flashWith ActiveRecord has_many through relationships, how do I remove associations when saving objects - ruby-on-railsОтправить несколько дейтаграмм с помощью одного вызова send()? - socketsSQL Reporting Services 2005 - Как получить текущую дату как ReportParameter - sql-server-2005Get last record from database - dateDelete only from memory not from database - ruby-on-railsIn Java defined by an object, is it possible to override one of the methods? - javaAll Articles