ColorPointCloud2PLY​(X, Y, Z, IsColor, PLYfileName2write)

Writes Point Cloud data with colormap to a PLY file
144 Downloads
Updated 14 Feb 2018

View License

ColorPointCloud2PLY(X,Y,Z,IsColor, PLYfileName2write)
ColorPointCloud2PLY writes range grid data with a colormap to a PLY file
X,Y,Z are 3 vectors representing Point Cloud
PLYfileName2write: path/name of the output ply file (e.g. 'dir/fname.ply')
ColorMap is based on Z depths
JET colormap is used, but can be changed to any other preferable map
IsColor = 0/1 - choose whether to write color or plain PLY file

Cite As

Avishay Assayag (2024). ColorPointCloud2PLY(X, Y, Z, IsColor, PLYfileName2write) (https://www.mathworks.com/matlabcentral/fileexchange/63269-colorpointcloud2ply-x-y-z-iscolor-plyfilename2write), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Minor typos and help section fixes

1.0.0.0