pyaesthetics.brightnessΒΆ

This module contains functions to evaluate the brightness of an image. It includes a converter for sRGB to RGB and evaluation of relative luminance according to BT.709 and BT.601 standards.

Created on Mon Apr 16 22:40:46 2018 Last edited on Fri Aug 2 11:34:10 2024

@author: Giulio Gabrieli (gack94@gmail.com)

Functions

relativeluminance_bt601

This function evaluates the brightness of an image by means of Y, where Y is evaluated as:

relativeluminance_bt709

This function evaluates the brightness of an image by means of Y, where Y is evaluated as: