How do I perform Image segmentation in an RGB image using pattern?
显示 更早的评论
I want to create 2 segment in the attached RGB interference image. 1 segment would be the horseshoe pattern as can be observed in the image and the other segment would be rest of the image. So far I have tried: Edge detection using Canny, Kmeans cluster, imsegkmeans.
The clustering is almost working, but I get cluster within a cluster due to the RGB values. I want to avoid that and have just two segments from the image.
1 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2026-3-16
0 个投票
You are pretty much doomed to failure if you want to segment the horseshoe pattern from the rest of the image. The rest of the image includes the black background, which will have such great differences in characteristics from the circle that any method you use for segmenting into exactly two regions is very likely to pick out the black background as one region and the entire circle as the second region.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


