Application of Machine Learning and Deep Learning in Medical Imaging