Regarding the watershed transform.
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');
Answers (1)
Image Analyst
on 28 Nov 2012
0 votes
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
Sabarinathan Vadivelu
on 28 Nov 2012
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
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!