Implementing Own Affine Transformations

I’m currently manually coding affine transformations as an exercise, and while I can easily make the translate/scale/shear/rotation matrices provided in documentation, I’m not sure how to actually apply them to an image.
I’ve tried the way-too-straightforward option of just multiplying the transform matrix with the image but obviously they’re different sizes so that’s out.
I’m just not sure how to actually apply this 3x3 transform matrix to a nxm image.
Thanks!

Respuestas (1)

Matt J
Matt J el 29 de En. de 2018
Editada: Matt J el 29 de En. de 2018

0 votos

Use the IMWARP command.

Categorías

Productos

Preguntada:

el 29 de En. de 2018

Editada:

el 29 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by