c++ - how to do lens correction in opencv -


i want barrel correction in opencv.

the formula need implement is:

r(s)= (a * r(d)^3 + b * r(d) ^2 + c*r(d) + d) * r(d)   

i know opencv has in build capability lens calibration, depends on parameters doesn't seems similar above equations.

my questions:

can convert parameters opencv camera calibration parameter?

can use in build opencv function unwarp images based on above equation?

what best way implement above function in opencv?

this baasically geometric image transform. yours not special case, you'll need generic remap.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -