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!
回答(1 个)
Use the IMWARP command.
类别
在 帮助中心 和 File 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!