I want to simulate the structured light technique, which uses a camera-projector pair to reconstruct a 3D scene. In order to do so, I need to estimate the extrinsic params (position, orientation), and intrinsic params such as focal length of both camera and projector.
I’ve found a way to estimate all the params of camera, which can be found https://blender.stackexchange.com/questions/38009/3x4-camera-matrix-from-blender-camera
But I have a hard time computing the focal length of the projector. I’m using the textured lighting as the projector, the projected pattern has the resolution of 1024x768. I attached my blender file below, any help or insights would be appreciated.
sl_calib.blend (915 KB)