Brain magnetic resonance image classification using multiple instance learning and tumor segmentation based on watershed algorithms