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

1 次查看(过去 30 天)

回答(1 个)

SRT HellKitty
SRT HellKitty 2018-2-6
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 个评论
Gaurav Kudva
Gaurav Kudva 2018-2-7
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 ??

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by