Skip to content

A MATLAB GUI for SDR/HDR EOTF related calculations and conversions

License

Notifications You must be signed in to change notification settings

DreamReaver/EOTF-Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EOTF Toolbox

A MATLAB GUI for comparing SDR/HDR EOTF curves, converting between RGB code values and PQ luminance, and converting between XYZ/RGB code values under specified color gamut / white point / bit depth settings.

Installation

Git clone or download the source files, and open the folder in MATLAB. Run main_window.m to start the GUI.

Usage

As shown in the screenshot above, the GUI has three functional parts. Their main usages are as follows:

  1. A plot of the gamma and PQ (SMPTE ST. 2084) EOTF curves is generated according to the specified bit depth (8/10/12), gamma value (1.0-3.0), reference luminance, and luminance interval endpoints. The output panel shows the code values of the luminance endpoints (calculated using reverse OETFs), the luminance steps near both the endpoints, and the length of the code value interval along with its proportion to the full value range.

  2. A real-time conversion between code values of different bit depths, their percentage to the full value range, and their corresponding PQ luminance.

  3. A conversion between RGB code values, XYZ code values, and PQ luminance. According to the specified color gamut and white point, the transformation matrix and its inversion are calculated and shown in the right tables.

Author

Lu Menghe 鲁梦河 [email protected]

Department of Film and TV Technology

Beijing Film Academy

Beijing, China

License

This project is licensed under the MIT License - see the LICENSE file for further details.

About

A MATLAB GUI for SDR/HDR EOTF related calculations and conversions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages