Regularized Multigrid Optimization for Material Reconstruction from Single Medical X-ray Images