Depth from focus with one image