Applying Deep Learning to Medical Images