Semantic Segmentation And Multiple Instance Learning: Applications To Agriculture And Medicine.