Sharpness Estimation From Image Gradients

The simplest form of estimating the sharpness feature from a grayscale image
Updated 31 Jul 2011

View License

Sharpness estimation using gradients
This is the most simple and basic measure of sharpness. Although many great other techniques exist, even this primitive estimation algorithm finds itself decent practical usage.
The file reads an image and iteratively smooths it more and more to present how sharpness reduces. The method is tested against mean and unsharp (sharpen) filtering.

Usage: Just execute this file. (Remember to have lena.jpg next to this file). All results will be printed to matlab console.

Copyright (c) 2011, Tolga Birdal <>

Cite As

Tolga Birdal (2024). Sharpness Estimation From Image Gradients (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes