When transfering film, we have to deal very often with color cast especially on older films.
I noticed that when we split the digital file in R, G and B and then set gamma for each channel the same, the color cast dissapears.
This was my basic idea:
http://forum.doom9.org/showthread.php?t=173683
And this guy made an Avisynth filter from it:
http://forum.doom9.org/showthread.php?t=173695
GamMac not only corrects color cast, it also corrects levels.
A few examples:
Red R8 Agfa:

Unnkown film, R8 blue cast:

from the same film:

Unnkown film, R8 red cast:

from the same film:

Unnkown film, R8 blue cast:

Fuji Single-8 film, green cast:

From the same film:

Again from the same film:

And finally Peruchrome Super-8, blue cast:

The GamMac filter runs nearly in real time.
Above examples are made almost without filter parameter tweaking.
The only thing I did was reducing the red adjustment a litte bit. (same adjustment for all examples)
This filter can also be used for photos.
many greetings,
Fred.