How to export point cloud with colour data

Hello,
I have a pointcloud with colour values by using fscatter3 . My question is how do I export this pointcloud with the colour values? I have looked into the matpcl library, and pointCloud2mesh.mat , and makeVRMLfile.mat but unable to export with colour. Any help is appreciated.

2 个评论

what is fscatter3?
What does it mean to "ex[port this pointcloud wit the color values?"
Why would .MAT files (our way of saving the workspace) help with this?
Please clarify the question.
Hi Doug,
This is what the fscatter3 function does: fscatter3 effcient 3d scatter plot. H = fscatter3(X,Y,Z,C.MAP) is a faster version of SCATTER3 which can be used to render colored point clouds. The 3d points are defined by the N element column vectors X, Y, and Z, and the per-vertex colors by the Nx3 matrix C. This function was derived from fscatter3 by Felix Morsdorf, which is available on Matlab Central:
http://www.mathworks.com/matlabcentral/fileexchange/
By "exporting the pointcloud with the color values", I mean that I want to add RGB color data into the pointcloud. A pointcloud is a collection of points that are connected with the nearest neighbour method. It is essentially a 3D mesh. My pointcloud currently generates a monochrome (grey) 3D image, but I want to add the color information in it too.
I have been able to add color data into my pointcloud using the fscatter3 function, but I am not able to export it into a .ply / .wrl / .stl file. Can you assist me on this?
Thanks, Ryan

回答(0 个)

此问题已关闭。

标签

提问:

2014-3-7

评论:

2014-3-7

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by