Deep learning algorithms for medical image processing