Solved

Reconstruction of 3D curves from two 2D projections ...

Posted on 1998-12-16
5
267 Views
Last Modified: 2010-04-27
Hi..

      If I got two projections of a 3D curve on two image planes how to reconstruct the curve.Assuming we know the position and orientaion of those two iamge planes....

      please respond me soon.....

vijay
0
Comment
Question by:vijaybrd_99
5 Comments
 
LVL 1

Expert Comment

by:OeilNoir
ID: 1013722
that's indeed very general.. with what program? or language do you want to do that?
it's likely that the picture format will affect the "how to do it"... give more precision please.
0
 
LVL 8

Expert Comment

by:netmage
ID: 1013723
if you want this answered youi will have to provide all information.

to create the "Z" co-ordinate for 3d with only 2 2d sources available would not be to hard but it will have to intersect at some point and you will have to work out a grid for this.

Perspective will be another problem.
Try to convert you calculations so that you correct one view to being 90 degrees from reference to the other image.
0
 

Author Comment

by:vijaybrd_99
ID: 1013724
OeilNoir....!  & netmage ...!

      Thanq for ur response..

      The problem is that  we will be given 2d points on two image planes which are taken from two different views( may not be 90 degrees)i.e. two diffrent positions and orientaions.We will be given the position and orientation of two image planes and two sets of 2d points( no of points in each set may not the same... meansthere may not be synchronization of cameras on two image planes) of the curve on two image planes.So,how to construct the 3D curve from these 2D points. Focal lengths of two cameras also assumed to be known.

      I want to solve this problem in "C"language on "Unix" operating system.Ofcourse,Language is not the main criterion.U please give good algorithm or mathematical background..
And also suggest me web sites and books that I have to reffer.

     I think U got my point....

      Thanq once again.
vijay
0
 
LVL 10

Accepted Solution

by:
rbr earned 200 total points
ID: 1013725
Assume that the first camera has the right coordinates for x and z
and the second camera is rotated with angular a if a is 90 degrees all will be ok. Then the second camera has the coordinates for y and z. If not you must project
(x1,z1) position of point for camera 1
(y1;z1) position of point for camera 2
(x,y,z)=(x1,y1*cos(90-a),z1)
This should be true id the camera 2 is just rotated around the z-axis and no further rotation around ony other axes. Otherwise it will be a bit more compilcated.
An other problem will be the perspective errors of the camera, but I think they could be neclegted.
0
 
LVL 8

Expert Comment

by:netmage
ID: 1013726
Just thought of a program that was being used at job i was at.

They were using Autocad14.
There must be CAD programs out there for unix.

For what you want, it would just be a matter of creating an intersecting grid and just enter the numbers to scale.
After that it is easy to correct the 3d perspective.

If you really want to do the maths, it sounds like you'll have a hell of a matrix to construct.

Netmage
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question