This question already has an answer here:
3 down vote favorite I am doing a project on calculating the growth of urban areas in different cities located in different parts of India. I have been able to classify the area into urban, vegetation and water. Now the problem is I cannot calculate the area covered by each pixel. I searched on Google and the available methods uses band values, what I need is to find the area covered by urban/water/vegetation based on spectral end member values that is been defined. If anyone has idea on how to perform it please share and if possible suggest an idea to export it into a graph. What I need is to find the area covered by the different spectral endmembers (urban,veg,water) values which has been defined.
Here is a link to the script:
I'm fairly new to Earth Engine so my knowledge is quite limited, please excuse