Reputation: 61
I am trying to convert a ply to a RGB Image. I can extract pcd.colors and pcd.points from the file, but how I can flat it to an RGB image.
np.asarray(pcd.colors)
np.asarray(pcd.points)
My problem is the above function give me a (1250459,3) array and I have to convert it to (X,Y,3) array, But what are X and Y? (image size)
I am using Open3D library in python to read ply data and have access to colors or points.
Upvotes: 0
Views: 1347