I understand that LED brightness seems to be logarithmic as a function of duty cycle. In other words, perceived brightness = log(duty cycle) or that as the duty cycle becomes higher, the perceived differences in brightness become more imperceptible.

A person on the

AVR Freaks forum posted this thread on how to use the formula "brightness = log(10^(duty cycle)) = x" to cancel out the log using a lookup table or linear interpolation.

Is there a name for this kind of "linearizing using the inverse"? I searched wikipedia and found "Inverse problem" but it got complicated really quickly with matrices and I couldn't follow.