Identifying Bulge in Image
古いコメントを表示
Hello,
I have bunch of images, some images have filaments with a bulge (as shown in Pic1.jpg) and some images have filaments with no bulge (as shown in Pic2.jpg).I need to go through each filament in an image and identify if the filament has a bulge or not. How can I identify a bulge or stright line in the image? Can anyone kindly help?
Thanks!
1 件のコメント
Sulaymon Eshkabilov
2021 年 3 月 26 日
If the sizes of your images are the same or different. If they have the same sizes, then you can employ logical indexing by comparing several rows of the image against its threshold values to estimate whether the image has a buldge or no.
採用された回答
その他の回答 (1 件)
Image Analyst
2021 年 3 月 26 日
0 投票
Easy. Threshold. Then take the two largest blobs. Then use regionprops to determine their area. If it's less than the "no bulge" area, then there's a bulge protruding into them.
カテゴリ
ヘルプ センター および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!