Clean extract_noise.py
This commit is contained in:
parent
c65b3642d8
commit
a78dcd6f99
@ -41,8 +41,8 @@ if raiseNotFlatFields:
|
||||
|
||||
# Among:
|
||||
# - `None`
|
||||
# - `"sky"`
|
||||
# - `"wall"`
|
||||
# - `'sky'`
|
||||
# - `'wall'`
|
||||
type_ = None
|
||||
if type_ is not None:
|
||||
ranges = {
|
||||
@ -141,7 +141,6 @@ if denoiser == 'mean':
|
||||
colorMean = None
|
||||
numberOfImagesInColorMean = 0
|
||||
for imageFileName in tqdm(imagesFileNames, f'Computing mean of {color} images'):
|
||||
#print(imageFileName)
|
||||
imageNpArray = getImageNpArray(imageFileName, False, color)
|
||||
if colorMean is None:
|
||||
colorMean = imageNpArray
|
||||
|
Loading…
x
Reference in New Issue
Block a user