Histology image analysis for carcinoma detection and grading