Lee,

This is a very complex issue and there is an excellent book that you could pick up in the library

Colour Management by Bruce Fraser, Chris Murphy, and Fred Bunting ISBN 0-321-26722-2 which takes you through profiling all the devices from monitors and cameras to printing.

The only sure way of getting what you want is expensive and you need specialist hardware to get it spot on.

Calibrating the monitor, scanner, printer, and web cam (don't know much about web cams) will take quite a lot of work and also would need to be done regularly. LCD monitors for instance need to be done weekly (sometimes daily) if your serious about quality.

The Scanner will need calibrating to get accurate scans and a decent quality scanner and a paper and ink profile built for the output.

What I'm trying to say in a long winded way is there is no easy answer and you have to look at all the parts in the system before you can sit down and work out how your going to program all this.

What is happening in CS2 is that it takes the data that you give it on the colours and then works out the differences and how it is going to substitute the values in the picture to comply. So for every pixel in the scanned image it will subtract or add the RGB values and convert them to the new value. So the RED BLUE and GREEN histograms are shifted by the appropriate amount.

Hope this helps rather than confuses you.

Any question please ask.

Roger