フィルターのクリア

How to remove noise from leaf image

5 ビュー (過去 30 日間)
Queila Martins
Queila Martins 2015 年 10 月 11 日
コメント済み: Prajwala TM 2017 年 3 月 19 日

Hi,

I'm asking this questions after spending a lot of days researching without getting an solution for my problem (the good thing is that I've learned a lot).

Well, I have a dataset of leaf images and I will compare their texture to check what's their level of a certain disease. Before working on the code to make comparisons, I've been working on leaf segmentation to remove background (or just make it totally black). I got a binary image and the code was working for some of them, but then I got a bunch of images that have something like a noise in the background and which I'm not able to remove.

I'm pretty new to Matlab, so I'm not sure if this kind of noise is a speckle, salt and pepper or anything else. I just see it when I transform the image to a binary one.

I've attached the original image and the binary image (where you can see the noise in a better way). Most of that it's on top, at left.

Does anyone know how to remove this type of noise from images? I've used medfilter and colfilt, but the results are not good.

Thank you in advance.

採用された回答

Image Analyst
Image Analyst 2015 年 10 月 11 日
You didn't segment the leaf properly. You need to do color segmentation, not whatever you did. See attached demo, below this picture it makes:
  3 件のコメント
parul mittal
parul mittal 2016 年 4 月 21 日
your code file isn't opening . can u plz reload it here.thnx
Prajwala TM
Prajwala TM 2017 年 3 月 19 日
Your code gives the following error: Undefined function 'bwareafilt' for input arguments of type 'double'. Error in test (line 103) leafMask = bwareafilt(leafMask, 1); Please help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAgriculture についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by