Calculate stats using per-pixel areas.