Can I undo undistortImage?

1 view (last 30 days)
Michelle DiBenedetto
Michelle DiBenedetto on 13 Jun 2018
Answered: Florian Morsch on 14 Jun 2018
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?
Thank you!

Answers (1)

Florian Morsch
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.


Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!