If you want to sum all of the pixel values in a band of data, the result is a single value in this case and not a raster. I don't believe ENVI has a tool to do this specifically but you can export your data to IDL (using Export to IDL variable) and then use IDL's TOTAL function:
print, TOTAL(data)
which will print out the sum of all the pixels in the band. Is this what you are looking to do?
|