linearized static method
Implementation
static double linearized(int rgbComponent) {
final normalized = rgbComponent / 255.0;
return normalized <= 0.040449936
? normalized / 12.92 * 100.0
: math.pow((normalized + 0.055) / 1.055, 2.4).toDouble() * 100.0;
}