No RGB information

Feel free to ask any question here
Post Reply
Ana-Maria
Posts: 3
Joined: Sat Jul 29, 2017 5:27 pm

No RGB information

Post by Ana-Maria »

Good evening,
I have a point cloud in .las file format and when importing in Cloud Compare all the points are black.
They have a RGB information, in FugroViewer this is visible.
Can please, someone tell me, why CC doesn't see the RGB values?

Or how can I do? To convert my file in .txt format?

Thank you
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: No RGB information

Post by daniel »

Make sure the color source (in the cloud properties) is RGB. By default CC displays the scalar fields and LAS files have many of them...
Daniel, CloudCompare admin
Ana-Maria
Posts: 3
Joined: Sat Jul 29, 2017 5:27 pm

Re: No RGB information

Post by Ana-Maria »

Thank you for the quickly answer.
In the CC Object tab properties, at Colors, I have RGB, but all the points are black.
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: No RGB information

Post by daniel »

And if you set any color? (with Edit > Colors > Set color for instance), do you see it properly?

If yes then it meanns that the colors are wrongly coded in the LAS file (it happens a lot). I believe there's a checkbox on the LAS loading dialog to force reading colors as 8 bits values (instead of 16 bits as they should be). You should try it.
Daniel, CloudCompare admin
Ana-Maria
Posts: 3
Joined: Sat Jul 29, 2017 5:27 pm

Re: No RGB information

Post by Ana-Maria »

Thank you for all information.
Yes, it is indeed something with the LAS file, because is created with image matching process.
In CC I have set the colors, it's working fine and with 'force reading colors as 8 bits values' it creates a very colored point cloud cloud, indistinguishable.
My curiosity is why in Fugro Viewer is still working.
I think I will have to reprocess all.

Thank you for everything
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: No RGB information

Post by daniel »

This 16 bits color coding is very uncommon and many software tools are ignoring it (saving and loading everything on 8 bits).

Some tools are also able to detect the mistake and make the conversion on the fly (but we don't do it anymore because we don't want this mistake to spread ;) ).
Daniel, CloudCompare admin
Post Reply