how to connect disjoint pixels on image borders?
显示 更早的评论
i have an image,i used open close by reconstruction,and then sobel edge detector,it detect edge ,but it has some disjoint parts,pixels are not connected in some parts,i want to use connected component labeling and watershed segmentation,so first i should make a connected border,then use imfill,to fill the area between borders,and watershed to segment them,is there any function i call to connect pixels which are close to each other?when i use sobel on original image,it detects border,but by too many dots,which are not connected,like some one draw borders by dots,when i use open close on image,the border is much better,but still has some disjoint parts,thank you so much
采纳的回答
更多回答(1 个)
sara
2015-1-27
0 个投票
4 个评论
Image Analyst
2015-1-27
I'm not sure that is a question.
sara
2015-1-27
Image Analyst
2015-1-28
Yes - you can use imcrop(). Just specify the starting row and column and the width and height.
sara
2015-1-30
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!