How can i undistort images myself using the export xml camera parameters?

Is there any answer on this thread? Conversion between RC XMP parameters and OpenCV fashion camera parameters that describes in the following page

https://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html

Thanks.