Clear Filters
Clear Filters

Clearing background of microscopy images

2 views (last 30 days)
Mert
Mert on 28 Jun 2023
Answered: Seyeong Jeon on 28 Jun 2023
Hello Everyone,
I have to measure the size of the blobs in the example image, but I cannot threshold them because some parts of the scratches have similar colors, so either I have to reduce the size of the blobs while thresholding, or I end up with a lot of smaller blobs from the scratches that end up skewing my distribution (like the second image). I have tried blurring the images and thresholding individual color channels (the scratches have higher average red values), but couldn't get a passable result without losing a lot of my actual features. Can someone point me towards a method/function that can help?
Thanks!

Answers (1)

Seyeong Jeon
Seyeong Jeon on 28 Jun 2023
I recommend you to add this line below your example result code.
image = imclose(image, ones(5));

Categories

Find more on Biomedical Imaging 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!