3-D Shape Estimation and Image Restoration: Exploiting Defocus and Motion-Blur