how to remove green pixels after background removal using color thresholder app in matlab?

1 次查看(过去 30 天)
i do plant disease detection and classification.i need a code to remove green pixels in matlab.i have done background removal using color thredholder app in matlab.how do i continue.Then,how to extract features using glcm.please help me for code this two.
  2 个评论
Image Analyst
Image Analyst 2018-5-12
What does "remove" mean to you? Set green pixels to zero (black)? Extract into an array with only those pixels in it? Something else???
Yoon ThiriZaw
Yoon ThiriZaw 2018-5-15
I mean green pixels remove- "the pixels where the level of green is higher than red and blue are identified and remove by application of the mask.These green pixels most probably represent healthy areas in the leaves. Thus,after removing the background and green pixels,the region left in an image is the region of our interest" said in my thesis reference paper. Then, how do i continue? Please,answer me! Thank u Image Analyst!You are great!!!

请先登录,再进行评论。

回答(1 个)

xiao
xiao 2018-5-12
you can set the pixel value which is (0,255,0) zero or 255, then you can do your remove. (or directly by finding out (0,255,0) )

类别

Help CenterFile Exchange 中查找有关 Agriculture 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by