Apply transformation matrix to image

6 ビュー (過去 30 日間)
windmill
windmill 2020 年 12 月 14 日
回答済み: Abhishek Gupta 2020 年 12 月 17 日
Hey,
I have used the algorithm "Absolute Orientation - Horn's method" by Matt J in order to undistord an image. As a result I got a 3x3 transformation matrix. I would like to apply this transformation matrix to an image now. Does anyone know how to do it? The transformation matrix looks like this:
regParams.M
ans =
0.9763 0.0024 205.7496
-0.0024 0.9763 337.0974
0 0 1.0000
Thank you so much in advance!

回答 (1 件)

Abhishek Gupta
Abhishek Gupta 2020 年 12 月 17 日
Hi,
As per my understanding, you want to apply the transformation matrix on to an image. This task can be achieved using imfilter() or conv2(). Using these functions, you can slide the transformation matrix (or kernel) across an image.

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by