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 radial or circular striations to image. |
last modified: December 15, 2018
USAGE: striations [-r radius ] [-c center] infile outfile
-t .... type ............. type of striations; choices are radial (or r) PURPOSE: To apply radial or circular striations to image. DESCRIPTION: STRIATIONS applies radial striations to image starting at a user specified center point and radius. ARGUMENTS: -t type ... TYPE of striations. Choices are radial (or r) or circular (or c). The default is radial. -r radius ... RADIUS is the radial distance from the center point at which the striations begin. Values are integers>=0. The default is half the minimum dimension of the image. -c center ... CENTER=cx,cy are the comma separated coordinates in the image from where the radial striations eminate. Values are integers>=0. The default is the center of the image. -k column ... COLUMN of the polar image to use for generating the circular striations. Values are integers, such that 0<=column<width of the image. The default=0. NOTE: Requires IM 6.4.2-8 or higher due to the use of -distort polar/depolar. 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. |
NOTE: The radial formula has been corrected. But I have not modified the examples. So the radius of the effect may be slightly different if one repeats the examples. |
Radial Striations |
|||
Original |
|||
![]() |
|||
Arguments: |
Arguments: |
||
![]() |
![]() |
||
Arguments: |
Arguments: |
||
![]() |
![]() |
Circular Striations |
|||
Original |
|||
![]() |
|||
Arguments: |
Arguments: |
||
![]() |
![]() |
||
Arguments: |
Arguments: |
||
![]() |
![]() |
What the script does is as follows:
This is equivalent to the following IM commands
|