VOOZH about

URL: https://www.geeksforgeeks.org/python/pgmagick-sharpen-method-python/

⇱ Pgmagick sharpen() method - Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Pgmagick sharpen() method - Python

Last Updated : 4 Oct, 2021

The sharpen() function is an inbuilt function in the Pgmagick library that is used to sharpen the image. It uses a Gaussian operator of the given radius and standard deviation (sigma). 

Syntax: 

sharpen( radius, sd )

Parameters: This function accept two parameters as mentioned above and described below:  

  • radius: This parameter stores the radius value of the sharpness.
  • sd: It is an optional parameter which stores the standard deviation of the image.

Return Value: This function returns the Pgmagick object with image added. 
 

Input Image:  

👁 Image

Example 1:  

Output: 

👁 Image

Example 2:  

Output: 

👁 Image


 

Comment
Article Tags: