How to deform an image

Is there a function I can use to deform an image so that I can move all four corners to new positions?

 Risposta accettata

David Young
David Young il 9 Gen 2016
Modificato: David Young il 9 Gen 2016

2 voti

Yes, it's imwarp. You'll probably also want projective2d. (I'm assuming you have the Image Processing Toolbox.)
It's possible that this answer may also be useful if you need to compute a transform matrix from a set of point matches.

Più risposte (1)

Community Treasure Hunt

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

Start Hunting!

Translated by