You can do this through the Compute Statistics tool. In ENVI 5, search the toolbox for Compute Statistics. In ENVI Classic, it is under Basic Tools->Statistics. You can supply a mask of the background to exclude this area. You can also choose an ROI as input.
|