Get the basic statistics of a FITS image or a region.