ColorPointCloud2PLY(X, Y, Z, IsColor, PLYfileName2write)
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.