Reconstructing components from regionprops
Show older comments
Hi!
I used the watershed in the Image Processing toolbox to detect certain objects, but I realize that it sometimes makes errors and mislabels one object as two, and sometimes two as one. I have a series of images, so it's easy to find instances where it didn't make this mistake for the same objects. And I found a way to identify where in the series it makes these mistakes.
Now I'd like to find a way to reconstruct these objects when they are mislabeled and am wondering how to go about this. I'd like to reconstruct all the properties- Area, Perimeter, CentroidX&Y, ConvexHull, ConvexImage, etc. I have some ideas for Area, Perimeter, and Centroid X&Y. However, I'm not sure how I'll reconstruct the ConvexHull and ConvexImage. Does anyone have any ideas how to approach this part of the problem?
Thanks for your suggestions!
Answers (1)
Image Analyst
on 22 Aug 2020
0 votes
Watershed is a problematic algorithm. It often produces oversegmentation. Here are some links to help:
8 Comments
Veena Chatti
on 22 Aug 2020
Edited: Veena Chatti
on 22 Aug 2020
Image Analyst
on 22 Aug 2020
Perhaps use deep learning.
Veena Chatti
on 22 Aug 2020
Image Analyst
on 22 Aug 2020
There are tons of examples and demos on the Mathworks site - just look around.
Veena Chatti
on 23 Aug 2020
Edited: Veena Chatti
on 23 Aug 2020
Image Analyst
on 23 Aug 2020
The division/classification with only those two parameters doesn't look like it will be so clean cut. I'd try to measure another independent feature and add that to the mix to help with the classification.
Veena Chatti
on 24 Sep 2020
Image Analyst
on 25 Sep 2020
Correct. Again, you're not measuring enough things, or the correct things, to distinguish them and determine the ground truth class.
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!