Can I undo undistortImage?
1 view (last 30 days)
I have processed many images and collected point data from them after using undistortImage on the images. However, I redid my camera calibration in a better way and I want to apply this new calibrated distortion correction without reprocessing all my data. So, I'm wondering is there a way I can basically undo undistortImage, or undistortPoints on all my data to remove the old calibrated distortion correction so that I can then apply my new one?
Florian Morsch on 14 Jun 2018
I would not recommend to try this. When you use undistortImage, some information might get lost due to the process. If you now try to reverse it and then use another undistortImage you might end up with false data due to the overall reprocessing of the images.
If you have the original images just reprocess them, if you overwrote the orginal images with the undistorted ones then its possibly better to just make new pictures and use them.