SYSU-STAR / H2-Mapping

H2-Mapping: Real-time Dense Mapping Using Hierarchical Hybrid Representation (2023 RAL Best Paper Award)
GNU General Public License v3.0
362 stars 12 forks source link

A little question about eval_recon.py code #39

Closed Ubee121 closed 2 weeks ago

Ubee121 commented 2 weeks ago

I encountered some minor confusion while running your eval code. Could you please clarify whether the completion ratio obtained from the eval_recon.py code represents the actual coverage? When I only ran it on two pieces of data, the coverage rate was 96.9375%, but visually, it didn't seem to reach 50% of the gt_mesh. Thank you for your response!

JIANG-CX commented 2 weeks ago

The completion ratio is determined by calculating the ratio of the competition metric values that are lower than 0.05m. Therefore, it can be considered as the coverage metric.

Ubee121 commented 2 weeks ago

Thanks for your reply! Could you please help me understand why my actual reconstructed mesh looks like the image below, yet the coverage rate is reported as 96.9375%? I would greatly appreciate your insights. Thank you! image image

JIANG-CX commented 2 weeks ago

In our evaluation, we assume that all frames are used. Consequently, we cull portions of the ground truth mesh based on the Octree Voxels in our method to exclude regions not visible in the input frames. It appears that not all frames were used in this experiment, resulting in significant culling of the ground truth mesh and causing this issue. If you prefer not to cull the mesh, you can change the parameter 'only_cal_has_vox' to 'false'.

Ubee121 commented 2 weeks ago

It really works! Thank you for your swift response!