Code for scoring cells in images from dye-based assay