How to Close an Open Contour
Mostra commenti meno recenti
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

Risposta accettata
Più risposte (1)
Daniel Thomas
il 25 Giu 2020
0 voti
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 Commento
Image Analyst
il 25 Giu 2020
It also requires the Computer Vision Toolbox.
Categorie
Scopri di più su Contour Plots in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
