It seems pretty simple but until now I could not find a proper solution: In a given raster i want to know the number or ratio of e.g. red pixels.
Edit: to be more precise: I have a number a arial photos and want to estimate vegetation cover, so I tried to estimate/count the number or amount of green pixels. If there is an other solution to estimate vegetation cover, i am open to any other way.
First Attemps were raster statistics and inspecting histogramms, but the results were not clear to me.