Add a missing argument to getColorChannel in extract_noise.py

This commit is contained in:
Benjamin Loison
2024-04-30 03:22:03 +02:00
parent 31b979edb3
commit c2a2dea2c7

View File

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