Image processing in pathology for the discovery of clinically relevant disease subtypes