diff options
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-mogrify.py b/test-mogrify.py index 083154a..3ef86b7 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -204,9 +204,9 @@ if __name__ == '__main__': array_a = np.multiply(last_im.astype('float64'), frac_a) array_b = np.multiply(A_im.astype('float64'), frac_b) array_c = np.multiply(im.astype('float64'), frac_c) - comb_ab = np.add(array_a, array_b) - comb_abc = np.add(array_ab, array_c) - next_im = comb_abc.astype('uint8') + array_ab = np.add(array_a, array_b) + array_abc = np.add(array_ab, array_c) + next_im = array_abc.astype('uint8') print("rec: {}, seq: {}, pix: {}".format(frac_a, frac_b, frac_c)) else: |
