3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

3-D Laser Scanner

Step 4Process the video

Process the video
Convert the video to an avi. Use an edge detection algorithm to find the location of the laser line. Reconstruct your 3-D model. I've included an early, uncommented MATLAB script, which was used to generate this image.
« Previous StepDownload PDFView All StepsNext Step »
39 comments
Feb 4, 2012. 3:43 PMpierceRom says:
First off , Thank you so much for that awesome instructable !! Second i was wondering in Step 4, you said to use an edge detection algorithmn to find the location of the laser line and reconstruct to a 3D model. How exactly did you do that and is there a matlab code for it too ??Any help would be much appreciated !! Thank you soo much =)
Dec 12, 2011. 7:20 AMJar Sqwuid says:
I don't suppose there's a version available for mac xD Oh well. Project for when I get home. Does it matter what color the laser light is? I imagine it is possible to get the entire head with a full rotation, given the hair is tied up nice and tight. Also, do very sharp and sudden protrusions interfere with the interpretation? Say... the scythe arm of a tyranid model lol
May 3, 2011. 5:52 AMrohanbd says:
somebody plz send me the code or matlab script at rohan.cse08@gmail.com
Mar 12, 2011. 3:42 PMv.navaneethakannan says:
I couldn able to download the script...Kindly help me out pls
Mar 25, 2011. 1:39 AMgrcan says:
(removed by author or community request)
Apr 28, 2011. 8:33 AMArulsoban says:
Buddy can u please send me to?
mail address : sobrub@gmail.com
Apr 7, 2011. 6:03 AMmayhy006 says:
Hi Grcan, I am so interesting about you project, can you e - mail me your matlab code?
mayhy006@gmail.com
Thank you
Mar 27, 2011. 12:05 AMcongnguyen13 says:
send it to me, please! My e-mail: congnguyen13@gmail.com.
thanks a lot!
Jan 6, 2011. 1:14 AMronibar02 says:
Hi Argon,
I am looking for a scanner for scanning the bottom of the foot, and use the digital data to carve insoles with a cnc system.
Can you help with that?
Feb 8, 2011. 5:33 PMgreenjedi says:
Maybe you could make a mold of the foot and then scan the mold?
Jan 19, 2011. 12:00 PMgrcan says:
When I use this script in Matlab, to give message "Undefined function or variable 'laserColor"
How can I use tihs script ? Thanks
Oct 31, 2010. 8:24 AMtanmaysane says:
Itz indeed an awesome concept.I am trying to make such a scanner myself.cud u plz help me wid the basic matlab source code. As in from where can I download the matlab code?
Sep 14, 2009. 1:20 PMgarninja says:
what file do you download on http://www.david-laserscanner.com/
Aug 29, 2010. 1:43 PMbadideasrus says:
DAVID_Setup_2_5_5.exe on the downloads page.
Dec 2, 2009. 1:01 PMMa3oud says:
hi guys!
i read all comments and all steps.
1-what's your meaning from "edge detection algorithm"? is it kind of video filter or effect? how and with which software i can do so?
2-how can i import this video file (avi) into matlab? and how use the .m file you have attached?

TNXS ALOT
Aug 29, 2010. 1:42 PMbadideasrus says:
if i'm readin this right, matlab IS the detection algorithm..... david 3d works just as well, and it's free.
Jun 16, 2010. 6:18 AMghostrider2 says:
how can i convert the file into a format that can be used with 3ds max?
Dec 22, 2009. 6:58 PMBear Enthusiast says:
Does anyone know how to get MATLAB to export a file that can be converted to an .stl, and if so: how?
Mar 20, 2010. 7:58 AMsnaut says:
hi, i wrote a script to export files to openscad, which itself can export to .stl, i'll upload it sometime soon.
Aug 29, 2009. 9:38 AMtdl711 says:
With the commetns about matlab and its cost, I wonder about using R (www.r-project.org) instead, because it is available for FREE. It is a software package not unlike matlab. The problem is I wouldn't know how to go about translating the code between the two...but it might be useful to know about if someone wanted to get around the expense of matlab.
Jun 24, 2006. 3:27 PMAriOululainen says:
Could you please send a more detailed description? Step 4 is not clear to me, have not done an "avi" before. Ari
Nov 25, 2006. 3:21 PMbloodymess says:
"avi" means Audio Video Interleave;it's a movie format, just like .mpg or .wmv. you can convert your video to an .avi with most video converters; just look online, you should find one for free.
Jul 21, 2009. 12:46 AMLVGene says:
AVI is a container.
Jun 16, 2009. 9:53 AM68K says:
AVI isn't a format, it's a container and as such the data inside the file can be in various formats. When converting anything to avi you'll need to specify codecs to use for the audio and video.
Jun 19, 2009. 11:32 AMfranklinonline says:
hes close enough explaining it to someone
Jul 2, 2009. 6:25 AMTOCO says:
is this the actual software that they used in the video. If not where is the actual software?
Jun 29, 2009. 6:39 PMkethxxx says:
I have this problem in mat lab "Error getting frame data" but I use 15 fames/s I dont know ¿? Some one give me the manual in pdf please or explain me how I give the parameter to MATLAB
Jun 24, 2009. 4:38 PMfrank the destroyer says:
this is friggin sweet, dirt cheep, and overall a breakthrough for the poor 3d modeler
May 21, 2009. 7:43 PMVal-S says:
Very interesting! Thank you! But I have Mac computer. Will you advice any soft for making 3-D model form video?
Mar 21, 2009. 9:31 AMDarrellt says:
If you use the david software do you still turn it into an avi?
Nov 22, 2008. 7:30 AMtranoxx says:
that looks expensive
Jan 13, 2009. 9:05 AMBerkin says:
It's not.
Dec 6, 2008. 6:29 AMevanwehrer says:
Not really, I did something similar with a webcam and a 35mW green laser with a line lense. It was free for me, I had all the stuff/
Jul 10, 2006. 4:19 PMall_thumbs says:
What about a Gimp script?
Sep 20, 2007. 6:30 AMblueforce4116 says:
...pretty sure the gimp is made for picture editing. I think you mean blender which dynamic deals with mesh models and such (gimp is more static)...at any rate if you don't have matlab, and there is a good chance that you don't because of its cost you can always use the free software here: http://www.david-laserscanner.com/forum/viewtopic.php?p=161#161
It actually gives a better end result. This instructables (and the included script) is more for people that actually want to see how the calculations are done. If you want a fast free working solution I would go with the DAVID laser scanner at the above link.
Oct 28, 2008. 6:05 AMrahmansaid says:
The David Scanner demo shows a horizontal line scan. Would it work with a vertical scan like this? What adjustments need to be made?
Sep 20, 2007. 6:33 AMblueforce4116 says:
sry everyone I posted the wrong link. here is the correct one: http://www.david-laserscanner.com/
Jan 22, 2006. 3:42 PMkoorosh says:
would you please tell me after edge detection how i can turn it into 3d? i am using matlab software.
Sep 20, 2007. 6:40 AMblueforce4116 says:
Are you referring to the calibration step once the script is already running? Please be more specific.
Feb 6, 2006. 1:56 PMdigitalice says:
Yeah, please submit the code/script used

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
50
Followers
4
Author:argon