Giter Site home page Giter Site logo

Comments (6)

mdfirman avatar mdfirman commented on June 2, 2024

Thanks for the question! @mrharicot is probably best placed to answer this.

from monodepth2.

mrharicot avatar mrharicot commented on June 2, 2024

Hi,
We were originally doing experiments with COLMAP, which gave us a focal length for some of the sequences. I then used an average of these and set the principal point to the center of the image.
For reference here is the intrinsics we used:

self.K = np.array([[0.6,     0,     0.5,       0],
                   [0,   1.066,     0.5,       0],
                   [0,       0,       1,       0],
                   [0,       0,       0,       1]], dtype=np.float32)

We assumed the camera to be linear, but they actually show quite a bit of distortion.
I hope this helps!

from monodepth2.

WANG-KX avatar WANG-KX commented on June 2, 2024

Thanks for your kind replay!

Actually, I have tested some method to find the intrinsic parameters of a wild monocular video. Basically, I followed a bundle adjustment method to solve the parameters by optimizing the reprojection of feature points. However, it can be proved that when the camera is moving without rotation (which is a common case in these videos) the focal length is not observable. With small rotations, it also cannot be solved very well.

On the other hand, since the rotation of adjacent frames is small, the focal length actually does not matter too much in the error term.

I do not know how to better solve the intrinsic parameters when trained on wild videos. If you have any other thoughts, please let me know.

Thanks again
Kaixuan

from monodepth2.

mrharicot avatar mrharicot commented on June 2, 2024

I would look at Google's recent paper where they also learn the camera calibration parameters
https://arxiv.org/abs/1904.04998

from monodepth2.

WANG-KX avatar WANG-KX commented on June 2, 2024

Yes... Thanks for the sharing.
If we can solve it using multiview geometry, maybe it is better to solve it explicitly than learning. Thanks, maybe the community needs more research on this topic.

from monodepth2.

hemangchawla avatar hemangchawla commented on June 2, 2024

Can the calibration parameters be set somehow during inference? For example, if the correct params for the sequence are computed using Colmap and then set during inference to improve the estimation?

from monodepth2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.