I Have to detect the nucleus of the cell...anyone provide me a code to detect the nucleus in the celll....
2 次查看(过去 30 天)
显示 更早的评论
sou
2014-8-21
My criteria is to detect the contour of the cell and the contour of the nucleus.... i have done detecting the cell contour.... but i cannot detect the contour of the nucleus... i don't which segmentation method suits.... give me some idea...plz i have atttached the image of celll
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145156/image.bmp)
thanks in advance.
采纳的回答
Image Analyst
2014-8-21
Just threshold and use bwboundaries().
15 个评论
sou
2014-8-25
i have tried this sir but it fails to detect the nucleus....plz give me another choice
Image Analyst
2014-8-25
Well what are you calling the nucleus? I don't think you need another choice if the nucleus is the big dark spot in the middle. Show us your code so we can see how it failed. My code is attached and it produced the following image:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/180505/image.jpeg)
Image Analyst
2014-8-29
Yes, that code doesn't look good. Did you try my code on that image? Actually mine uses a fixed threshold. If you need to automatically find the threshold, then we'll have to develop something because the built in Otsu method that graythresh() uses is pretty bad, like it is in almost all cases.
Image Analyst
2014-8-29
So examine the various histograms of all the images and try to identify where the threshold is for the various images. You might also have to do some size and shape filtering after the thresholding to make sure you get oval/round things and not crazy shapes and sizes.
sou
2014-8-29
ok sir. but i don't know how to get that value from histogram?in your program you mentioned binaryImage = grayImage < 110; how you used 110?i can't got it sir plz help me....
Image Analyst
2014-8-29
I just looked at the histogram, and it worked for that image. You didn't say at first that you had any other images. So read my prior comment. You have to come up with something. I don't know the algorithm - you have to invent one. Maybe the triangle method will work well - it often does for me. Or else some ad hoc method of your own invention.
sou
2014-8-29
ok sir i will try...I have extracted the cell boundary and nuclues boundary separately in binary form how should i overlay my extracted boundaries on my original gray image?
Image Analyst
2014-8-29
If you don't know how to format your code as code (highlight code then click {}Code button), then read this http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup or just attach the m-file with the paper clip.
Image Analyst
2014-8-30
编辑:Image Analyst
2014-8-30
You're still using the lousy built-in auto thresholding algorithm, graythresh(). Aren't you going to write your own? One that actually works for your images? I've not seen 3.bmp or any other images than the one I worked on, so it's impossible for me to improve on the algorithm that I used. Post 5 images if you need help.
sou
2014-8-31
sorry sir..i have attached 2 more images...<</matlabcentral/answers/uploaded_files/17602/3.bmp>>
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/180693/image.bmp)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)