Regarding the watershed transform.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2012-11-28
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 个评论
Image Analyst
2012-11-28
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!