LiangliangNan / PolyFit

Polygonal Surface Reconstruction from Point Clouds
https://3d.bk.tudelft.nl/liangliang/publications/2017/polyfit/polyfit.html
GNU General Public License v3.0
723 stars 121 forks source link

Polyfit problem with my data #12

Closed Karltlbm closed 5 years ago

Karltlbm commented 5 years ago

Hi ! I have problems when I try to use Polyfit on my own data. I managed to successfully compute normals and extract primitives on Maple. But the final step of Optimization in Polyfit doesn't show a good result at all ...

Here is my bvg file: https://drive.google.com/file/d/1ICIERiwxw_CFtdyPpEol1uDz080AeVRr/view?usp=sharing

I think it could be a problem of scale but I am not really sure ... What do you think ?

LiangliangNan commented 5 years ago

I looked at your data and found it has only two walls and the ground plane, meaning your data will never produce a closed shape. That is why PolyFit failed. Please note that PolyFit can only reconstruct closed shapes.

Karltlbm commented 5 years ago

Ok thanks for the answer !