PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.91k stars 4.61k forks source link

pcl::MovingLeastSquares will cause weird bump when processing region with thickness #3116

Open dogod621 opened 5 years ago

dogod621 commented 5 years ago

Hi,

When I process my scene with pcl::MovingLeastSquares, it will cause weird bump when processing region with thickness: 02

I think that is cause by local plane fitting step of MovingLeastSquares, If I am correct, the MovingLeastSquares should improve fitting local plane step by local PCA or Linear RANSAC, and separate the fitting region into truly local plane, and then separately deal them at further process.

Your Environment

Context

Expected Behavior

Current Behavior

The local plane fitting step of MovingLeastSquares cant deal with thickness: 01

Because it just cannot fit a region with thickness to a single plane, it should be two planes: 03

Code to Reproduce

Possible Solution

stale[bot] commented 4 years ago

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

kunaltyagi commented 4 years ago

You are welcome to submit a PR to improve MLS for thick surfaces

stale[bot] commented 4 years ago

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.