|Dec23-12, 01:10 PM||#1|
A simple camera problem
Hello, I have a simple(or not?) math problem:
I have equations of 3 lines in R3 trought the origin:
I know every λ, β and γ - they are real constants.
I also have a plane δ and :
l1 intersects δ in point p1,
l2 intersects δ in point p2,
l3 intersects δ in point p3
I also know:
....the distance between p1 and p2 = h
....the distance between p2 and p3 = w
....p1, p2 and p3 form a right triangle with right angle at p2 (h2+w2=(p1p3)2)
I want to find the equation of δ in terms of λ, β, γ, h and w
it should be easy to find the equation of the plane if I find the points p1, p2 and p3
I think I should compose a system, containing:
....the first six equations(which are linear, so it should be easy to solve with matrices),
....the equation for right angle in R3: w2+h2=(p1p2)2,
....the two equations for distances w and h: h2=(p1x-p2x)2+(p1y-p2y)2+(p1z-p2z)2 and w2=(p2x-p3x)2+(p2y-p3y)2+(p2z-p3z)2
There are 9 equations with 9 unknowns (3 points, each with 3 coordinates) - it should be solvable.
Have you got any ideas how to solve this? If there weren't 3 quadratic equations it would be easy.
*I know that there should be 2 planes, matching the conditions - one that I've drawn(see the image) and the other is at the opposite side of the origin. I think the two roots of the quadratic equations should find them.
|Dec23-12, 04:08 PM||#2|
Try using the intersections to get the normal of the plane and use one of the points as a point on the plane.
Basically a line is represented by L(t) = a*(1-t) + (b-a)*t where the line passes through points a and b.
Now if you solve for t for all the lines you build a normal by considering n = (p2-p1) X (p3-p1) which you normalize and then use the relationship n . (r - r0) = 0 where n is what you solved, r0 = p1, and r is a general point on the plane.
|Dec25-12, 04:22 AM||#3|
If I solve L(t) = a*(1-t) + (b-a)*t for all the lines, I can't get the points, because there are infinite number of points matching the equations. How do I use w and h ?
|Dec25-12, 05:30 PM||#4|
A simple camera problem
You can solve for t by using the fact that L(t) = point on plane for some t and then re-arrange to get the value of t.
|Jan1-13, 08:03 AM||#5|
Happy new year,
Is that what you mean ? If so, how do I find p1, p2 and p3 ?
|Jan1-13, 08:12 PM||#6|
What you have is basically L_1(t) = p1 = a1*(1-t1) + (b1-a1)*t1, L_2 = a2*(1-t2) + (b2-a2)*t2 and so on.
You extrapolate your variables in terms of the t's by relating the different forms of the line equations together.
The normal is calculated in terms of (p3-p1) X (p2-p1) and this will give the normal to the plane with point p1 on the plane.
|Similar Threads for: A simple camera problem|
|Trillion FPS camera developed at MIT camera can 'watch' the movement of light||General Physics||21|
|Simple lens question (camera)||Introductory Physics Homework||8|
|Simple Lens Diagram for a Camera||Introductory Physics Homework||3|
|Question from simple lens diagram (camera)||Introductory Physics Homework||6|
|Making a simple hi-speed camera||Computing & Technology||7|