Page MenuHome

Tracking: Implement Nuke/Natron distortion model
ClosedPublic

Authored by Sergey Sharybin (sergey) on Apr 21 2020, 5:06 PM.

Details

Summary

Neither Nuke nor Natron support OpenCV's radial distortion model
which makes it impossible to have any kind of interoperability.

The new model is available under the distortion model menu in Lens
settings.

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Apr 21 2020, 5:06 PM
Sergey Sharybin (sergey) created this revision.
Brecht Van Lommel (brecht) added inline comments.
intern/libmv/libmv/simple_pipeline/camera_intrinsics.h
399

arameters -> parameters

source/blender/makesrna/intern/rna_tracking.c
1261

polynomial -> Nuke?

This revision is now accepted and ready to land.Apr 21 2020, 7:17 PM

Typo fixes pointer by Brecht.

What about the ability to add the k4 parameter to lens distortion and the Brown-Conrady distortion model?
For example, in some commercial software (Reality Capture), the standard is the Brown-Conrady model with parameters k1, k2, k3, k4, t1, t2 (+ skew, aspect ratio, principal point).

@Ivan (vanyOk), this is a bit out of the scope of this patch, but it is not impossible to add more distortion models. Is quite trivial now after some preparation work done in master.
Got some questions though, so maybe we can have a quick discussion in blender-chat?