Unsupervised region proposal and supervised patch extraction algorithms for extracting candidate 2D ROIs to train SVM/CNN classifiers, for mass detection in mammograms.