Python – motion_blur() in Wand
Another kind of blur we can perform in Wand is Motion Blur. In this kind a Gaussia blur is performed in a single linear direction and it appears like image is moving in a linear direction. It takes a new angle parameter.
# radius should always be greater than sigma(standard deviation)
Parameter Input Type Description radius numbers.Real the radius of the, in pixels, not counting the center pixel. sigma numbers.Real the standard deviation, in pixels angle number.Real Apply the effect along this angle. channel basestring Optional color channel to apply blur.
Image Used :
Example 2: increase radius, sigma and changed angle to 45.
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