Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 8.0 v1 | |
Read { | |
inputs 0 | |
file /Users/kelsolaar/Downloads/Pictures/SonyF35.StillLife.dpx | |
format "1920 1080 0 0 1920 1080 1 HD" | |
origset true | |
version 2 | |
colorspace linear | |
raw true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
np.random.seed(64) | |
M_i = np.random.random((3, 3)) | |
M_o = np.random.random((3, 3)) | |
# M . M_i = M_o | |
# M . M_i . M_i^{-1} = M_o . M_i^{-1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pprint import pprint | |
from colour import XYZ_to_CIECAM02, CIECAM02_VIEWING_CONDITIONS, sRGB_to_XYZ | |
from colour.models.deprecated import RGB_to_HSV | |
XYZ = np.array([19.01, 20.00, 21.78]) | |
XYZ_w = np.array([95.05, 100.00, 108.88]) | |
L_A = 318.31 | |
Y_b = 20.0 | |
surround = CIECAM02_VIEWING_CONDITIONS['Average'] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 8.0 v1 | |
CMSTestPattern { | |
inputs 0 | |
name CMSTestPattern | |
selected true | |
xpos 180 | |
ypos -57 | |
} | |
clone node11d373b60|Colorspace|60327 Colorspace { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import colour | |
name, data, illuminant = colour.COLOURCHECKERS['ColorChecker 2005'] | |
for i, (name, colourspace) in enumerate( | |
sorted(colour.RGB_COLOURSPACES.items())): | |
if name in ('aces', 'adobe1998', 'prophoto'): | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import division | |
import sys | |
import numpy as np | |
from vispy import scene | |
from vispy.scene.visuals import create_visual_node | |
from vispy.visuals.mesh import MeshVisual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/colour-science/colour/blob/develop/colour/models/derivation.py#L158 | |
import colour | |
sRGB = colour.RGB_COLOURSPACES['sRGB'] | |
colour.RGB_luminance_equation(sRGB.primaries, sRGB.whitepoint) | |
# u'Y = 0.212636821677(R) + 0.715182981841(G) + 0.0721801964814(B)' |