Fred's ImageMagick Scripts
|
Applies radial or circular striations to image. |
last modified: February 25, 2009
|
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
|