I hereby claim:
- I am kelsolaar on github.
- I am thomasmansencal (https://keybase.io/thomasmansencal) on keybase.
- I have a public key whose fingerprint is 2331 CA52 9DDA 0A42 6B76 37E1 502D 5DCA A231 FF22
To claim this, I am signing this object:
set cut_paste_input [stack 0] | |
version 9.0 v4 | |
push $cut_paste_input | |
Group { | |
name Absolute_Luminance_Calibration | |
tile_color 0xffbf00ff | |
selected true | |
xpos -40 | |
ypos 39 | |
addUserKnob {20 absolute_luminance_calibration_tab l "Absolute Luminance Calibration"} |
import colour | |
colour.filter_warnings() | |
XYZ = colour.spectral_to_XYZ(colour.ILLUMINANTS_RELATIVE_SPDS['D65']) / 100.0 | |
UCS = colour.XYZ_to_UCS(XYZ) | |
uv = colour.UCS_to_uv(UCS) | |
CCT, D_uv = colour.uv_to_CCT_Ohno2013(uv) | |
print(CCT, D_uv) |
I hereby claim:
To claim this, I am signing this object:
import numpy as np | |
import matplotlib.pyplot as plt | |
w = 400 | |
h = 300 | |
def normalize(x): | |
x /= np.linalg.norm(x) | |
return x |
P = np.array( | |
[[0.6650, 0.3220], | |
[0.2950, 0.6070], | |
[0.1500, 0.0600]]) | |
W = np.array([0.3127, 0.3290]) | |
NPM = colour.normalised_primary_matrix(P, W) | |
NPM_i = np.linalg.inv(NPM) |
import numpy as np | |
import colour | |
xyY = np.asarray(colour.MUNSELL_COLOURS_REAL[2000][1]) | |
# Munsell Renotation System uses C illuminant. | |
# Luminance is in range [0-100], so we need to scale it | |
# back to [0-1]. | |
XYZ = colour.xyY_to_XYZ(xyY) | |
RGB = colour.XYZ_to_sRGB( |
Version 1 | |
From 0 1 | |
Length 1024 | |
Components 1 | |
{ | |
-0.358447488584475 | |
-0.015901280236606 | |
0.041176345334171 | |
0.074564615923278 | |
0.098253970904947 |