This post will describe the method I use to detect the center of the laser line for each row in the image. We can divide the process into two steps:
The basic idea for capturing an image of the laser line is to take two images of the object, one image will have the laser turned off and the other one will have the laser turned on. If these images are taken in a short time span the the difference between them should only be the laser line. For this to work a background with no movement is required, otherwise the movement will show up in the final image. The images are also captured in greyscale for easier computing.
The center of the laser line can be approximated with sub-pixel accuracy by using the method for calculating the weighted mean, this works since the intensity of the laser line will be highest at the middle and lower at the edges as illustrated here:
Read more »
So about a year ago I decided to build a 3D scanner and I spent a couple of month building a prototype (shown in the picture below), but the project was put on the shelf after that due to my final project at university. Now that I have some more free time I have started to build on my scanner again. I have built a proper version of the scanner that is more refined and less of a quick prototype. The only thing missing is the motherboard and a rewritten software. I will try to give a quick description of the hardware and software in the following sections.
Read more »