sharpen() function is used in order to enhance blurry edges into more distinct(sharp) edges. This is achieved using a Gaussian function. The radius value should always less than the standard deviation(sigma). Sharpen effect image more clearer and defined.
Syntax :wand.image.sharpen(radius, sigma, channel)
Parameter Input Type Description radius numbers.Real Size of gaussian aperture. sigma numbers.real Standard deviation of the gaussian filter. channel basestring Optional color channel to target. Default is none
Increasing the value of radius and standard deviation.
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.