Copyright © Fred Weinhaus My scripts are available free of charge for non-commercial (non-profit) use, ONLY. For use of my scripts in commercial (for-profit) environments or non-free applications, please contact me (Fred Weinhaus) for licensing arrangements. My email address is fmw at alink dot net. If you: 1) redistribute, 2) incorporate any of these scripts into other free applications or 3) reprogram them in another scripting language, then you must contact me for permission, especially if the result might be used in a commercial or for-profit environment. Usage, whether stated or not in the script, is restricted to the above licensing arrangements. It is also subject, in a subordinate manner, to the ImageMagick license, which can be found at: http://www.imagemagick.org/script/license.php Please read the Pointers For Use on my home page to properly install and customize my scripts. |
Applies a polar blur to an image. |
last modified: December 15, 2018
USAGE: polarblur [-r radial ] [-a angular] infile outfile
-r ... radial .... radial blur amount; float≥0; default=10 PURPOSE: To apply a polar blur to an image. DESCRIPTION: POLARBLUR applies a polar blur to an image. The blur direction may be either or both radial or angular. The processing is a gaussian-like blur performed in the polar domain. A cartesian to polar transform is first applied, then the blur, then a polar to cartesian transform is applied. ARGUMENTS: -r radial ... RADIAL is the radial blur amount in pixels. Values are floats≥0. The default=10. A value of zero means no radial blur. -a angular ... ANGULAR is the angular blur amount in degrees. Values are floats≥0. The default=0. A value of zero means no radial blur. REQUIREMENTS: IM 6.5.9.3 is required due to the use of -morphology convolve blur. CAVEAT: No guarantee that this script will work on all platforms, nor that trapping of inconsistent parameters is complete and foolproof. Use At Your Own Risk. |
Radial Blur |
||
Original Image |
||
Arguments: |
Arguments: |
Arguments: |
Angular Blur |
||
Original Image |
||
Arguments: |
Arguments: |
Arguments: |
Polar Blur |
||
Original Image |
||
Arguments: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|