How to wrap image along a polygon

4 visualizaciones (últimos 30 días)
Christian Pritz
Christian Pritz el 29 de Sept. de 2022
Comentada: Christian Pritz el 2 de Oct. de 2022
Greetings,
I have a an image (200, 1800) that should fit along a segmented line (2,16, several segments) including deforming the image. Is there any MatLab algorithm that can wrap or fit an image to a polygon ( a set of x,y coordinates). Any hint towards a solution is greatly appreciated.
best regards
Christian

Respuesta aceptada

Image Analyst
Image Analyst el 1 de Oct. de 2022

Más respuestas (1)

KSSV
KSSV el 29 de Sept. de 2022
REad about warp
  1 comentario
Christian Pritz
Christian Pritz el 1 de Oct. de 2022
Movida: DGM el 1 de Oct. de 2022
Thanks! Read about wrap. Wrap might have worked. However, I chose to convert the image using sparse() into x,y points then partitioned the points along the x dimension into segments accroding to the segments in the polygon. Next, I rotated the points according to the angles in the polygon. That sufficed for my purposes.

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by