Mask R-CNN Models to Purify Medical Images of Training Sets