zzangjinsun / NLSPN_ECCV20

Park et al., Non-Local Spatial Propagation Network for Depth Completion, ECCV, 2020
MIT License
321 stars 57 forks source link

Camera Intrinsic #41

Closed eugenelyj closed 2 years ago

eugenelyj commented 2 years ago

Hello, why do you subtract 8.0 and 6.0 from the cx and cy?

https://github.com/zzangjinsun/NLSPN_ECCV20/blob/master/src/data/nyu.py#L74

zzangjinsun commented 2 years ago

Hi, because boundaries are cropped as follows:

https://github.com/zzangjinsun/NLSPN_ECCV20/blob/ba33fa5d9ea62ca970026a145ab18fab76d79d4a/src/data/nyu.py#L66-L67

eugenelyj commented 2 years ago

Got it. Thanks.