Export Distortion Node for Nuke or Natron?
The undistort formula is starting at line 66, both polynomial and divison, in blender-2.78c\intern\libmv\libmv\simple_pipeline\distortion_‌​models.h Seems pretty straight forward formula, can be implied to Nuke using Blink script, or to Natron using Shadertoy.