Implementing Own Affine Transformations

8 次查看(过去 30 天)
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!

回答(1 个)

Matt J
Matt J 2018-1-29
编辑:Matt J 2018-1-29
Use the IMWARP command.

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by