• Sub-Pixel Laser Line Detection

    FilleK01/31/2015 at 17:40 0 comments

    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:

    1. Capturing an image of the laser line
    2. Calculating the center of the laser line.

    Capturing an image of the laser line

    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.

    Calculating the center of the laser line

    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 »

  • First Post!

    FilleK01/25/2015 at 21:20 0 comments

    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 »