Implementing Own Affine Transformations

15 ビュー (過去 30 日間)
Alexander Queen
Alexander Queen 2018 年 1 月 29 日
編集済み: Matt J 2018 年 1 月 29 日
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 Center および File ExchangeGeometric 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