Filter löschen
Filter löschen

Transform image as if camera took it

3 Ansichten (letzte 30 Tage)
Connor Fuhrman
Connor Fuhrman am 9 Apr. 2018
Bearbeitet: Matt J am 9 Apr. 2018
I am working with the Robotics Systems toolbox with an image from a simulated camera. I would like to transform this image as if it was taken with my real life hardware. I have calibrated the camera with the camera calibration toolbox. Is there a way to transform my "perfect" simulation image into one that was taken with the camera - is there a function for that? In other words I want to do the inverse of undistortImage.
Thank you!!

Antworten (1)

Matt J
Matt J am 9 Apr. 2018
Bearbeitet: Matt J am 9 Apr. 2018
I doubt any of the toolboxes supply such an inversion routine. About the only thing I can think of is that you use FUNC2MAT (Download) to find the representation of the function undistortImage() as a large sparse matrix. Then, you can use mldivide() with this matrix to apply it's inverse to your simulation. It is a brute force approach, and I suspect it would take a long time to compute this matrix for any typical-sized image, but you would only have to compute it once.

Kategorien

Mehr zu Network Connection and Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by