MATLAB Answers

How to deform an image

58 views (last 30 days)
Terence K
Terence K on 9 Jan 2016
Answered: Terence K on 9 Jan 2016
Is there a function I can use to deform an image so that I can move all four corners to new positions?

  0 Comments

Sign in to comment.

Accepted Answer

David Young
David Young on 9 Jan 2016
Edited: David Young on 9 Jan 2016
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.

  0 Comments

Sign in to comment.

More Answers (1)

Terence K
Terence K on 9 Jan 2016
Ok, thanks David.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by