Finding Connected Components of Superpixels?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Suki Sandhu
am 8 Mär. 2019
Beantwortet: Image Analyst
am 8 Mär. 2019
If I know the idx of the following figure to be [ 261 325 331 333 339]. What sort of algorithm can I use that would detect that idxs [325 331 333 339] are all connected to one another, and that 261 has no connected components? The end goal being detecting regions that have 3 or more connected superpixels.
One method I am thinking of is using bwconncomp, which will return the 2 connected objects. And then for each connected object, check weather the idxs are 'contained' in it. I think this might not be a good solution though. Please any feedback is welcome. Thank you all kindly.
2 Kommentare
Image Analyst
am 8 Mär. 2019
Why are you computing superpixels in the first place? What would you do if you knew the adjacent blobs? To help me understand what you really want to do, please attach your original gray scale image and tell us what you want to find or measure in it, or how you want to change it's appearance.
Akzeptierte Antwort
Image Analyst
am 8 Mär. 2019
There is a superpixels() function in the Image Processing Toolbox. Using that could significantly simplify your homwwork assignment.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!