5657585960616263646566
for (FloatImage val : values) { mean.add(val); total++; } if (total > 0) { mean.scale(1.0f / total); context.write(key, mean); } } }