Masking and removing green pixels

3 ビュー (過去 30 日間)
Jagdish kamble
Jagdish kamble 2014 年 10 月 26 日
編集済み: Image Analyst 2015 年 10 月 27 日
I am performing Plant disease detection.so I want to identify the mostly green colored pixels. After that, based on specified threshold value that is computed for these pixels, the mostly green pixels i want to masked as follows: if the green component of the pixel intensity is less than the pre-computed threshold value, the red, green and blue components of the this pixel is assigned to a value of zero. pleae give me solution for Masking the green pixels
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 10 月 26 日
It seems that you have a good idea on what has to be done. What have you tried so far?
Jagdish kamble
Jagdish kamble 2014 年 10 月 26 日
I does not know to find threshold value .

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

回答 (2 件)

Image Analyst
Image Analyst 2014 年 10 月 26 日
編集済み: Image Analyst 2015 年 10 月 27 日
See my "color detection by hue" tutorial in my File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 It can do this. Simply adapt the thresholds, by looking at the histograms, to select green instead of yellow.
  8 件のコメント
Jagdish kamble
Jagdish kamble 2014 年 10 月 28 日
Thank you sir
saed makhool
saed makhool 2015 年 10 月 27 日
THANKS ALOT

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


Matt Tearle
Matt Tearle 2014 年 10 月 27 日
At the risk of being accused of shameless self-promotion... I blogged about a similar problem on Steve Eddins's Image Processing blog. Perhaps some of my experiences might be of use?

カテゴリ

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