#49: Remove shift per color channel

This commit is contained in:
Benjamin Loison 2024-04-19 17:19:47 +02:00
parent 77330e24d2
commit 675b01271a
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -3,8 +3,7 @@ import matplotlib.pyplot as plt
fileName = 'mean_flat-field_nef_wavelet_blue'
npArray = np.load(f'{fileName}.npy')
npArrayMin = npArray.min()
print(f'{npArrayMin=}')
plt.imsave(f'{fileName}.png', npArray - npArrayMin)
#plt.imshow(npArray - npArrayMin)
plt.imsave(f'{fileName}.png', npArray)
#plt.imshow(npArray)
#plt.show()