ColorVideoVDP configuration files
May 30, 2025 ยท View on GitHub
This directory contains configurations files and look-up tables used by ColorVideoVDP.
Editing those files in the installation directory is not recommended. Instead, create a separate directory or file with the new configuration and then pass --config-paths <your_directory_or_file> when invoking cvvdp from the command line. You can also set an environment variable CVVDP_PATH with such a directory. When searching for the configuration files, ColorVideoVDP will check the directories in the following order:
- The directory passed as
--config-paths <your_directory_or_file> - The directory pointed by
CVVDP_PATH - The installation directory (
pyvvdp/vvdp_data)
You can specify more than one path (separated by a space). If the path is a file, its name must start with the name of the config file and has the same extension, for example display_models_custom.json. If the path is a directory, it must contain the config file with the same name as those in pyvvdp/vvdp_data.
cvvdp_parameters.json
This file contains the parameters from ColorVideoVDP calibration.
display_models.json
Contains a list of available display models. Each display models specifies:
- Display geometry: its dimensions and resolution
- Display photometric characteristic: its peak luminance, black level, reflectivity
- Input color space and EOTF: name listed in colorspaces.json. Each colorspace specifies its primaries and an EOTF used to tranform display-encoded values into linear color.
Each entry contains the following fields:
name- descriptive nameresolution[res_x, res_y] - display resolution in pixelspixels_per_degree(optional) - specify the visual resolution in pixels per degree. If present,viewing_distance_metersanddiagonal_size_inchesare ignored. You still need to provide theresolution.colorspace- the name of a color space, listed in colorspaces.json - see belowviewing_distance_meters- viewing distance in metersdiagonal_size_inches- viewing distance in inchesmax_luminance- the maximum (peak) luminance in cd/m^2 (or nit)contrast- contrast. for 1000:1 contrast, put there 1000E_ambient- the amount of ambient light in luxk_refl- reflectivity of the screen, assuming a matte screen. The default is 0.005 (which is 0.5%).exposure- the content in a linear colour space is multiplied by the exposure value. The default is 1. This can be used in combination with various HDR file format, which often lack information about the absolute luminance levels.source- comment, typically URL to the source from which the information comes from
colorspaces.json
List of available color spaces and their EOTFs.
Each entry contains the following fields:
EOTF- Non-linearity used to transform display-encoded pixel values (in the input) to linear values - absolute or relative. Select fromsRGB,PQ,HLGor a string with numerical value (e.g. 2.2) for gamma.whitepoint- currently unusedRGB2X,RGB2Y,RGB2Z- three vectors with a 3x3 matric converting from the native source/display color space to CIE XYZ 1931XYZ2R,XYZ2G,XYZ2B- unused
The selected color space specifies color space of the input image/video and the color space of the display. It is currently not possible to have input pixels in different color space than the one used by the display.