Robust multi-structure segmentation of magnetic resonance brain images