weigao95 / surfelwarp

SurfelWarp: Efficient Non-Volumetric Dynamic Reconstruction
https://sites.google.com/view/surfelwarp/home
BSD 3-Clause "New" or "Revised" License
276 stars 71 forks source link

Add a GenericFileFetch for more generic files that implements FetchInterface #8

Closed Algomorph closed 5 years ago

Algomorph commented 5 years ago
weigao95 commented 5 years ago

I run into index out of range error. It seems the fetcher wants to load offline computed foreground mask even though it is not requested to. Capture

Algomorph commented 5 years ago

Ah, yes, I didn't check for this. I'll fix shortly.

Algomorph commented 5 years ago

@weigao95 , I made a simple logic mistake with the mask usage flag, sorry about this. It's fixed now. I tested on a couple of the VolumeDeform sequences, as well as the Killing/Sobolev Fusion Snoopy sequence. Please, take a look.

XuelianCheng commented 1 year ago

@Algomorph hi, I have tried to run the code with the offline masks of Killing/SobolevFusion Duck sequence. However, it reports the error 'terminate called after throwing an instance of 'std::runtime_error*'' like below: image

Here is the config file: image

I am not sure if the configs are correctly set. Could you help to check?

Algomorph commented 1 year ago

@XuelianCheng sorry, I am unable to dedicate time to maintaining this codebase at this time. Maybe the actual maintaner & author, @weigao95, can be of more help.

XuelianCheng commented 1 year ago

Thanks @Algomorph!

I have changed the boundary_clip to 0 in common/global_configs.h, and the results show offline mask is correctly on the image. However, it seems the utility still uses the mask generated by the build-in segmentation algorithm on depth map and rendered images, see the screenshot:

image

@weigao95 Is there any suggestion for this? Many thanks!