autonomousvision / monosdf

[NeurIPS'22] MonoSDF: Exploring Monocular Geometric Cues for Neural Implicit Surface Reconstruction
MIT License
565 stars 52 forks source link

Negative scale in depth matching #83

Open turandai opened 1 year ago

turandai commented 1 year ago

Hi, thanks for this fantastic work, I am adopting your code to solve similar problem. And there is an issue that, the compute_scale_and_shift() function returns a negative scale value which flipped the relative depth information between pixels. I assume this is not expected to happen. I wonder have you met similar problem in your expirements? or maybe some clues about the potential cause of this problem. Thank you very much!

HLinChen commented 1 year ago

I meet the same problem.

niujinshuchong commented 1 year ago

Hi, can you check if your depth map output is disparity?