unimatch icon indicating copy to clipboard operation
unimatch copied to clipboard

FEATURE REQUEST: Support 'depth' task using two images with different Intrinsics.

Open JonathonLuiten opened this issue 1 year ago • 5 comments

I have images from different cameras with different intrinsics that I would like the calculate the depth from. I already have the intrinsics for each and the relative pose between them, but this code base doesn't support this currently (e.g. see matching.py line 260 and 265 which explicitly assumes the intrinsics are the same for both cameras.

Cheers, Jonathon

JonathonLuiten avatar Jul 23 '23 22:07 JonathonLuiten

Thanks for your suggestion and you are welcome to send a PR to this repo, thanks.

haofeixu avatar Aug 11 '23 11:08 haofeixu

I have images from different cameras with different intrinsics that I would like the calculate the depth from. I already have the intrinsics for each and the relative pose between them, but this code base doesn't support this currently (e.g. see matching.py line 260 and 265 which explicitly assumes the intrinsics are the same for both cameras.

Cheers, Jonathon

Have you solved it?

Haobo-Liu avatar Nov 01 '23 08:11 Haobo-Liu

No sorry. In the end I just used a different code base for this.

JonathonLuiten avatar Nov 01 '23 09:11 JonathonLuiten

No sorry. In the end I just used a different code base for this.

Could you share the project you used?

Haobo-Liu avatar Nov 01 '23 09:11 Haobo-Liu

So I’m not 100% sure because I didn’t end up actually using this for any final results. I think I resorted to mono depth with Zoe Depth as an initial guess and then optimised to make it consistent between the frames with a nerf like variant.

This is VERY different to what your repo is doing, but it gave me approximately what I was looking for (depth consistent between two frames). If you ever implement this in your code would be cool.

JonathonLuiten avatar Nov 01 '23 12:11 JonathonLuiten