5.0

5.0 | 2 ratings Rate this file 534 downloads (last 30 days) File Size: 4.64 MB File ID: #22185

Surface recostruction from scattered points cloud Part1

by Luigi Giaccari

 

20 Nov 2008 (Updated 02 Jan 2009)

Builds a triangulated surface given a 3D points cloud. They do not need to be in the z=f(x,y) form

I am interested in collaboration

Download Now | Watch this File

File Information
Description

This is a simple Surface recostruction code based on crust algorithm. Given a 3D points cloud returns a tight triangulation.  
   
This version lacks surface post treatments so the output could be not regular. Anyway it gives an idea of how the surface looks like. So for graphical purposes this should be good.  
 
Remember the crust algorithom needs a cloud representing a volume so open surface may give inaccurate results. For example : a plane can not be triangulated, a semi-sphere yes.  
For open surface you can see Part2 of my submission.  
 
The more points are given the best the surface will be fitted, of course in this case you would have to wait more and in the worst case a memory help error may occurs. The best results are obtained with more points in high curvature feature.  
 
 
If any problems occurs in execution, or if you found a bug, have a suggestion or question just contact me at:  
 
 
giaccariluigi@msn.com  
 
Espacially on models which the algorithm fails. Thank you.

Acknowledgements
This submission has inspired the following:
, Surface recostruction from scattered points cloud Part2
MATLAB release MATLAB 7.5 (R2007b)
Other requirements Should work on all platforms
Zip File Content  
Other Files
MyCrust020109/TestMyCrust.m,
MyCrust020109/Block.mat,
MyCrust020109/Standford_Bunny.mat,
MyCrust020109/hippo.mat,
MyCrust020109/gargo50k.mat,
MyCrust020109/Elephant.mat,
MyCrust020109/Dino.mat,
MyCrust020109/Skull.mat,
MyCrust020109/MyCrust.m,
MyCrust020109/Horse.mat,
MyCrust020109/Cactus.mat,
MyCrust020109/MEXimage.bmp,
MyCrust020109/Chair.mat,
MyCrust020109/
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Nov 2008 oruganti murthy Hi 
Excellent contribution. 
with some small modifications, I could also use it for visualization of my 3D colored surface data. 
Thank you very much, 
 
regards, 
ramana
02 Dec 2008 Evgeny  
Please login to add a comment or rating.
Updates
21 Nov 2008 added help lines
01 Dec 2008 Tryng to make the code more readeable
02 Dec 2008 Changed the title to scattered from unscattered, sorry trying to learn english anyway i mean points do not need to be in z=f(x,y) form.
03 Dec 2008 Same of the last update, I hope this time the new title will appear
02 Jan 2009 2x faster, fixed a little bug on shield points.

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com