From caf7025504ff6974af8a694f7e053d6a6169380d Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Tue, 16 Apr 2024 03:15:53 +0200 Subject: [PATCH] Correct typos in previous commit --- datasets/raise/extract_noise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/raise/extract_noise.py b/datasets/raise/extract_noise.py index edf04e5..3b330c2 100755 --- a/datasets/raise/extract_noise.py +++ b/datasets/raise/extract_noise.py @@ -54,7 +54,7 @@ def treatImage(imageFileName, computeExtremes = False): if maxColor is None or greenRawImageVisibleMax > maxColor: maxColor = greenRawImageVisibleMax return - imageNpArray = (greenRawImageVisible - minGreen) / (maxGreen - minGreen) + imageNpArray = (greenRawImageVisible - minColor) / (maxColor - minColor) # Pay attention to range of values expected by the denoiser. # Indeed if provide the thousands valued raw image, then the denoiser only returns values between 0 and 1 and making the difference between both look pointless. else: