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