Skip to content

Commit 7bf4042

Browse files
committed
Add comment about linearity of reference swatches.
1 parent 120657d commit 7bf4042

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

colour_checker_detection/examples/examples_detection.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@
270270
"REFERENCE_COLOUR_CHECKER = colour.CCS_COLOURCHECKERS[\n",
271271
" 'ColorChecker24 - After November 2014']\n",
272272
"\n",
273+
"# NOTE: The reference swatches values as produced by the \"colour.XYZ_to_RGB\"\n",
274+
"# definition are linear by default.\n",
275+
"# See https://github.com/colour-science/colour-checker-detection/discussions/59\n",
276+
"# for more information.\n",
273277
"REFERENCE_SWATCHES = colour.XYZ_to_RGB(\n",
274278
" colour.xyY_to_XYZ(list(REFERENCE_COLOUR_CHECKER.data.values())),\n",
275279
" REFERENCE_COLOUR_CHECKER.illuminant, D65,\n",
@@ -411,7 +415,7 @@
411415
"name": "python",
412416
"nbconvert_exporter": "python",
413417
"pygments_lexer": "ipython3",
414-
"version": "3.9.9"
418+
"version": "3.9.12"
415419
}
416420
},
417421
"nbformat": 4,

0 commit comments

Comments
 (0)