Advancing Segmentation And Classification Methods In Magnetic Resonance Imaging Via Artificial Intelligence