Automated analysis of microscopic images of cellular tissues