Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Questions about the preprocessing code #6

Open
shanemankiw opened this issue Jan 4, 2022 · 2 comments
Open

Questions about the preprocessing code #6

shanemankiw opened this issue Jan 4, 2022 · 2 comments

Comments

@shanemankiw
Copy link

depth_mvs = imresize(full_pred_depths[idf].astype(np.float32), ([target_H, target_W]), preserve_range=True).astype(np.float32)

Is this supposed to be 'mvs_depths' instead of 'full_pred_depths'? Or the 'depth_mvs' would also be from MidasNet like depth_pred.

@nnop
Copy link

nnop commented Mar 17, 2022

+1, this seems a bug.

@ztzhang
Copy link
Contributor

ztzhang commented Mar 17, 2022

Hi, this is kind of an intentional "hack" since for DAVIS, those mvs depth maps are really sparse, therefore do not visualize well in then end. Since the visualization code is written in a way where we assume a semi-dense depth maps for static regions, this makes sure things do not break when the mvs depth is from some sfm systems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants