A robust approach for subject segmentation of medical Images: Illustration with mammograms and breast magnetic resonance images. (August 2017)