Compute normals parameters

Feel free to ask any question here
Post Reply
boocaj
Posts: 7
Joined: Tue Aug 23, 2022 3:02 pm

Compute normals parameters

Post by boocaj »

I want to use the M3C2 pluggin to do some change analysis between two rockwalls in time. Instead of using the Normals parameters directly in the pluggin, I want to compute them before and then "Use cloud #1 normals" in M3C2. This should allow me to compute better normal considering there are more parameters.

My study site is however not planar. It is a rockwall with an almost 90 degree curve, so the eastern part of it is facing north, the middle part is facing west and the western part is facing north again (see last attach pictures).

I've tried different parameters (mainly for the prefered orientation) and obviously, Z+ and Z- aren't good because my rockwall is vertical, but Y+ seems better for the rockwalls facing north (Y axis) and X- seems better for the rockwall facing Ouest (X axis). As you can see in the attach pictures:

North facing rockwall with normals computed in Y+ are looking good, but west facing wall has some "shadows"

West facing rockwall with normals computed in X- are looking good, but north facing walls has some "shadows"

I feel like I could use the same "prefered orientation" (Y+ or X-) for the whole study site even tho both of them are better for some sections and worst for others. I am however wondering if I should segment my study site in 2 (north facing walls and west facing walls), apply the propper normals computation and then merge them back together?

Thanks in advance!
Attachments
Lidar2018_NorthFacingWall_NormalsY+.JPG
Lidar2018_NorthFacingWall_NormalsY+.JPG (351.85 KiB) Viewed 893 times
Lidar2018_WestFacingWall_NormalsY+.JPG
Lidar2018_WestFacingWall_NormalsY+.JPG (359.07 KiB) Viewed 893 times
Lidar2018_WestFacingWall_NormalsX-.JPG
Lidar2018_WestFacingWall_NormalsX-.JPG (331.72 KiB) Viewed 893 times
Lidar2018_NorthFacingWall_NormalsX-.JPG
Lidar2018_NorthFacingWall_NormalsX-.JPG (373.1 KiB) Viewed 893 times
Lidar2018.JPG
Lidar2018.JPG (155.99 KiB) Viewed 894 times
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compute normals parameters

Post by daniel »

The only solution I see is to split the cloud in multiple parts (with the scissors tool), then compute/orient the normals differently for each section, and eventually merge all the parts together.
Daniel, CloudCompare admin
boocaj
Posts: 7
Joined: Tue Aug 23, 2022 3:02 pm

Re: Compute normals parameters

Post by boocaj »

Thanks for the quick reply!

I also tested the K nearest neighbours instead of specifying a prefered orientation and it seems to give good results for the entire study site (no matter if it is facing north or west). I however don't really find some detailed documentation on how to chose the good radius and the good KNN numbers.

For the radius, I can use the "auto" button to have an idea, but it gives different values every time I press it. Is it normal and how can I chose the right one?

For the KNN number, how do I "guess" the good value?

Thanks again!
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compute normals parameters

Post by daniel »

That's the issue with this method of orienting normals, is that it's a lot of trial and error. There's no clear rule, as it depends a lot on the density of your cloud and also the noise...
Daniel, CloudCompare admin
Post Reply