Cloud to cloud distance calculation - how to set proper colors

Feel free to ask any question here
Post Reply
Grzmocislaw
Posts: 4
Joined: Mon Feb 15, 2021 9:59 pm

Cloud to cloud distance calculation - how to set proper colors

Post by Grzmocislaw »

Hello,

I have two point clouds of the same house. I would like to check how accurate/valid is the second cloud compared to the first.

I calculated the cloud to cloud distance and have some results. What I would like to achive (and I do not know how to do this) is to apply different colors on points depending on their distance to the reference cloud. For example, I would like to have:

points in the distance of 0 to 1 cm --> blue
points in the distance of 1 to 3 cm --> green
points in the distance of 3 to 5 cm --> yellow
point in the distance of more then 5 cm --> red.

I read the cloud compare wiki and watched tutorials on youtube, but I am clearly doing something wrong because my results look strange:
Image

The custom labels are not aligned with the color, although I set the same values on the sliders. I attached the color scale file if someone would be so nice to take a look at this.
Attachments
My color scale.zip
(478 Bytes) Downloaded 140 times
CloudCompare problem1.png
CloudCompare problem1.png (305.44 KiB) Viewed 747 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Cloud to cloud distance calculation - how to set proper colors

Post by daniel »

If you want to achieve this kind of result, as the colors are applied as a gradient between 2 values by default, you have to create 2 'ticks' very close to each other each time.

See the fixed color scale attached:
My color scale fixed.zip
(494 Bytes) Downloaded 467 times
Daniel, CloudCompare admin
Post Reply