Calculates summary statistics, optionally within zones defined by a zone image, for values in a data image