A new measure for the effect of sharpening and smoothing filters on images