question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated Point Cloud has no colors

See original GitHub issue

Hi everyone, when generating a merged.ply file and open it with

import open3d as o3d
pcd = o3d.io.read_point_cloud('merged.ply')
print(pcd.colors)

it gives me

std::vector<Eigen::Vector3d> with 0 elements.
Use numpy.asarray() to access data.

Am I doing something wrong or does the point cloud come without colors?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
digvijayadcommented, Jul 14, 2022

According to here: http://gamma.cs.unc.edu/POWERPLANT/papers/ply.pdf and here: http://paulbourke.net/dataformats/ply/ The red, green, and blue are the standard ply headers, whereas diffuse_red, ambient_red, or specular red are user-defined elements.

Also worth noting is that the old ply, with ‘diffuse_’ prefix, when exported through MeshLab generates headers without ‘diffuse_’ prefix.

On Wed, 13 Jul 2022 at 19:34, Piero Toffanin @.***> wrote:

Worth noting that this is probably an issue with open3d and not with OpenSfM per-se, PLY doesn’t really have a “standard” and the current PLY outputs from OpenSfM are just fine (as shown by the ability of Meshlab to open them).

— Reply to this email directly, view it on GitHub https://github.com/mapillary/OpenSfM/issues/741#issuecomment-1183549813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWZR25DVMMDX6DDCOKV2O3VT4D3XANCNFSM44AZYJ5Q . You are receiving this because you were mentioned.Message ID: @.***>

0reactions
digvijayadcommented, Jul 13, 2022

@fabianschenk I have created the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Point Cloud colors are missing in ReCap Pro
Everything is in different shades of gray without colors (for example, streets, trees, vegetation). Causes: ReCap Pro can generate color Point ...
Read more >
Point cloud has no RGB - OpenDroneMap Community
Hello, I'm having a strange issue where point clouds generate all black. Platform: WebODM running on an Ubuntu 16.04 server.
Read more >
Color the Point Cloud - L3HarrisGeospatial.com
The Color Point Cloud tool uses RGB data from a raster to colorize a LAS file of the same location. Each point of...
Read more >
Colourise Your Point Cloud - to Vercator.com
Here we will look at why adding colour to point clouds is essential and how it's done. ... A native point cloud does...
Read more >
Color and Number of Point Clouds / Orthomosaics depending ...
Information: Even if the images have RGB bands, but the camera does not exist in Pix4Dmapper's database and the images are 16 bits,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found