zju3dv / DetectorFreeSfM

Code for "Detector-Free Structure from Motion", CVPR 2024
Apache License 2.0
612 stars 39 forks source link

How to obtain sparse 3D points with color ? #21

Closed lt-xiang closed 6 months ago

lt-xiang commented 6 months ago

Hi, thanks for your teams' great work. May I ask how can I get colored sparse 3D spoints ? When I run Demo data, I can get clomap-format data but visualized 3D potins in colmap-gui are black.

image

hxy-123 commented 6 months ago

Hi, it seems that this is not the result of our demo data. I'm sure the produced point cloud using demo data with readme's instruction has color. You can try it first to see whether it works well. Moreover, we note that the L22 in demo config needs to be specified to your absolute path to data so that the color can be extracted.

lt-xiang commented 6 months ago

Hi, the first picture is the result by using my own scene data.

Thanks for your reminder, I use the absolute path and now can get colored points.

image

hypochlorous commented 6 months ago

@lt-xiang Excuse me. I want to run this work on my custom datasets, what settings should I change? And how can i convert the bin file to txt format?