First time here? Check out the FAQ!
answered 2016-06-11 12:16:05 -0600
Use the undistortPoints function. It should do everything you're asking for.
I'm not sure how exactly it works, but you can check the code if you want to know.