ubc-vision / COTR

Code release for "COTR: Correspondence Transformer for Matching Across Images"(ICCV 2021)
Apache License 2.0
464 stars 58 forks source link

depth information #35

Open Lucifer1002 opened 2 years ago

Lucifer1002 commented 2 years ago

Hello, I would like to ask, about COTR is it possible to calculate the depth map of an image?

jiangwei221 commented 2 years ago

if only one image is given, no, COTR can't predict the depth. If 2 images are given, and you know the intrinsics and extrinsics, then yes, you can triangulate the point cloud then obtain the depth maps.