How to Segment a image object based on edge points ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How to Segment a image object based on edge points ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/522452/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/522457/image.jpeg)
0 comentarios
Respuestas (1)
Image Analyst
el 17 de Feb. de 2021
You should be able to just threshold and call bwlabel.
[labeledImage, numRegions] = bwlabel(grayImage > 0, 4);
I'm not sure why your image is all broken up like that. It looks like you either did an edge detection or you did not have a good image to start with. If you had a JPG image, the lines are likely blurred and not perfectly 0. Never use JPG images for image analysis. How was this image created anyway? Was it stored in between in a JPG format (which blurs it) and then recalled?
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!