I am trying to get started with a stereo experiment and wanted to know the mistakes I might have made during the experiment. The goal is to calculate the depth map of an object using one light projector and one camera mounted in a stereo configuration.
I have a DLP 4500 lightcrafter of resolution 912x1140 made by Texas Instruments and a camera of resolution 600x800. I am planning to use triangulation methods to estimate the depth. This is how I have setup the components.
1) The experiment is conducted in an enclosure to eliminate effects of ambient light.
2) The structured light pattern that has to be projected onto the object is loaded as an image. The image is projected onto one of the walls of the enclosure. The projector lens is focused until the projection is clear and the projector is moved backwards or forwards until the projection fits within the boundaries of the face of the enclosure that the projector projects on.
3) The camera is mounted on an adjustable stand with all six degrees of freedom. It is adjusted facing the projection. I am unsure about this part-The camera is placed in the same vertical line as the lens of projector. The camera is placed above the projector at a distance of about 15 cm. This would be the baseline b for the triangulation formula.
4) The lens of the camera is adjusted until the image observed in the camera is sharp and the entire object and some part of the projected image is made to appear in the frame of the camera.
5) The camera is calibrated using a checkerboard in ROS. The camera intrinsics matrix is generated and thus the focal length f required for the triangulation formula is obtained.
Is this setup okay for the experiment? Have I made a mistake at some stage. I am new to computer vision and may have overlooked some aspects. Thanks.