The effect of some photo filters can be summarized in transmission curves such as this one:
I want to simulate the effect of such filters on digital images. For example, the Warming Filter 81A whose curve is pictured above.
I have to convert the color of each pixel of the source image, to the color it would be seem to have if seen through the filter.
Digital image colors are usually stored in the RGB format, but can be converted to other color spaces: HSV, YCbCr, etc.
How can I relate the transmittance function to the source and converted image colors?
Which color space should I use to simulate the effect of a photo filter, without losing any of the light information (chromaticity or luminosity)?
Note: I posted a related question on physics.stackexchange.com