How can I convert an image into a patch?

17 visualizaciones (últimos 30 días)
Ofek Dvir
Ofek Dvir el 12 de Jul. de 2020
Comentada: Adam Danz el 2 de Jun. de 2022
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 12 de Jul. de 2020
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 comentario
Adam Danz
Adam Danz el 2 de Jun. de 2022
In addition to warp, I also found this answer useful which sets texture mapping directly in surf().

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by