image = | unsharpMask2dImg (inImg,inBlurWeight,inStdDev) |
image = | unsharpMask2dImg (inImg,inBlurWeight,inStdDev,inOptSmoothingGaussianCoverage) |
unsharp mask filtering of input 2d image
Unsharp mask filter is an image sharpening filter which uses a blurred (so unsharped) image to create a mask of the original image. This unsharp mask is then combined with original image to enhance high frequencies (edges) of input image. An undesirable side effect of this filter is an increase of noise in output image.
Given a gaussian smoothing operation on an input image using standard deviation
:
(see Gaussian Smoothing 2d for more informations)
Unsharp mask filtering of input image with blur weight is given by :
Here is an example of a unsharp mask operation applied to an 8-bits grey levels input image (with and
) :
(image by Ru_dagon (Own work) [GFDL (http://www.gnu.org/copyLeft/fdl.html), CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0/ ), via Wikimedia Commons])