Remove bubbles from an image

Hello
I have a series of images very similar to the one I show here and I would like to remove the part that is not of interest for the study, that is the bubbles that are not part of the jet, I have tried several things but nothing has been satisfactory. Could someone help me?
Thanks in advance.
This is part of the processing I do. K is the intial image and filt_thresh = 0.40:
J_bw = imbinarize(K,filt_thresh);
J_mf = medfilt2(J_bw, [2 2]);
SE = strel('disk',r,0);
J_e = imerode(J_mf,SE);
J_d = imdilate(J_e,SE);

Respuestas (1)

Gojo
Gojo el 30 de Abr. de 2024

0 votos

Hey Yaisel
I understand that you wish to remove "bubbles" from the image.
You can consider using region-based segmentation techniques to identify and separate bubbles from the rest of the image. Use the "regionprops" function to extract properties of connected components (regions) in the binary image. You can then filter out regions based on their area, circularity, or other characteristics. You can find the relevant documentation here:
You may also try edge detection for identifying the boundaries of the bubbles and then apply morphological operations to refine the edges.
You may also find below MATLAB Answers relevant to your query:
I hope this helps!

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 10 de Jun. de 2021

Respondida:

el 30 de Abr. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by