Classification of Cells

1 view (last 30 days)
Ahmet Koyu
Ahmet Koyu on 3 Nov 2011
Commented: Image Analyst on 2 Jan 2017
Could you please help me to solve this Matlab problem? I have an exam and I can't do this.
  4 Comments
Walter Roberson
Walter Roberson on 2 Jan 2017
Approximate translation:
Did you find the answer to the problem, my friend?
Image Analyst
Image Analyst on 2 Jan 2017
The answer is given in my tutorial: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial All he had to do was to make slight modifications, like the image filename, etc.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 3 Nov 2011
The assignment does give step by step instructions. Perhaps you should post what you have so far based on those instructions, and explain the point you are stuck on.
  10 Comments
Image Analyst
Image Analyst on 3 Nov 2011
Edited: Image Analyst on 2 Jan 2017
Walter, my answer (bwareaopen, BlobsDemo) works if you consider the foreground objects to be white, like you said. But, like you said, his objects are black. That's why I said to invert the image. After you do that, his white background that touches the border is gone, his black blobs are now white, and you can do any standard image processing operations where the foreground is assumed to be the white blobs.
Ahmet: What kind of help do you want? it pretty much spells out what to do step by step. Do you want us to totally complete your assignment and hand over the code to you for you to turn in as your own? Or you're looking for something else?
Walter Roberson
Walter Roberson on 4 Nov 2011
I'm told it is my turn to make the meal, alas.

Sign in to comment.


Image Analyst
Image Analyst on 3 Nov 2011
Why can't you use imclearborder? Anyway, you might not have to if you invert the image. Also check out bwareaopen to do size filtering. You might check out my image analysis tutorial, BlobsDemo. It's kind of similar. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!