Canon G2 base red and blue filter multipliers. Put the white point scaling
and the original gamma function back in. Fix the black-and-white output
option, it is now much better and can get 10 bits of information into
the 8-bit RGB output image by adjusting the red and blue guns by +1 relative
to green to handle fractional pixel values. Also added an option -indoor
which sets the red filter to 0.7, a rough compensation for indoor lighting.
digital camera format into something gimp or ImageMagick can process.
The program was originally written by Dave Coffin <dcoffin@shore.net>,
who gave me permission to make a port out of it. I've made extensive
modifications to the program's algorithms.