sprhawk / structured-light

Automatically exported from code.google.com/p/structured-light
0 stars 0 forks source link

Triangulation #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I've taken a look at the code and im unsure were the triangulation step takes 
place. Ive played around with phase shifting and phase unwrapping algorithms.I 
a algorithm that determines both the camera and projector calibration matrices. 
And I have a unwrapped "phase-map", now I need to do the triangulation but I 
have been struggling... so If you could help.

If you could please point me to a algorithm or maybe share some code that does 
triangulation it will be greatly appreciated.

Kind Regards,
A.

Original issue reported on code.google.com by andre01...@gmail.com on 26 Sep 2010 at 6:12

GoogleCodeExporter commented 9 years ago
Hi,

This kind of question might work better on the structured light google group: 
http://groups.google.com/group/structured-light

In short, the triangulation step is currently not proper triangulation at all 
but something that resembles a depth image. For example, in the Processing app:

http://code.google.com/p/structured-light/source/browse/trunk/Processing/ThreePh
ase/PhaseUnwrap.pde

You'll see there is a function makeDepth() doing this depth image-like step.

If you want to properly triangulate your phase image to xyz coordinates, I 
recommend looking at Zhang's "Recent progresses on real-time 3D shape 
measurement using digital fringe projection techniques" in section 2.5 where he 
explains this.

Original comment by kylecimc...@gmail.com on 27 Sep 2010 at 5:01