image thumbnail

Sharpness Estimation From Image Gradients

version 1.0.0.0 (48.9 KB) by Tolga Birdal
The simplest form of estimating the sharpness feature from a grayscale image

2.1K Downloads

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 <http://www.tbirdal.me>

Cite As

Tolga Birdal (2021). Sharpness Estimation From Image Gradients (https://www.mathworks.com/matlabcentral/fileexchange/32397-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!