Pgmagick sharpen() method – Python
The sharpen() function is an inbuilt function in the Pgmagick library which 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.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course