Foundations of Medical Imaging