필터 지우기
필터 지우기

Remove bubbles from an image

조회 수: 3 (최근 30일)
Yaisel Córdova Chávez
Yaisel Córdova Chávez 2021년 6월 10일
답변: Shubham 2024년 4월 30일
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);

답변 (1개)

Shubham
Shubham 2024년 4월 30일
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!

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by