How to use correctMatches to improve camera calibration accuracy
I am looking for information on how to use correctMatches() to improve any errors in the chessboard points found during calibration.
I understand that this function determines the average epipolar line of the available points, and looks for any obvious discreancies, but I am unsure how to use the function, which requires a fundamental matrix, which I think is not calculated until after calibration.
Do I calibrate the camera using stereoCalibrate, then use the F matrix output with correctMatches, and re-enter the corrected points into stereoCalibrate again?
Is this function for correcting matching points on two images, or can it be used to align points on the chessboard? I can't find any examples of this function being used, and I having to wade through all the code to find out is not a good use of anyone's time.