Detecting watershed oversegmentation errors
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
My watershed algorithm sometimes oversegments two objects when it should pick up one. I am tracking these objects in a sequence of images from frame to frame and have been stuck for a little while on trying to write a code to detect this error and predict the frames in which it happens.
The attached watershed image shows two examples of this. So far, I have tried to see if the error is discernible by measuring area, perimeter, and displacement of centroid, but none of those properties seem linearly separable (see attached scatter plots). Is there anything else I could try to get the computer to be able to flag these while tracking?
I would really appreciate any tips and suggestions! This has been something I've been trying to iron out for a while now.
Thanks!
0 Commenti
Risposte (1)
Pratyush Roy
il 30 Set 2020
The over-segmentation of the Watershed algorithm may be resolved by using the 'imhmin' function prior to using the 'watershed' function, as this would remove shallow minima from the image.
Please refer to the following link for more information on the 'imhmin' and 'watershed' function:
As an alternative, you may also use the 'imextendedmin' function prior to using the 'watershed' function, as demonstrated in the article below:
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!