MATLAB Answers

0

How do I remove the bubbles in my image?

Asked by powertime on 14 May 2019
I am currently trying to edit this image to remove the bubbled parts of the image, the white areas, turning them black. So that when I create a binary image of this, the white bubbles will be considered under the black area. I have tried imareaopen but would like to get rid of the large sized white marks only. This option removes my smaller black spots which I would like to keep. The gray portion is the surface and I would like to have that appear as white in the binary image but everything else black.
original_T1.JPG
This is my sample code that I have used.
sample code for question.JPG
masked.JPG
and this is the masked result. However, the bubbles appear white as the surface did and I want the bubbled areas to be black.

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019a

0 Answers