manurare / 360monodepth

Code release for 360monodepth. With our framework we achieve monocular depth estimation for high resolution 360° images based on aligning and blending perspective depth maps.
https://manurare.github.io/360monodepth/
MIT License
159 stars 33 forks source link

Rotation for each tangent image #15

Closed jonathanventura closed 1 year ago

jonathanventura commented 1 year ago

Is there an easy way to get a rotation matrix for each tangent image? i.e. the rotation matrix between the tangent image and the panorama's coordinate system.

manurare commented 1 year ago

Hi,

Sorry about the delay. Yes, if you execute the main script with the flag --intermediate_data, we save the tangent images camera parameters. You can have access to them here . The variable subimage_cam_param_list is what you are looking for.

jonathanventura commented 1 year ago

Thank you! Are these the world-to-camera rotations or camera-to-world? Also, what is the coordinate system for the camera? Is it with +X pointing to the right, -Y pointing up, +Z pointing out? Or is +X right, +Y up, -Z out?

manurare commented 1 year ago

They are world-to-camera. And the tangent camera coordinate system is +X right, +Y up, -Z out

jonathanventura commented 1 year ago

Thanks!