I have an image that I want to convert into a patch, and use it as a normal patch.
I also have the V matrix and the F vectoer, of the patch I want my image to become.
How can I do it?

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 7 月 12 日

1 投票

Would a surface be acceptable instead of a patch? If so then see warp() https://www.mathworks.com/help/images/ref/warp.html
If you really need a patch then use the above and then surf2patch() https://www.mathworks.com/help/matlab/ref/surf2patch.html

1 件のコメント

Adam Danz
Adam Danz 2022 年 6 月 2 日
In addition to warp, I also found this answer useful which sets texture mapping directly in surf().

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Convert Image Type についてさらに検索

質問済み:

2020 年 7 月 12 日

コメント済み:

2022 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by