Computational methods for medical imaging