How can I transform the image to another coordinate system?
Mostra commenti meno recenti
Now I want to transform an image to another coordinate. For original image, the pixel is defined as (u, v), and transformed image's pixel (u',v') can be calculated using the following equation. u'=f(L1*u+L3*f)/(-L3*u+L1*f); v'=f*v/(-L3*u+L1*f); L1,L3,f are the parameters which values is known.
After the transform, the image (left) should become like right image. I have no idea how to do this? Should I calculate the pixel values u' and v' and use the interp2? I tried but didn't work out. Please give me some advices. Thank you.


Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!