1. A method of characterizing a sensor, said method comprising: obtaining a set of locations in a first color space, each location of the set based on a response of the sensor to a corresponding one of a plurality of targets, each of the plurality of targets having a different reflectance spectrum; obtaining a set of parameters based on a decomposition of a first reflectance spectrum of at least one surface into a combination of the different reflectance spectrum of each of the plurality of targets; calculating a plurality of predicted responses of the sensor, each of the plurality of predicted responses corresponding to one of a plurality of surfaces belonging to a desired segmentation class, wherein each of the plurality of surfaces has a second reflectance spectrum that is represented as a combination of the different reflectance spectrum of each of the plurality of targets, and wherein the plurality of predicted responses are based on the sets of locations and parameters, wherein the method is performed by one or more arrays of logic elements.