Any part of a computer program, scanner, or other imaging device that calculates the amount of each colorant—be it CMYK or RGB—required to replicate a particular color image. Such calculations can involve the use of masking equations, Neugebauer equations, or CLUTs.