Microscope image Matlab processing

21 views (last 30 days)
Hi everyone
i'm trying to analyze microscope images with Matlab.
  • What i would like:
Starting from an image, like img_di_partenza (attached, not the original resolution), i would like to filter it and highlight only the fibers.
  • What i managed to achieve
  1. - First thing, i do is bring the grayscale image with rgb2gray.
  2. - Increase the contrast with imadjust
  3. - Finally I have set 'manual threshold'.
I get more or less something like img_pos_elabora image.
NB. the two images uploaded are not the same, they are an example.
Problems
- The result has a high 'signal to noise ratio'.
- I have many images and therefore I would like to automate everything (I would like to skip the step of the manual threshold).
Can someone help me?
TY everyone

Accepted Answer

Image Analyst
Image Analyst on 29 Sep 2021
So you'll have to come up with an autothreshold algorithm. There are some in MATLAB such as imbinarize() and graythresh(). I'm also attaching my triangle threshold routine, which is very good for skewed histograms like you most commonly see. You can of course develop your own custom one if you want.
  8 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!