How to combine Delaunay and Poisson meshing?

824 views
Skip to first unread message

max...@gmail.com

unread,
Apr 18, 2019, 6:28:51 AM4/18/19
to COLMAP
Hi everybody

In the FAQ, it is said:
"Note that the two algorithms can also be combined by first running the Delaunay meshing to robustly filter outliers from the sparse or dense point cloud and then, in the second step, performing Poisson surface reconstruction to obtain a smooth surface."

I'm very interessed by this feature and I tried to use it like this:

colmap feature_extractor \
   
--database_path colmap/database.db \
   
--image_path images \
   
--SiftExtraction.num_threads 8


colmap exhaustive_matcher
\
   
--database_path colmap/database.db \
   
--SiftMatching.num_threads 8


mkdir colmap
/sparse
colmap mapper
\
   
--database_path colmap/database.db \
   
--image_path images \
   
--output_path colmap/sparse \
   
--Mapper.num_threads 8


mkdir colmap
/dense
colmap image_undistorter
\
   
--image_path images \
   
--input_path colmap/sparse/0 \
   
--output_path colmap/dense \
   
--output_type COLMAP \
   
--max_image_size 2000


sudo colmap patch_match_stereo
\
   
--workspace_path colmap/dense \
   
--workspace_format COLMAP \
   
--PatchMatchStereo.cache_size 25 \
   
--PatchMatchStereo.geom_consistency true \
   
--PatchMatchStereo.num_iterations 2


colmap stereo_fusion
\
   
--workspace_path colmap/dense \
   
--workspace_format COLMAP \
   
--input_type geometric \
   
--output_path colmap/dense/fused.ply \
   
--StereoFusion.cache_size 512


colmap delaunay_mesher
\
   
--input_path colmap/dense \
   
--output_path delaunay-output.ply


colmap poisson_mesher
\
   
--input_path colmap/dense/fused.ply \
   
--output_path poisson-output.ply \


But the mesh I get from Poisson mesher is the same if I use the Delaunay one before or not.

Could you please help me?

Maxime

Johannes Schönberger

unread,
Apr 20, 2019, 2:32:59 AM4/20/19
to col...@googlegroups.com
The output-delaunay.ply should be the input to Poisson. 
--
You received this message because you are subscribed to the Google Groups "COLMAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to colmap+un...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/a92d24b7-8c78-4103-92de-60312c8625dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

max...@gmail.com

unread,
Apr 28, 2019, 3:12:47 AM4/28/19
to COLMAP
Thanks for the answer.

When executing the poisson reconstruction just after the Delaunay one, I get the same error as reported here: https://github.com/colmap/colmap/issues/482

Is this issue fixed? Or do you have some resources to explain me how to implement it?

Thanks,
Maxime

Johannes Schönberger

unread,
May 10, 2019, 12:36:32 PM5/10/19
to col...@googlegroups.com
You could use an external tool to compute the normals and then run Poisson. 
--
You received this message because you are subscribed to the Google Groups "COLMAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to colmap+un...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages