How to wrap image along a polygon

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 1 Ott 2022

Più risposte (1)

KSSV
KSSV il 29 Set 2022
REad about warp
  1 Commento
Christian Pritz
Christian Pritz il 1 Ott 2022
Spostato: DGM il 1 Ott 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.

Accedi per commentare.

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su Biomedical Imaging in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by