Compare Z-Val of two point clouds

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Compare Z-Val of two point clouds

Post by Ingsayyad »

I have two dense (Resolution:2-3 mm) point clouds A&B.
Using CC, I generate raster (2 cm) from each of them with the same center and size. Assuming that both point clouds have the same x, y values, I want to compare only Z-values of two point clouds. Obviously, it is only Z-Val, what is different.
I wan to get
if there is point in both clouds with same x & y( within 1 cm) ---> delatZ
no point in either point cloud at a x&y at a position ---> NAN/Userdefined
daniel
Site Admin
Posts: 7712
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compare Z-Val of two point clouds

Post by daniel »

You would have to use the 'Tools > Volume > Compute 2.5D Volume' tool (see https://www.cloudcompare.org/doc/wiki/i ... .5D_Volume). When you run this tool (which works a lot like the 'Rasterize' tool), it computes the difference between the 2 clouds projected on the same (raster) grid. And you have an option to 'Export grid as cloud" (at the bottom).

This will give you a cloud which corresponds to the grid, with the Z coordinate being the difference (as well as the associated scalar field named 'relative height').
Daniel, CloudCompare admin
Post Reply