Regarding the watershed transform.

3 views (last 30 days)
Sabarinathan Vadivelu
Sabarinathan Vadivelu on 28 Nov 2012
This is my input Image Input Image
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
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
Sabarinathan Vadivelu
Sabarinathan Vadivelu on 28 Nov 2012
My problem is to seperate the individual chromosome images in there. The process is called chromosome karyotyping
Image Analyst
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!