pyaesthetics.brightness.relativeluminance_bt601¶
- pyaesthetics.brightness.relativeluminance_bt601(img)¶
This function evaluates the brightness of an image by means of Y, where Y is evaluated as:
Y = 0.587G + 0.114B + 0.299R B = mean(Y)
- Parameters:
img (numpy.ndarray) – image to analyze, in RGB
- Returns:
mean brightness
- Return type:
float