How to wrap image along a polygon

4 Ansichten (letzte 30 Tage)
Christian Pritz
Christian Pritz am 29 Sep. 2022
Kommentiert: Christian Pritz am 2 Okt. 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

Akzeptierte Antwort

Image Analyst
Image Analyst am 1 Okt. 2022

Weitere Antworten (1)

KSSV
KSSV am 29 Sep. 2022
REad about warp
  1 Kommentar
Christian Pritz
Christian Pritz am 1 Okt. 2022
Verschoben: DGM am 1 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by