Abstract: The present invention relates to methods for identifying and optionally quantifying stained cells in a cell or tissue sample and determining expression level of a target, as well as methods for determining staining intensity and/or staining quality of a stained sample, calibrating digital imaging apparatus using the methods, as well as systems and a computer readable mediums therefore.