How to remove distortions from an image which is imported in MATLAB as a matrix of pixel values (as a file.MAT)?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I'm going to show my problem. By using a thermographic camera an image is recorded and saved as a file.MAT, so in MATLAB I get a matrix which have the same dimensions of the ones of the thermal image. I can print this image by using "imagesc". The problem is that the thermal camera is located with a certain lateral angle with respect the target object which is recorded, so the printed image (with imagesc) appears distorded: it should be be a square image, instead it's a trapeze. My purpose is to remove this distortion. How can I go on? Should I use an interpolation?Furthermore each pixel value in the matrix must be remain the same. Thanks
0 Kommentare
Antworten (2)
Image Analyst
am 7 Mär. 2023
There is a camera calibration capability in the Computer Vision Toolbox. Check it out.
Also see Steve's blog: Spatial transformations Defining and applying custom transforms Steve on Image Processing
0 Kommentare
DGM
am 7 Mär. 2023
Alternatively, if you don't have CVT, and you're not processing many images, you could use fitgeotrans() and imwarp().
This is one simple example.
0 Kommentare
Siehe auch
Kategorien
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!