Wand image – Baseimage.kuwahara() function in Python
Kuwahara is one of the most famous and important effect in image processing. kuwahara() function is used to add kuwahara effect to the image. The kuwahara() method applies a smoothing filter to reduce noise in an image, but also preserves edges. kuwahara() function takes only two parameters.
Syntax :wand.image.kuwahara(radius=radius, sigma= std.deviation)
Parameter Input Type Description radius numbers.Real Size of the filter aperture. sigma numbers.Real Standard deviation of Gaussian filter.
Image Used :
Example #2: Increasing radius and sigma
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