|
Treehopper C# API
|
Utility functions useful for Display classes More...
Static Public Member Functions | |
| static double | BrightnessToCieLuminance (double brightness) |
| Returns the CIE 1976 relative luminance calculated from an input intensity (brightness) More... | |
Utility functions useful for Display classes
|
static |
Returns the CIE 1976 relative luminance calculated from an input intensity (brightness)
| brightness | The input intensity, from 0.0-1.0, to convert |
"Brightness" is perception oriented for intuitiveness. This function can be used to convert the perceptual value to a normalized luminance value that an LED driver can use to determine the correct PWM duty cycle or analog current drive strength needed to produce the associated brightness.