Finding Connected components to a particular pixel in binary image
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a binary image with many blobs. I want to know all the connected pixels to a particular pixel whose index I know before hand. How do i do that?
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2017 年 12 月 12 日
編集済み: KALYAN ACHARJYA
2017 年 12 月 12 日
% Try following
CC=bwconncomp(binary_image); % Default 8 Pixel connected you can change it by
cc=bwconncomp(binary_image,disired_connected_value);
% For detail visit following link
https://in.mathworks.com/help/images/ref/bwconncomp.html
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!