![Image](http://img136.imageshack.us/img136/681/3dscanner.th.jpg)
Instead of taking pictures all the time, I'm using a video and extracting the frames in virtualdub, I got some encouraging results for a first test-
![Image](http://img136.imageshack.us/img136/5945/outputalpha.png)
However... I've got some problems.
Firstly, milk is prone to bubbles and has too much surface tension, so the resolution isn't as good as it should be. If you try to break the surface down with a detergent then you get more bubbles, which is no good. I'm looking for an opaque liquid with a really thin surface that's not very viscous and won't strip the paint off or stain my mum's tacky ornaments.
Secondly, my algorithm for reconstruction sucks. The video compression artefacts ruin the nice flat surfaces and the auto-balance changes the colours between frames. I guess I need some kind of blur / flood-fill / average difference thing but I haven't decided what yet..
Thirdly, a constant flow of liquid doesn't mean constant depth, I need some kind of constant calibration object in the scan, like a 45 degree slope or something. Area of cross sections won't cut it because part of the object will be occluded... there's also the problem of perspective correction
Finally, how do you go about merging multiple heightmaps from different directions into a solid mesh? Sounds like a hard (yet fun) problem.
Any ideas?