From adfc58da8f9fff49bd650b123f8568b4fd4c0d41 Mon Sep 17 00:00:00 2001 From: matt3o Date: Thu, 9 Nov 2023 14:40:08 +0100 Subject: [PATCH] cleanup --- essentials.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/essentials.py b/essentials.py index 5841e31..faf1823 100644 --- a/essentials.py +++ b/essentials.py @@ -241,13 +241,7 @@ class ImageEnhanceDifference: image2 = pb(image2) diff_image = image1 - image2 - - #diff_image = torch.where(diff_image > 0, diff_image+0.05, diff_image) diff_image = torch.pow(diff_image, exponent) - #image2 = p(image2) - #diff_image = T.functional.equalize(diff_image) - #image2 = pb(image2) - diff_image = torch.clamp(diff_image, 0, 1) return(diff_image,)