Input and Output (IO)#
Image IO#
colour
|
Read image data from the specified path. |
Supported image reading methods. |
|
|
Write image data to the specified path. |
Supported image writing methods. |
Ancillary Objects
colour.io
Convert the specified array \(a\) to a 3-channel image-like representation. |
|
|
Convert the specified array to the specified bit-depth. |
|
Define an image specification attribute for OpenImageIO operations. |
|
Create an OpenImageIO image specification. |
Represent a delimiter and case-insensitive |
|
|
Read image data from the specified path using Imageio. |
|
Read image data from the specified path using OpenImageIO. |
|
Write image data to the specified path using Imageio. |
|
Write image data to the specified path using OpenImageIO. |
Spectral Image - Fichet et al. (2021)#
colour
Read the Fichet et al. (2021) spectral image at the specified path using OpenImageIO. |
|
|
Define the Fichet et al. (2021) spectral image specification. |
|
Write the specified Fichet et al. (2021) components to the specified path using OpenImageIO. |
Ancillary Objects
colour.io
|
Convert the specified spectral distribution to a spectrum attribute value according to Fichet et al. (2021). |
Convert the specified spectrum attribute value to a spectral distribution according to Fichet et al. (2021). |
OpenColorIO Processing#
colour.io
|
Process the specified image data with OpenColorIO. |
Look Up Table (LUT) Data#
colour
|
Define the base class for a 1D LUT. |
|
Define the base class for a 3-dimensional lookup table (3D LUT). |
|
Define the base class for a 3x1D LUT. |
|
Define the LUT operator that applies matrix transformations and offset vectors for colour space conversions. |
|
Define the base class for a LUT sequence. |
|
Read the specified LUT file. |
|
Write the specified LUT to the specified file. |
Ancillary Objects
colour.io
|
Define the base class for LUT sequence operators. |
|
Convert a specified LUT to the specified |
|
Read the specified Cinespace .csp LUT file. |
|
Read the specified Iridas .cube LUT file. |
|
Read the specified Sony .spi1d LUT file. |
|
Read the specified Sony .spi3d LUT file. |
|
Write the specified LUT to the specified Cinespace .csp LUT file. |
|
Write the specified LUT to the specified Iridas .cube LUT file. |
|
Write the specified LUT to the specified Sony .spi1d LUT file. |
|
Write the specified LUT to the specified Sony .spi3d LUT file. |
CSV Tabular Data#
colour
|
Read spectral data from the specified CSV file and convert its content to a dict of |
|
Read spectral data from the specified CSV file in the following form. |
|
Write spectral distributions to a CSV file. |
IES TM-27-14 Data#
colour
|
Define an IES TM-27-14 spectral distribution for electronic transfer of spectral data. |
UPRTek and Sekonic Spectral Data#
colour
|
Provide support for reading and writing IES TM-27-14 spectral data XML files from Sekonic CSV files. |
|
Implement support to read and write IES TM-27-14 spectral data XML files from UPRTek Pseudo-XLS files. |
X-Rite Data#
colour
|
Read spectral data from the specified X-Rite file and convert it to a dict of |