5.0

5.0 | 8 ratings Rate this file 278 downloads (last 30 days) File Size: 1.2 MB File ID: #22595

Surface recostruction from scattered points cloud Part2

by Luigi Giaccari

 

06 Jan 2009 (Updated 18 Mar 2009)

BSD License  

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

Download Now | Watch this File

File Information
Description

Second part of surface recostruction submission: Delaunay2_5D.  
 
This part, differently from the first one, supports any kind of open surfaces. It can substite tools like griddata in cases where points are completly scattered. If they aren't in z=f(x,y) form griddata doesn't work, a surface recostructor is needed.  
 
 Here is a brief description:  
 
Delaunay2_5D  
 
Simplified version of the Delaunay2_5D algorithm based on 2.5D delaunay criterion.  
 
This version has been developped for open surface.  
 
Differently from crust based algorithm does not ensure a tight  
  triangluation and sometimes self-intersecant triangles are generated, it is also generally slower. The final surface may need some repair work which this utilitie does not offer.  
 
But there are two great advantages, it can be applied on any kind of open surface for which the Crust fails, it supports not regular surface like the Moebius ribbon, and most of all, surface can have any kind of holes, open feature shouldn't create problem.  
You can see the screenshoot or demo models for examples.  
 
 
Here is a simple example:  
 
load Nefertiti.mat%load input points from mat file  
 
[t]=Delaunay2_5D(p);  
 
figure(1)  
        hold on title('Output Triangulation','fontsize',14) axis equal  
        trisurf(t,p(:,1),p(:,2),p(:,3),'facecolor','c','edgecolor','b')  
 
Input:  
             p is a Nx3 array containing the 3D set of points  
Output:  
             t are points id contained in triangles nx3 array .  
 
 
 
If any problems occurs in execution, or if you found a bug, have a suggestion or question just contact me at:  
 
giaccariluigi@msn.com  
 
 
report about models on which the algorithm fails are greatly aprecciated.  
 
If you find this utility usefull free donations can be done at:  
 
http://giaccariluigi.altervista.org/blog/

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
SURFACE RECOSTRUCTION FROM SCATTERED POINTS CLOUD PART1
This submission has inspired the following:
Surface Parametrizer, HOW TO PLOT A COLOURED SURFACE FROM 3D SCATTER, SURFACE RECOSTRUCTION FROM SCATTERED POINTS CLOUD PART1, SURFACE RECOSTRUCTION FROM SCATTERED POINTS CLOUD (Part3)

MATLAB release MATLAB 7.6 (R2008a)
Other requirements Should work on all platform
Zip File Content  
Other Files Delaunay2_5D_280109/Delaunay2_5D.m,
Delaunay2_5D_280109/Falangi.mat,
Delaunay2_5D_280109/Foot.mat,
Delaunay2_5D_280109/HandOliver.mat,
Delaunay2_5D_280109/Hypersheet.mat,
Delaunay2_5D_280109/Mannequin.mat,
Delaunay2_5D_280109/Monkey2.mat,
Delaunay2_5D_280109/Nefertiti.mat,
Delaunay2_5D_280109/Pipes.mat,
Delaunay2_5D_280109/TestDelaunay2_5D.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
14 Jan 2009 elegantfall Li fantastic job
27 Jan 2009 Michael Jordan  
28 Jan 2009 Luigi Giaccari The Author:  
I received an e-mail about problems on Matlab R2007a (7.4.0). The problem is a skinny triangle on mannequin chin. That shoudn't be there.  
On my version R2008a everything is working fine the model is recostructed correctly. I would like to know if somebody else got the same or different problems in versions previous to mine. Please send reports to my e-mail
29 Jan 2009 Matthew Eyster This is a great surfacing tool - easily the best Matlab one I've seen. This is a great surface reconstruction tool for random point clouds as produced by lidar/ladar sensors.
06 Mar 2009 Atul Kumar Awesome job!!! God Bless you...
20 Mar 2009 133131321313132 2321232323123231 good job
22 Mar 2009 USTC ÁÔ thanks a lot
13 Apr 2009 Cat Strickland This is an extremely useful file. Thank you!
13 Jun 2009 Gladnon Galoshev Great work! 
 
Can you point to the description of used algorithm (white paper or something else)? 
 
Regards 
 
Gladnon
Please login to add a comment or rating.
Updates
07 Jan 2009 Updated presentation
22 Jan 2009 Should be more suitable for graohical purposes
28 Jan 2009 Changed a little the algorithm, suppressed a plot that was for debug purpose
18 Mar 2009 Added link to my blog
Tag Activity for this File
Tag Applied By Date/Time
3d Luigi Giaccari 06 Jan 2009 15:27:05
cloud Luigi Giaccari 06 Jan 2009 15:27:05
cocone Luigi Giaccari 06 Jan 2009 15:27:05
crust Luigi Giaccari 06 Jan 2009 15:27:05
data export Luigi Giaccari 06 Jan 2009 15:27:05
delaunay Luigi Giaccari 06 Jan 2009 15:27:05
grid Luigi Giaccari 06 Jan 2009 15:27:05
image processing Luigi Giaccari 06 Jan 2009 15:27:05
plot Luigi Giaccari 06 Jan 2009 15:27:06
mesh Luigi Giaccari 06 Jan 2009 15:27:06
mathematics Luigi Giaccari 06 Jan 2009 15:27:06
plot3 Luigi Giaccari 06 Jan 2009 15:27:06
points Luigi Giaccari 06 Jan 2009 15:27:06
recostruction Luigi Giaccari 06 Jan 2009 15:27:06
simulation Luigi Giaccari 06 Jan 2009 15:27:06
surf Luigi Giaccari 06 Jan 2009 15:27:06
surface Luigi Giaccari 06 Jan 2009 15:27:06
triangulation Luigi Giaccari 06 Jan 2009 15:27:06
graphics Luigi Giaccari 06 Jan 2009 15:27:06
trisurf Luigi Giaccari 06 Jan 2009 15:27:06
trimesh Luigi Giaccari 06 Jan 2009 15:27:06
3d Cristina McIntire 15 Jan 2009 13:06:53
2d Cristina McIntire 15 Jan 2009 13:06:53
mathematics Cristina McIntire 15 Jan 2009 13:06:53
image processing Cristina McIntire 15 Jan 2009 13:06:53
data import Cristina McIntire 15 Jan 2009 13:06:53
data export Cristina McIntire 15 Jan 2009 13:06:53
simulation Cristina McIntire 15 Jan 2009 13:06:53
biotech Luigi Giaccari 22 Jan 2009 15:20:20
automotive Luigi Giaccari 22 Jan 2009 15:20:20
aerospace Luigi Giaccari 22 Jan 2009 15:20:20
image Luigi Giaccari 24 Jan 2009 03:35:24
lidar Matthew Eyster 29 Jan 2009 21:07:12
ladar Matthew Eyster 29 Jan 2009 21:07:35
lidar Grzegorz Karasinski 16 Feb 2009 10:03:17
3d tayfur cengiz 13 May 2009 14:33:10

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