Sharpen

Sharpen[image]

gives a sharpened version of image.

Sharpen[image,r]

gives a version of image sharpened over pixel radius r.

Details

  • Sharpen, also known as de-blurring, is typically used to increase the visual sharpness of an image, i.e. to remove blurring and increase the focus of blurry regions. It therefore perceptually enhances local details (including edges) of an image.
  • Sharpen[image] is equivalent to Sharpen[image,2].
  • Sharpen works with 2D and 3D images. For multichannel images, it operates separately on each channel.

Background & Context

  • Sharpen is a function typically used to increase the visual sharpness of an image, i.e. to remove blurring and increase the focus of blurry regions. It therefore enhances local details (including edges) of an image.
  • Sharpen implements unsharp masking, which combines a high-frequency version of the image with the original in order to add details. Sharpen is a linear operation, meaning its application to a linear combination of images is equivalent to a linear combination of the images obtained by applying it individually.
  • ImageDeconvolve provides finer control over the sharpening by allowing specification of the shape of the blur, known as the point spread function. The converse operation to Sharpen is Blur.

Examples

open allclose all

Basic Examples  (2)

Sharpen a photo:

Sharpen an astronomical image, specifying a radius:

Scope  (5)

Data  (3)

Sharpen a binary image:

Sharpen a geological image:

Sharpen a 3D volume:

Parameters  (2)

Sharpen an image using the default setting:

Increase the amount of sharpening:

Sharpen a 3D image in the vertical direction only:

Sharpen the horizontal planes only:

Applications  (3)

In some cases, sharpening can improve the result of TextRecognize:

Sharpen an ultrasound image, specifying a radius:

Sharpen a color image by applying the operation to the luminance channel only:

Properties & Relations  (2)

Sharpening changes the intensity of pixels near an edge:

Line profile of a sharpened edge:

Sharpen an image using Blur:

Compute the unsharp mask:

Add the unsharp mask to the original image:

Boost the unsharp masking effect:

Neat Examples  (1)

Successively sharpen an image:

Wolfram Research (2008), Sharpen, Wolfram Language function, https://reference.wolfram.com/language/ref/Sharpen.html (updated 2012).

Text

Wolfram Research (2008), Sharpen, Wolfram Language function, https://reference.wolfram.com/language/ref/Sharpen.html (updated 2012).

CMS

Wolfram Language. 2008. "Sharpen." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Sharpen.html.

APA

Wolfram Language. (2008). Sharpen. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Sharpen.html

BibTeX

@misc{reference.wolfram_2024_sharpen, author="Wolfram Research", title="{Sharpen}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/Sharpen.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_sharpen, organization={Wolfram Research}, title={Sharpen}, year={2012}, url={https://reference.wolfram.com/language/ref/Sharpen.html}, note=[Accessed: 21-November-2024 ]}