Filtering noise bubble flow

4 ビュー (過去 30 日間)
Florian Hochwart
Florian Hochwart 2020 年 12 月 7 日
回答済み: Holmbrero 2020 年 12 月 9 日
Hello,
I want to get a binary image of my initial image and remove the noise (which I highlighted in the filter.png and gradient_mask.png). The content (noise) of the red ellips should disappear, meanwhile the content (bubbles) of the green ellips should remain. I have already tried the example of "Detect Cell using edge detection and morphlogy', but I got no proper results. For this reason, I attached the two ways I tried so far - imfilter and gradient mask.
Initial image:
  • A = imadjust(imread('Test.tif'));
For filter.png I applied:
  • B = imfilter(A,fspecial('disk'));
  • C = imbinarize(B,'adaptive','ForegroundPolarity','bright','Sensitivity',1);
For gradient_mask.png:
  • D = edge(A,'canny',0.1);
For any hints and/or solutions I am really grateful.
Thanks in advance.

回答 (1 件)

Holmbrero
Holmbrero 2020 年 12 月 9 日
Hi!
Try bwareaopen. Apply it on your binary image.
/Anders

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by