diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 11:29:46 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 11:29:46 +0200 |
| commit | 9115ff262101bc0def2ae8109819c470af73e111 (patch) | |
| tree | a75351cd01075627ea507a9dd766ad19576dca43 /test-mogrify.py | |
| parent | 914362fcd6bffc3a2ef4cceb628217d7c3f2d20a (diff) | |
more fadeout
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-mogrify.py b/test-mogrify.py index 3b8af35..f3736c1 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -198,8 +198,8 @@ if __name__ == '__main__': if data_opt.sequence and A_dir is not None: A_img = Image.open(sequence_path).convert('RGB') A_im = np.asarray(A_img) - frac_a = data_opt.recursive_frac * (1 - (i/opt.how_many)) - frac_b = data_opt.sequence_frac * (1 - (i/opt.how_many)) + frac_a = data_opt.recursive_frac * (1 - (i/(opt.how_many/2)) + frac_b = data_opt.sequence_frac * (1 - (i/(opt.how_many/2)) frac_c = 1.0 - frac_a - frac_b array_a = np.multiply(last_im.astype('float64'), frac_a) array_b = np.multiply(A_im.astype('float64'), frac_b) |
