Someone just posed an interesting question to me, and this is the only place I hang out where anybody knows anything at all about image processing.

Given a digital photograph, how can I detect the area of sharpest focus?