How to Close an Open Contour
Ältere Kommentare anzeigen
Dear all, Attached image consists of two open contours. I would like to close these two contours. Please let me know if this is doable in Matlab.
Thanks Ashkan

Akzeptierte Antwort
Weitere Antworten (1)
Daniel Thomas
am 25 Jun. 2020
0 Stimmen
Don't "burn lines" with imline. Use insertShape instead to draw a line on an image. Additional trouble with insertShape is that it always produces RGB instead of grayscale. So you need to convert it to grayscale. Other than that, it works a lot better than "burning the lines."
1 Kommentar
Image Analyst
am 25 Jun. 2020
It also requires the Computer Vision Toolbox.
Kategorien
Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
