from ponomarenko import estimate_noise from PIL import Image import numpy as np imagePath = '0raw.jpeg' imagePil = Image.open(imagePath).getchannel('G') imagePil.show() imageNpArray = np.array(imagePil) bins, noise_std = estimate_noise(imageNpArray) print(bins) print(noise_std)
array([17.039062, 29. , 46.25 ], dtype=float32) array([0.05639337, 0.11434583, 0.23447046], dtype=float32)
Related to #36.
No dependencies set.
The note is not visible to the blocked user.
Related to #36.