3 import matplotlib.pyplot as plt
6 x = np.logspace(-3, 0, 100)
8 plt.loglog(x, pow(x, 2.2))
9 # plt.loglog(x, pow(x, 2.4))
14 srgb_linearised.append(pow((xx + 0.055) / 1.055, 2.4))
16 srgb_linearised.append(xx / 12.92)
18 # plt.loglog(x, srgb_linearised)
23 rec_linearised.append(pow((xx + 0.099) / 1.099, 1 / 0.45))
25 rec_linearised.append(xx / 4.5)
27 plt.loglog(x, rec_linearised)