How can I remove the background noise and keep only the cell (white object) in an image such as this ??

1 view (last 30 days)

Answers (1)

SRT HellKitty
SRT HellKitty on 6 Feb 2018
You can take a look at this code in File Exchange that takes an image and turns it into an ASCII. What this does is takes the RGB of the pcture and(I believe) turns it black and white to gather information on how dark the pixel is. From here, intead of going through this code does you could find just the white section. I am not sure how you could go about getting rid of the white within the noise, but it is a good start.
  1 Comment
Gaurav Kudva
Gaurav Kudva on 7 Feb 2018
Thanks a lot for your answer. But the one thing I cannot understand from this code is the discrepancy in the number of characters in the text file and the number of pixels in the corresponding image since the code assigns an ASCII character for each pixel in the image.
Can you please walk me through the code as I am kind of new to this concept ??

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!