A system for analyzing image data can include a processor to detect a set of medical images and partition each medical image into a plurality of non-overlapping or overlapping patches. The processor can also generate an ordered set of patch clusters derived from the medical images, wherein the patch clusters are sorted based on a type of tissue identified in each of the medical images. Additionally, the processor can generate a digital representation of a percentage of the type of tissue calculated for each of the medical images and transmit an alert in response to detecting that the percentage of the type of tissue for an image exceeds a predetermined threshold.