1. A method for identifying one or more stained targets in a sample, said method comprising: providing at least one digital representation of the sample wherein the sample has been stained with a stain staining a target, and a) filtering the digital representation with at least three filters, each of said filters comprising filter constant(s), applying said filter constant(s) to each pixels in at least a subset of the digital representation and determining an eigensolution based on the filter output for each pixel in the subset, wherein said filters are capable of enhancing the stained targets obtaining a filtered representation, b) optionally normalizing the filtered representation, c) segmenting the digital representation based on information from the optionally normalized filtered representation into stained cell targets and background, optionally combining with the digital representation, thereby obtaining a segmented representation, wherein said segmented representation discriminates between stained targets and other structures in the digital representation, and d) from said segmented representation identifying the stained targets in the sample.