Remove rescale for plt.imsave
as do not seem necessary anymore
This commit is contained in:
parent
20fcb247c6
commit
22fc4ce46b
@ -57,12 +57,8 @@ for computeExtremes in tqdm(([True] if minColor is None or maxColor is None else
|
||||
rms = rmsDiffNumpy(subgroupIterativeMean.mean, subgroupsIterativeMean[1 - subgroupIndex].mean)
|
||||
rmss += [rms]
|
||||
|
||||
mostImagesSubgroupPrnuEstimatesNpArray = [subgroupIterativeMean.mean for subgroupIterativeMean in subgroupsIterativeMean]
|
||||
minimum = np.min(mostImagesSubgroupPrnuEstimatesNpArray)
|
||||
maximum = np.max(mostImagesSubgroupPrnuEstimatesNpArray)
|
||||
|
||||
for subgroupIndex in range(NUMBER_OF_SUBGROUPS):
|
||||
plt.imsave(f'{setting}_estimated_prnu_subgroup_{subgroupIndex}.png', (subgroupsIterativeMean[subgroupIndex].mean - minimum) / (maximum - minimum))
|
||||
plt.imsave(f'{setting}_estimated_prnu_subgroup_{subgroupIndex}.png', (subgroupsIterativeMean[subgroupIndex].mean))
|
||||
|
||||
plt.title(f'RMS between both subgroups estimated PRNUs with {DENOISER} denoiser for a given number of images among them')
|
||||
plt.xlabel('Number of images of each subgroup')
|
||||
|
Loading…
x
Reference in New Issue
Block a user