Incorporating structural prior for depth regularization in shape from focus