tudelft3d / City3D

Large-scale LoD2 Building Reconstruction from Airborne LiDAR Point Clouds
https://github.com/tudelft3d/City3D
GNU General Public License v3.0
223 stars 36 forks source link

Application hangs #42

Closed WS517 closed 2 months ago

WS517 commented 2 months ago

Dear Professor, I tried to compile city3d using vs2017 and successfully generated the .exe file, but when I try to add point cloud data to run the program it crashes, is there any limitation of the software for inputting point cloud? This is my data.Looking forward to your reply.Thank you very much. city3d 31-25w-buquan - Cloud.zip

LiangliangNan commented 2 months ago

This building is quite complex. Besides, your input point cloud is quite noisy, which leads to too many planes and too many footprint edges extracted from the point cloud. Besides, our method is specifically designed to handle airborne LiDAR data (see our paper title), so only roof planes can be detected. Your date contains all other vertical walls, which further increases the number of planes. If you have read our paper about how the method works, you will understand that the initial large number of planes and footprint edges will result in a huge integer program that existing solvers cannot solve the optimization within a limited time.

Things you may try the following ideas: (1) consolidate your point cloud, such that fewer planes can be extracted. Or you may tune the RANSAC parameters to facilitate this purpose. (2) if (1) still doesn't work: remove all points for all vertical walls. Then run the original City3D algorithm. (3) if both (1) and (2) do not work, you can manually split the building into a few simpler parts and try to reconstruct them one by one.

Hope these are helpful.