From 778b957ca4f301f6d631b778cac6a8050f36e21e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 11:31:24 +0200 Subject: more fadeout --- test-mogrify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index f3736c1..eac9ddd 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/2)) - frac_b = data_opt.sequence_frac * (1 - (i/(opt.how_many/2)) + frac_a = data_opt.recursive_frac * (1 - (i/(opt.how_many))) + frac_b = data_opt.sequence_frac * (1 - (i/(opt.how_many))) 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) -- cgit v1.2.3-70-g09d2