colour.io.read_LUT_SonySPI3D¶
-
colour.io.
read_LUT_SonySPI3D
(path)[source]¶ Reads given Sony .spi3d LUT file.
- Parameters
path (unicode) – LUT path.
- Returns
LUT3D
orLUT3x1D
class instance.- Return type
Examples
Reading a 3D Sony .spi3d LUT:
>>> import os >>> path = os.path.join( ... os.path.dirname(__file__), 'tests', 'resources', 'sony_spi3d', ... 'Colour_Correct.spi3d') >>> print(read_LUT_SonySPI3D(path)) LUT3D - Colour Correct ---------------------- Dimensions : 3 Domain : [[ 0. 0. 0.] [ 1. 1. 1.]] Size : (4, 4, 4, 3) Comment 01 : Adapted from a LUT generated by Foundry::LUT.