Correct typos in previous commit

This commit is contained in:
Benjamin Loison 2024-04-16 03:15:53 +02:00
parent d4e13ed123
commit caf7025504
No known key found for this signature in database

View File

@ -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: