Clear Filters
Clear Filters

How to improve this image quality?

5 views (last 30 days)
Rhandrey Maestri
Rhandrey Maestri on 13 Feb 2023
Commented: Image Analyst on 13 Feb 2023
Dear community members, are there any way I can improve the quality of the following image for presentation purposes?
As example, I attache the original image and one I found on the literature.
I appreciate any help,
thanks
ORIGINAL:
GOOD PICTURE:

Answers (2)

Walter Roberson
Walter Roberson on 13 Feb 2023
invert the image so dark is foreground. Binarize choosing a threshold that includes the small spheres in the foreground. Grow the foreground enough to erase what currently shows as a brighter edge, so the current dark edge and the spheres are joined in one region. bwareafilt asking for the largest region. bwmorph to fill the hole. Now use the result as a mask against the original image: you will have selected the dark edge and the attached spheres if all goes well.

Image Analyst
Image Analyst on 13 Feb 2023
Well you can expand the contrast with imadjust. But otherwise I'd just leave it as it is. You can retouch the image in Photoshop to get rid of defects but why? Why not just show your readers what you're actually dealing with rather than give them some "improved" image that you're not working with?
  1 Comment
Image Analyst
Image Analyst on 13 Feb 2023
Perhaps clean the lens or other things in the optical path. Adjust the focus to see if that helps.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!