Regarding the watershed transform.
Mostrar comentarios más antiguos
I want to seperate the individual chromosomes from this image. I have used watershed transformation. I got the output as Output Image.
Is there any possibilty to seperate the regions of chromosomes from here???
My code is
inputImage = imread('chromosome.jpg');
figure, imshow(inputImage);
bw = im2bw(inputImage,0.8);
figure, imshow(bw), title('bw')
D = bwdist(~bw);
figure, imshow(D);
title('Distance transform of ~bw')
D = -D;
D(~bw) = -Inf;
L = watershed(D);
rgb = label2rgb(L,'spring');
figure, imshow(rgb);
title('Watershed transform of D');
Respuestas (1)
Image Analyst
el 28 de Nov. de 2012
0 votos
What does that mean? Watershed does separate them and give you a labeled image. So what's the problem? http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
2 comentarios
Sabarinathan Vadivelu
el 28 de Nov. de 2012
Image Analyst
el 28 de Nov. de 2012
If watershed is not doing the job for you then you need to use an algorithm that people have used successfully and published, like those in section 20.4 here: VisionBib
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!