removing connected component
2 ビュー (過去 30 日間)
古いコメントを表示
How can I remove a connected component from an image of particular length?
Actually I am processing some images in which there is a connected component in the form of an arc, which starts with the start of image top and ends where image ends. its length is equal to or greater than the image height.
please help me in doing this
2 件のコメント
Chandra Kurniawan
2012 年 3 月 10 日
Would you show me the image?
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
回答 (3 件)
Image Analyst
2012 年 3 月 10 日
You can use ismember(), as shown in my BlobsDemo image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/25157 First identify the index of the blob you want to eliminate. It can be based on its area, shape, perimeter, MajorAxisLength, or whatever. Then use ismember to get a labeled image without that particular blob.
0 件のコメント
md mizan chowdhury
2017 年 9 月 14 日
how can i remove all connected components
3 件のコメント
Image Analyst
2017 年 9 月 18 日
That was it. All connected components will be erased once you execute that code.
md mizan chowdhury
2017 年 9 月 18 日
detect text from video.
1 件のコメント
Image Analyst
2017 年 9 月 18 日
This is not an "Answer" for Khawaja. It does not address his original question at the top at all.
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!