Due to the large variability of biological tissue, machine learning techniques have shown superior performance over conventional image processing methods. Here, researchers present a deep neural network-based approach for segmentation and classification of glands in tissue of benign and malignant colorectal cancer.