1. A method to evaluate an image processing algorithm, comprising: varying a parameter of a model of an imaging system and, for each variation of the parameter, calculating with a data processor a corresponding image of a sample; applying an image processing algorithm to the calculated corresponding images of the sample; and determining an ability of the image processing algorithm to detect the variation in the parameter.