This commit is contained in:
Benjamin Loison 2024-06-22 00:23:51 +00:00
parent 0fca7c84a0
commit b799e2a058
No known key found for this signature in database

View File

@ -7,8 +7,10 @@ import numpy as np
from enum import Enum, auto
IMAGES_CAMERAS_FOLDER = {
'RAISE': 'flat-field/nef',
'Rafael 23/04/24': 'rafael/230424',
#'RAISE': 'flat-field/nef',
#'Rafael 23/04/24': 'rafael/230424',
'RAISE not flat-field D7000': 'not_flat-field/d7000/nef',
'RAISE not flat-field D90': 'not_flat-field/d90/nef',
}
class Operation(Enum):
@ -44,4 +46,4 @@ for camera in tqdm(IMAGES_CAMERAS_FOLDER, 'Camera'):
if OPERATION == Operation.LOAD_NPY:
numpyFilePath = getNumpyFilePath(imageFilePath, color)
rawColorChannel = np.load(numpyFilePath, mmap_mode = 'r')
print(color, rawColorChannel[:RESOLUTION].mean())
print(color, rawColorChannel[:RESOLUTION].mean())