Orientation of Best Fit Plane for Roughness Calculation

Feel free to ask any question here
Post Reply
civengrgmu
Posts: 10
Joined: Wed Mar 04, 2020 2:59 pm

Orientation of Best Fit Plane for Roughness Calculation

Post by civengrgmu »

Hello,

I apologize for this question, because I know the 'roughness' calculation has been discussed many times.

I understand that the roughness value for a point is the orthogonal distance to the best fit plane of the local neighborhood, but here is my question:

Is the best fit plane established to be orthogonal to the surface normal vector at that point (calculated off of the same neighborhood, for example)? In other words, does the roughness "vector" have the same orientation as the surface normal vector at the point?

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

Re: Orientation of Best Fit Plane for Roughness Calculation

Post by daniel »

No, we don't consider the points normals (and it's not a requirement to have normals to compute roughness). We use the neighbor points and 'best-fit' the plane on these points.
Daniel, CloudCompare admin
civengrgmu
Posts: 10
Joined: Wed Mar 04, 2020 2:59 pm

Re: Orientation of Best Fit Plane for Roughness Calculation

Post by civengrgmu »

OK - thanks. I apologize for the late follow up question:

How is the best fit plane calculated? Am I correct to assume that it's through a PCA on the local neighborhood?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Orientation of Best Fit Plane for Roughness Calculation

Post by daniel »

Yes, PCA (from the eigenvalues and eigenvectors of the cross covariance matrix ;)
Daniel, CloudCompare admin
Post Reply