I think I should be using cv::remap
to remove the distortion but can't figure out what the the maps const Mat& map1, const Mat& map2
to should be to achieve this.
Should I be using the cv::initUndistortRectifyMap
to find out the values? If so, I'd really appreciate an example. I do not have the intrinsic camera parameters or don't know how to calculate them. Thanks.