mkazhdan / PoissonRecon

Poisson Surface Reconstruction
MIT License
1.56k stars 425 forks source link

Question on Width Parameter #277

Open PMDevine1 opened 12 months ago

PMDevine1 commented 12 months ago

I am using the windows PSR v14.02 executable. When I try to use the width parameter instead of depth, I get the following warnings:

[WARNING] C:\Research\PoissonRecon\PoissonRecon\Src\PoissonRecon.cpp (Line 519) Execute Solution depth cannot exceed system depth: 8 <= 0 [WARNING] C:\Research\PoissonRecon\PoissonRecon\Src\PoissonRecon.cpp (Line 524) Execute Full depth cannot exceed system depth: 5 <= 0

I have a dense point cloud, so I'm trying to mesh at 0.02m , which is what I entered as the width. I'm not sure if there's a bug in the exe or if I'm just misusing the parameter. Any idea what's going on here?

Below is my full command: PoissonRecon --in path_to_input_cloud --out path_to_output_cloud --width 0.02

Thank you!!

mkazhdan commented 11 months ago

Not sure. Would you be able to share the point-cloud so I could try running it on my end?

PMDevine1 commented 11 months ago

Attached is an oriented point cloud from a TLS scanner that I downloaded from openheritage3d.org. I cropped it down quite a bit to be under the 25mb github files size limit.

I ran the following commands: -poissonrecon --in "Path_to_PC\Building_Corner_Crop.ply" --out "Path_to_Mesh\Building_Corner_Crop_Mesh.ply" --depth 8 --bType 2 --verbose

-poissonrecon --in "Path_to_PC\Building_Corner_Crop.ply" --out "Path_to_Mesh\Building_Corner_Crop_Mesh.ply" --width 0.02 --bType 2 --verbose

The command using depth produced a mesh and I think level 8 is close to a 2cm octree cell size. The command with the width parameter produced the same warnings listed above. Also, I switched to version 15.01 windows exe.

Thank you!

Building_Corner_Cropped.zip

mkazhdan commented 11 months ago

Yep. That's my bad. The just-pushed Version 15.03 should resolve the issue.