Identifying Bulge in Image
Show older comments
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 Comment
Sulaymon Eshkabilov
on 26 Mar 2021
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.
Accepted Answer
More Answers (1)
Image Analyst
on 26 Mar 2021
0 votes
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.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!