Text this: Medical Image Analysis Using Deep Learning and Distribution Pattern Matching Algorithm