2D FFT of Image and Sharpness
What about just integrating the energy in the high frequencies?
You can do that after applying High Pass filter which is equivalent of weighting high frequencies differently.