Defines the colour models plotting objects:
Returns the RGB colourspace with given name.
Parameters: | colourspace (unicode) – RGB colourspace name. |
---|---|
Returns: | RGB colourspace. |
Return type: | RGB_Colourspace |
Raises: | KeyError – If the given RGB colourspace is not found in the factory RGB colourspaces. |
Plots given RGB colourspaces in CIE 1931 Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> csps = ['sRGB', 'ACES2065-1']
>>> RGB_colourspaces_CIE_1931_chromaticity_diagram_plot(csps)
True
Plots given RGB colourspaces in CIE 1960 UCS Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> csps = ['sRGB', 'ACES2065-1']
>>> RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot(csps)
True
Plots given RGB colourspaces in CIE 1976 UCS Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> csps = ['sRGB', 'ACES2065-1']
>>> RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot(csps)
True
Plots given RGB colourspace array in CIE 1931 Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> RGB = np.random.random((10, 10, 3))
>>> RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot(RGB)
True
Plots given RGB colourspace array in CIE 1960 UCS Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> RGB = np.random.random((10, 10, 3))
>>> RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot(RGB)
True
Plots given RGB colourspace array in CIE 1976 UCS Chromaticity Diagram.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> RGB = np.random.random((10, 10, 3))
>>> RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot(RGB)
True
Plots given colourspace transfer function.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> single_transfer_function_plot()
True
Plots given colourspaces transfer functions.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Examples
>>> multi_transfer_function_plot(['sRGB', 'Rec. 709'])
True