How to Close an Open Contour
이전 댓글 표시
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

채택된 답변
추가 답변 (1개)
Daniel Thomas
2020년 6월 25일
0 개 추천
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
Image Analyst
2020년 6월 25일
It also requires the Computer Vision Toolbox.
카테고리
도움말 센터 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
