@Jossie
That particular inversion method has been mentioned here previously.
All it boils down to is negate with 1/x instead of 1-x (or equivalently use negative gamma). There is of course some extra information about colour balance and choosing the particular gamma values.