Segmentation of interconnected lines
이전 댓글 표시
Hi!
I'm working on a project that require to segment shapes or features from an image. My actual approach is to first detect all lines with Hough Transform and after try to segment each line by its slope, hower I've tried k-means, DBSCAN, and I didn't get the result that I would like to achieve.
I would like to know if someone can help me with a idea or documentation.
Thank You!

댓글 수: 5
Jan
2022년 11월 5일
Please include the images directly instead of letting the readers download them from an external service.
James Ben
2022년 11월 5일
Image Analyst
2022년 11월 6일
OK, good but you forgot to include your code. Give us a head start by including your Hough code and clustering code. What sort of clusters would you like? Like horizontal lines and vertical lines? You can do that just with thresholding the slopes vector, but I guess you could use kmeans if you want. I'm not sure dbscan would be appropriate - I can't see that so not sure what the rationale for dbscan was.
James Ben
2022년 11월 9일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!