I'd like to help, but I don't follow your description. What would you be looping over? And what would you be summing? It sounds like you only have one NDVI image, so you must not be looping over images. Are you trying to sum all of the NDVI values in pixels that have NDVI above or below some certain value? That's kind of what it sounds like, but I have a hard time thinking of why someone would want to do that. So, probably I just don't understand.
If you can give more details, I'll see if I can offer suggestions.
- Peg
|