diff options
Diffstat (limited to 'site/content/gsoc/mid_august.typ')
| -rw-r--r-- | site/content/gsoc/mid_august.typ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/site/content/gsoc/mid_august.typ b/site/content/gsoc/mid_august.typ index d847872..ef06246 100644 --- a/site/content/gsoc/mid_august.typ +++ b/site/content/gsoc/mid_august.typ @@ -25,15 +25,15 @@ The #link("https://github.com/colour-science/colour/pull/607")[pull request] is #html.elem("span", attrs: (id: "mallett_and_yuksel_2019"))[] = Mallett and Yuksel (2019) <mallett_and_yuksel_2019> -This method seeks to create reflectivities $bold(s)_r$, $bold(s)_g$, $bold(s)_b$ that match RGB primaries. and use them for reconstruction. Given an $(r, g, b)$ triplet, the recovered spectrum is simply: +This method seeks to create reflectivities $bold(s)_r$, $bold(s)_g$, $bold(s)_b$ that match RGB primaries and use them for reconstruction. Given an $(r, g, b)$ triplet, the recovered spectrum is simply: $ bold(s) = r bold(s)_r + g bold(s)_g + b bold(s)_b $ -For this to work, the basis reflectivites have to obey a few constraints: -- They must color-match RGB primaries, ie. have RGB values of [1, 0, 0], [0, 1, 0] and [0, 0, 1]. +For this to work, the basis reflectivities have to obey a few constraints: +- They must color-match RGB primaries, i.e., have RGB values of [1, 0, 0], [0, 1, 0] and [0, 0, 1]. - They must sum up to an all-ones spectrum (100% reflectivity at all wavelengths), so that pure white can be recovered correctly. - None of them can have values outside [0, 1]. -- They must minimize a chosen scalar function, e.g. one quantizing "roughness," so that the spectra are smooth and noisy solutions are avoided. +- They must minimize a chosen scalar function, e.g. one quantifying "roughness," so that the spectra are smooth and noisy solutions are avoided. The code for this is surprisingly straightforward, thanks to SciPy's excellent interface to constrained and bounded optimization. A quick overview of the code: |
