Hello, I am trying to develop a 3d scanner using a light stripe projector, a camera and a turntable but I am having difficulties and I was wondering if anyone could help me. The proccess that I am following is:
- Calibrate camera, using the center of my turntable as the world origin
- Find the center of the light stripe for each scanline in image coordinates
- Find the 3D location of each stipe point (in camera coordinates) using the equations: xc = (tan(a) * b * x) / (f + tan(a) * x) yc = (tan(a) * b * y) / (f + tan(a) * x) xc = (tan(a) * b * f) / (f + tan(a) * x) where b , the distance between the projector and the camera ;
- Convert the camera coordinates into world coordinates using the calibration info
- For each position of the turntable , rotate the acquired coordinates about the y axis:
xw' = zw * Sin(rotation) + xw * Cos(rotation) yw' = yw zw' = zw * Cos(rotation) - xw * Sin(rotation)
Is there something wrong with the steps I am following ? If not, I assume that the error is the conversion of camera to world coordinates.Can anyone help me with that?
Thanks