pointcloud2image( x,y,z,numr,numc )

This function converts a 3D point cloud to a 2D gray-scale raster image

You are now following this Submission

This function converts a 3D point cloud to a 2D gray-scale raster image.The inputs are x,y,z coordinates of 3D points and number of rows and columns of the output image.

Cite As

VahidB (2026). pointcloud2image( x,y,z,numr,numc ) (https://uk.mathworks.com/matlabcentral/fileexchange/55031-pointcloud2image-x-y-z-numr-numc), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

normalized pixel values to [0,1]

1.1.0.0

fixed a typo!

1.0.0.0