Is there any open source java based solution to find bluriness/sharpness value of an image

need help for finding an open source java method(not in android) to find bluriness/sharpness value of an image