Dcraw contains a following algorithm to process image colors: https://gist.github.com/1047302.
Is it a formal (named) image processing algorithm?
If not, what should I read to understand reasoning behind it?
It's not processing an image. It's generating a lookup table (curve[]
) used to perform gamma correction.