use vips_sum() in vips_compass()