Watershed oversegmentation on image with multiple touching blobs.

14 visualizaciones (últimos 30 días)
Daniel Cohen
Daniel Cohen el 6 de Mzo. de 2017
Editada: Daniel Cohen el 7 de Mzo. de 2017
The MATLAB watershed algorithm I am applying on my image oversegments the blobs. I have tried multiple alternate approaches on this page ( https://www.mathworks.com/company/newsletters/articles/the-watershed-transform-strategies-for-image-segmentation.html ) without success. Here is a link to the Imgur Album containing the Black/White image and post-watershed image - http://imgur.com/a/Kw5CU
Code:
% BW contains the black/white image
D = -bwdist(~BW);
D(~BW) = -Inf;
L = watershed(D);
imshow(label2rgb(L, 'jet', 'w'));

Respuestas (1)

Daniel Cohen
Daniel Cohen el 7 de Mzo. de 2017
Editada: Daniel Cohen el 7 de Mzo. de 2017

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by