Regarding the watershed transform.
3 views (last 30 days)
Show older comments
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');
0 Comments
Answers (1)
Image Analyst
on 28 Nov 2012
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 Comments
Image Analyst
on 28 Nov 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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!