Remove bubbles from an image
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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);
0 Commenti
Risposte (1)
Shubham
il 30 Apr 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!
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!