Patent ID: 7133547

Claim:
A method of modeling a dye, said method comprising: determining a transmittance of the sample treated with the dye from a color image of the treated sample, the image comprising a plurality of pixels, in each of a red, green, and blue channel of an RGB color space and for each pixel of the image so as to form am RGB triplet for each pixel; grouping the RGB triplets according to the minimum transmittance in the red, green, and blue channels for the respective RGB triplet; normalizing each group RGB triplets by summing the transmittances in each of the respective red, green, and blue channels and then dividing each of the summed transmittances by the number RGB triplets in the respective group so as to form respective normalized RGB triplets; and tabulating the normalized RGB triplets according to the minimum transmittance of each normalized RGB triplet so as to form a correspondence table for the dye, the correspondence table extending in transmittance increments between 0% and 100% transmittance.