Detecting watershed oversegmentation errors
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Pratyush Roy
el 30 de Sept. de 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:
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!