count band numbers from multiband raster image

المشرف العام

Administrator
طاقم الإدارة
My raster image has 10 bands (10 bands are 10 year), cell values of each one are 1, 2, 3. One is negative anomaly, 2 is no change area, 3 is positive anomaly. Now I want to find how many years out of 10 have the negative anomaly,how many years have positive anomaly etc. For example, the cell(10;10) has a value of 3 for all 10 bands, then the value of output raster in cell(10;10) should be 10. if cell(11;11) has a value 3 for 7 bands, then output value would be 7 etc.

Thank you in advance



أكثر...
 
أعلى