undistortion parameters

Comments

3 comments

  • Avatar
    Zuzana Ďuríčková CR

    Hello Romain,

    from what I can see in the “radial_part” there is a missing r6 at the end of the formula:
     radial_part = 1.0 + k1 * r2 + k2 * r4 + k3*r6

    Also, for the tangential part, we use the definition from wiki:

    https://en.wikipedia.org/wiki/Distortion_(optics)

    in which the t1 and t2 are switched. From my understanding, e.g. open CV uses tangential coefficients in reverse order.

    The formula that we use is as follows:

    0
    Comment actions Permalink
  • Avatar
    romain.janvier

    Hello Zuzana,

    the lack of r6 was an error due to copying and pasting to the forum, sorry for that misleading cue...

    But I tested with "inverted" (in fact in the right order) tangential coef like in your formula (and unlike openCV) and it works!

    thanks a lot for your quick and kind answer!

     

    0
    Comment actions Permalink
  • Avatar
    Zuzana Ďuríčková CR

    no problem, I am glad to hear that :)

    0
    Comment actions Permalink

Please sign in to leave a comment.