Add boxplot for the specified denoisers

This commit is contained in:
Benjamin Loison 2024-05-10 00:14:30 +02:00
parent 73fb61b16d
commit 934add5d91
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -24,6 +24,10 @@ for denoiser in DENOISERS:
multipleColorsImage = mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages)
multipleColorsImageDenoisers[denoiser] = multipleColorsImage
plt.boxplot(list(map(np.ravel, multipleColorsImageDenoisers.values())), labels = DENOISERS)
plt.grid(True)
plt.show()
def getExtreme(extreme):
vExtreme = extreme(list(multipleColorsImageDenoisers.values()))
return vExtreme