How can I recover image distortion caused by the camera's distortion parameters k1, k2?
I have one image and I want to recover its distortion by known camera distortion parameters k1 and k2. What should I do to rectify image view by those params?