From c2a2dea2c7cbbc6ece40851c986d5446fa7f9837 Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Tue, 30 Apr 2024 03:22:03 +0200 Subject: [PATCH] Add a missing argument to `getColorChannel` in `extract_noise.py` --- 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 7066ba7..c494edb 100755 --- a/datasets/raise/extract_noise.py +++ b/datasets/raise/extract_noise.py @@ -54,7 +54,7 @@ def getImageNpArray(imageFileName, computeExtremes, color): imageFilePath = f'{imagesFolderPath}/nef/{imageFileName}' else: imageFilePath = f'{imagesFolderPath}/{imageFileName}' - imageNpArray = getColorChannel(imageFilePath) + imageNpArray = getColorChannel(imageFilePath, color) if computeExtremes: minColor, maxColor = updateExtremes(imageNpArray, minColor, maxColor)