Be the first to rate this file! 322 downloads (last 30 days) File Size: 177.79 KB File ID: #23447

HOW TO PLOT A COLOURED SURFACE FROM 3D SCATTER

by Luigi Giaccari

 

27 Mar 2009 (Updated 10 Aug 2009)

Code covered by BSD License  

Simple script that shows how to plot surfaces in the z=f(x,y) form with rgb values at each point.

Download Now | Watch this File

File Information
Description

The description has been moved to:

http://www.advancedmcode.org/how-to-plot-a-coloured-surface-from-3d-scatter.html

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Surface Fitting using gridfit, SURFACE RECONSTRUCTION FROM SCATTERED POINTS CLOUD PART1, SURFACE RECONSTRUCTION FROM SCATTERED POINTS CLOUD PART2
This submission has inspired the following:
SURFACE RECOSTRUCTION FROM SCATTERED POINTS CLOUD PART3, SURFACE RECONSTRUCTION FROM SCATTERED POINTS CLOUD PART1, SURFACE RECONSTRUCTION FROM SCATTERED POINTS CLOUD PART2

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Should work on all platform
Zip File Content  
Other Files license.txt,
ScannerData.mat,
Surface.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
29 Mar 2009 Jveer

what if the point cloud represents a 3D object rather than just a surface? how should i go about it to convert the outer points into a surface?

i've been stuck with this problem for a long time. the only close enugh solution i've found is 'tetramesh' but its a very bad and slow one.

01 Apr 2009 Luigi Giaccari

Please report questions on my e-mail, this space is dedicated to comments and ratings.

If you have a filled colud there are two main options, depending if your cloud comes from a tetraedral FEM mesh or not.

-If you have tetraedrons, than it is easy just get the boundary triangles.

-If you do not have them, it is more complicated, a ball pivoting or alpha shape tool is needed.

For more info, questions, suggestions contact me on my e-mail.

Please login to add a comment or rating.
Updates
28 May 2009

Grammar errors

10 Aug 2009

updated presentation

Tag Activity for this File
Tag Applied By Date/Time
surface Luigi Giaccari 27 Mar 2009 11:33:14
3d Luigi Giaccari 27 Mar 2009 11:33:14
points Luigi Giaccari 27 Mar 2009 11:33:14
scatter Luigi Giaccari 27 Mar 2009 11:33:14
rgb Luigi Giaccari 27 Mar 2009 11:33:14
color Luigi Giaccari 27 Mar 2009 11:33:14
coloured Luigi Giaccari 27 Mar 2009 11:33:14
signal processing Luigi Giaccari 27 Mar 2009 11:33:14
image processing Luigi Giaccari 27 Mar 2009 11:33:14
mathematics Luigi Giaccari 27 Mar 2009 11:33:14
gui Luigi Giaccari 27 Mar 2009 11:33:14
gridfit Luigi Giaccari 27 Mar 2009 11:33:14
plot3 Luigi Giaccari 27 Mar 2009 11:33:14
delaunay Luigi Giaccari 27 Mar 2009 11:33:14
triangulation Luigi Giaccari 27 Mar 2009 11:33:14
trimesh Luigi Giaccari 27 Mar 2009 11:33:14
trisurf Luigi Giaccari 27 Mar 2009 11:33:14
mesh Luigi Giaccari 27 Mar 2009 11:33:14
plot Luigi Giaccari 27 Mar 2009 11:33:14
griddata Luigi Giaccari 27 Mar 2009 11:33:14
griddata Tony 03 Apr 2009 08:50:43
griddata Wolfgang Joos 12 May 2009 06:41:56
gridfit Simon Str?bel 02 Jun 2009 05:37:27
gui vasim mulla 27 Sep 2009 07:17:23
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com