Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Commit ebd810b

Browse files
committed
Update "Lightness" notebook.
1 parent c23b6ea commit ebd810b

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

notebooks/colorimetry/lightness.ipynb

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:a0ab11c18521f3101b4f6371df5099073bcf88eb4fd49a86264d20effcb8f6e5"
4+
"signature": "sha256:caed3118ea7b3ca3709183aea6e87188579d51cb2bdacede452d29025025f7d7"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -68,7 +68,7 @@
6868
"source": [
6969
"*L. G. Glasser*, *A. H. McKinney*, *C. D. Reilly*, and *P. D. Schnelle* described a visually uniform colour coordinate system close to *Adams* chromatic-value system but where the quintic-parabola function has been replaced with a cube-root function: the *Cube-Root Color Coordinate System*.\n",
7070
"\n",
71-
"*Lightness* $L$ in the *Cube-Root Color Coordinate System* is calculated as follows:<a name=\"back_reference_2\"><a href=\"#reference_2\">[2]</a></a>\n",
71+
"*Lightness* $L$ in the *Cube-Root Color Coordinate System* is calculated as follows: <a name=\"back_reference_2\"><a href=\"#reference_2\">[2]</a></a>\n",
7272
"\n",
7373
"$$\n",
7474
"\\begin{equation}\n",
@@ -105,13 +105,8 @@
105105
"cell_type": "markdown",
106106
"metadata": {},
107107
"source": [
108-
"> Note: Input *luminance* $Y$ is in domain [0, 100], output *Lightness* $L$ is in domain [0, 100]."
109-
]
110-
},
111-
{
112-
"cell_type": "markdown",
113-
"metadata": {},
114-
"source": [
108+
"> Note: Input *luminance* $Y$ is in domain [0, 100], output *Lightness* $L$ is in domain [0, 100].\n",
109+
"\n",
115110
"The *colour.lightness* definition is implemented as a wrapper for various lightness computation methods:"
116111
]
117112
},
@@ -213,13 +208,8 @@
213208
"cell_type": "markdown",
214209
"metadata": {},
215210
"source": [
216-
"> Note: Input *luminance* $Y$ is in domain [0, 100], output *Lightness* $W$ is in domain [0, 100]."
217-
]
218-
},
219-
{
220-
"cell_type": "markdown",
221-
"metadata": {},
222-
"source": [
211+
"> Note: Input *luminance* $Y$ is in domain [0, 100], output *Lightness* $W$ is in domain [0, 100].\n",
212+
"\n",
223213
"Using the *colour.lightness* wrapper definition:"
224214
]
225215
},
@@ -292,7 +282,7 @@
292282
"cell_type": "markdown",
293283
"metadata": {},
294284
"source": [
295-
"The *CIE $L^*a^*b^*$* colourspace approximately uniform colourspace defined in 1976 computes the *Lightness* $L^*$ quantity as follows: <a name=\"back_reference_4\"><a href=\"#reference_4\">[4]</a></a>\n",
285+
"The *CIE $L^*a^*b^*$* approximately uniform colourspace defined in 1976 computes the *Lightness* $L^*$ quantity as follows: <a name=\"back_reference_4\"><a href=\"#reference_4\">[4]</a></a>\n",
296286
"\n",
297287
"$$\n",
298288
"\\begin{equation}\n",
@@ -316,9 +306,9 @@
316306
"\\end{equation}\n",
317307
"$$\n",
318308
"\n",
319-
"The original $\\epsilon$ and $\\kappa$ constants values have been shown to exhibit discontinuity at the junction point of the two functions grafted together to create the *Lightness* $L^*$ function by *Bruce Lindbloom*.<a name=\"back_reference_5\"><a href=\"#reference_5\">[5]</a></a>\n",
309+
"The original $\\epsilon$ and $\\kappa$ constants values have been shown to exhibit discontinuity at the junction point of the two functions grafted together to create the *Lightness* $L^*$ function. <a name=\"back_reference_5\"><a href=\"#reference_5\">[5]</a></a>\n",
320310
"\n",
321-
"[Colour](https://github.com/colour-science/colour/) uses the rational values instead instead of the decimal values for these constants.\n",
311+
"[Colour](https://github.com/colour-science/colour/) uses the rational values instead of the decimal values for these constants.\n",
322312
"\n",
323313
"> See Also: The [CIE $L^*a^*b^*$ Colourspace](../models/cie_lab.ipynb) notebook for in-depth informations about the *CIE $L^*a^*b^*$* colourspace.\n",
324314
"\n",
@@ -349,13 +339,8 @@
349339
"cell_type": "markdown",
350340
"metadata": {},
351341
"source": [
352-
"> Note: Input *luminance* $Y$ and $Y_n$ are in domain [0, 100], output *Lightness* $L^*$ is in domain [0, 100]."
353-
]
354-
},
355-
{
356-
"cell_type": "markdown",
357-
"metadata": {},
358-
"source": [
342+
"> Note: Input *luminance* $Y$ and $Y_n$ are in domain [0, 100], output *Lightness* $L^*$ is in domain [0, 100].\n",
343+
"\n",
359344
"Using the *colour.lightness* wrapper definition:"
360345
]
361346
},
@@ -492,8 +477,8 @@
492477
"1. <a href=\"#back_reference_1\">^<a> <a name=\"reference_1\"></a>[17-680 lightness (of a related colour)](http://eilv.cie.co.at/term/680) (Last accessed 9 July 2014)\n",
493478
"2. <a href=\"#back_reference_2\">^<a> <a name=\"reference_2\"></a>**Glasser et al.**, *Cube-Root Color Coordinate System*, *JOSA, Vol. 48, Issue 10, pp. 736-740 (1958)*, DOI: http://dx.doi.org/10.1364/JOSA.48.000736\n",
494479
"3. <a href=\"#back_reference_3\">^<a> <a name=\"reference_3\"></a>**G. Wyszecki**, *Proposal for a New Color-Difference Formula*, *JOSA, Vol. 53, Issue 11, pp. 1318-1319 (1963)*, DOI: http://dx.doi.org/10.1364/JOSA.53.001318\n",
495-
"4. <a href=\"#back_reference_4\">^<a> <a name=\"reference_4\"></a>**Wyszecki & Stiles**, *Color Science - Concepts and Methods Data and Formulae - Second Edition*, Wiley Classics Library Edition, published 2000, ISBN-10: 0-471-39918-3, pages 167.\n",
496-
"5. <a href=\"#back_reference_5\">^<a> <a name=\"reference_5\"></a>**Bruce Lindbloom**, http://brucelindbloom.com/index.html?LContinuity.html (Last accessed 24 February 2014)\n"
480+
"4. <a href=\"#back_reference_4\">^<a> <a name=\"reference_4\"></a>**Wyszecki & Stiles**, *Color Science - Concepts and Methods Data and Formulae - Second Edition*, Wiley Classics Library Edition, published 2000, ISBN-10: 0-471-39918-3, page 167.\n",
481+
"5. <a href=\"#back_reference_5\">^<a> <a name=\"reference_5\"></a>**Bruce Lindbloom**, http://brucelindbloom.com/index.html?LContinuity.html (Last accessed 24 February 2014)"
497482
]
498483
}
499484
],

0 commit comments

Comments
 (0)