PanScan 3D Scanner
Panscan is an experimental 3D scanner
A DSLR camera is positioned on a precise linear actuator on which it pans from left to right. An Canon 7D can be used for its superb FullHD recording capabilities (or Canon 600D).
Alternativly, an firewire/USB camera can be used, such asĀ DMK 41BF02 made by The Imaging Source. The micro-controller of the actuator controls the moment of the camera exposure which takes place multiple times on certain positions on actuator while panning from left to right. The individual frames are captured by laptop where the processing can take place in real-time. I chose consumer DSLR camera for the wider availability, great lenses, ability to use without laptop, so the processing can take place off-site.
According to previously determined movement of each pixel we could calculate where should we look for that particular pixel in each new image. With each new image we can recalculate relative movement of every pixel more accurately. After all images have been analyzed, program calculates 3D position of every pixel.
First test
Source test image:
Subtracting each image from the first one we get a bell curve for intensity of each pixel:
From that we can calculate depth of each pixel. If we fit the bell curve into this data, we can calculate where the peak of the curve is.
Simple plane test
Simple comparison between images
Iterative comparison of images
3D Head test:
Rounded frame values
Gauss calculation for each point – Fitting the curve























