Borrar filtros
Borrar filtros

Remove bubbles from an image

3 visualizaciones (últimos 30 días)
Yaisel Córdova Chávez
Yaisel Córdova Chávez el 10 de Jun. de 2021
Respondida: Shubham el 30 de Abr. de 2024
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)

Shubham
Shubham el 30 de Abr. de 2024
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 Segmentation and Analysis en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by