Plane fitting

Feel free to ask any question here
Post Reply
cloudmaster
Posts: 7
Joined: Wed Mar 12, 2014 1:13 pm

Plane fitting

Post by cloudmaster »

Hello, I have a scanned object that have been scanned on the floor. Since the 3D scanner is not totally in level I would like to do some plane-fitting. I was thinking to use the floor as reference for this plane-fitting.

- Is it possible to align a 3D point cloud to a plane in CC?
- When I insert a plane from Tools > Fit > Plane, it looks like it just insert a Plane randomly in my point cloud - how is it possible to specify where it should be (angle, direction)?
- I was thinking to place it in level horizontal, so I can adjust the floor in the point cloud to this plane or check how level my 3D scan is...

Hope to get some inspiration and feedback about this - thanks!
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Plane fitting

Post by daniel »

In CC you can only do the opposite (i.e. fit a 2D plane on a point cloud). If you want to fit it on the floor only, you'll have to segment out the corresponding points first (with the scissors tool).

But when you fit a plane (on the floor), CC will output in its console the transformation matrix that would make this plane horizontal (type F8 if the console doesn't show up automatically). You can then copy this matrix (Ctrl+C) and paste it in the "Edit > Apply Transformation" tool to actually rotate any entity with it. If you apply this on the original cloud (select it before calling the Apply Transformation method), you should get what you want.
Daniel, CloudCompare admin
Post Reply