MATLAB Answers

Translated by

이 페이지의 내용은 영어에서 자동 번역되었습니다. 자동 번역 기능을 해제하려면 "<a class="turn_off_mt" href="#">여기</a>"를 클릭하십시오.

0

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

Asked by Yoon ThiriZaw on 11 May 2018
Latest activity Commented on by Yoon ThiriZaw on 15 May 2018
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 Comments

What does "remove" mean to you? Set green pixels to zero (black)? Extract into an array with only those pixels in it? Something else???
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!!!

Sign in to comment.

1 Answers

Answer by xiao
on 12 May 2018

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) )


Translated by