Region filter change sum ro np.sum