In a method and system and machine-readable medium, colors in an image
(200) are unmixed (202) using a matrix X=AS, where A is a n.sub.s.
.times.n.sub.d matrix of spectral definitions, where n.sub.s is the
number of spectral components and n.sub.d is the number of dyes into
which the image is decomposed, and where S is a n.sub.d.times.l matrix of
amounts of each dye at every pixel, where l is the number of pixels; the
matrix X is constrained for solution by an unsupervised matrix
decomposition method having constraints consistent with properties of an
additive color model; and n.sub.d is determined. A texture is determined
to identify areas of interest. Further processing may automatically
measure cell dye concentration in the determined regions of interest.