Input and Output (IO)#
Image IO#
colour
Supported image read methods. |
|
|
Read the image data at given path using given method. |
Supported image write methods. |
|
|
Write given image data at given path using given method. |
Ancillary Objects
colour.io
|
Define an image specification attribute. |
Implement a delimiter and case-insensitive |
|
|
Create an OpenImageIO image specification. |
|
Convert given array to given bit-depth, the current bit-depth of the array is used to determine the appropriate conversion path. |
|
Read the image data at given path using OpenImageIO. |
|
Write given image data at given path using OpenImageIO. |
|
Read the image data at given path using Imageio. |
|
Write given image data at given path using Imageio. |
Convert given array \(a\) to a 3-channels image-like representation. |
Spectral Image - Fichet et al. (2021)#
colour
|
Define the Fichet et al. (2021) spectral image specification. |
|
Read the Fichet et al. (2021) spectral image at given path using OpenImageIO. |
|
Write given Fichet et al. (2021) components to given path using OpenImageIO. |
Ancillary Objects
colour.io
alias of |
|
|
Convert a spectral distribution to a spectrum attribute value according to Fichet et al. (2021). |
Convert a spectrum attribute value to a spectral distribution according to Fichet et al. (2021). |
OpenColorIO Processing#
colour.io
|
Process given image data with OpenColorIO. |
Look Up Table (LUT) Data#
colour
|
Define the base class for a 1D LUT. |
|
Define the base class for a 3x1D LUT. |
|
Define the base class for a 3D LUT. |
|
Define the LUT operator supporting a 3x3 or 4x4 matrix and an offset vector. |
|
Define the base class for a LUT sequence, i.e., a series of LUTs, LUT operators or objects implementing the |
|
Read given LUT file using given method. |
|
Write given LUT to given file using given method. |
Ancillary Objects
colour.io
|
Define the base class for LUT sequence operators. |
|
Convert given LUT to given |
|
Read given Cinespace .csp LUT file. |
|
Write given LUT to given Cinespace .csp LUT file. |
|
Read given Iridas .cube LUT file. |
|
Write given LUT to given Iridas .cube LUT file. |
|
Read given Sony .spi1d LUT file. |
|
Write given LUT to given Sony .spi1d LUT file. |
|
Read given Sony .spi3d LUT file. |
|
Write given LUT to given Sony .spi3d LUT file. |
CSV Tabular Data#
colour
|
Read the spectral data from given CSV file and returns its content as a dict of |
|
Read the spectral data from given CSV file in the following form. |
|
Write the given spectral distributions to given CSV file. |
IES TM-27-14 Data#
colour
|
Define a IES TM-27-14 spectral distribution. |
UPRTek and Sekonic Spectral Data#
colour
|
Implement support to read and write IES TM-27-14 spectral data XML file from a UPRTek Pseudo-XLS file. |
|
Implement support to read and write IES TM-27-14 spectral data XML file from a Sekonic CSV file. |
X-Rite Data#
colour
|
Read the spectral data from given X-Rite file and returns it as a dict of |