A method for determining image sharpness estimation of an image. Image
data for at least one column of pixels and at least one row of pixels of
the image is sampled. A first filter is applied on sequential differences
of sampled image data resulting in a first filtered sequence of first
filtered values. A second filter is applied on the sequential differences
resulting in a second filtered sequence of second filtered values. A
feature set of pixels of the image is selected. Image sharpness
estimation is determined based on the first filtered values and the
second filtered values of the feature set of pixels.