Phenotyping mammary gland of dairy cows through histological image analysis