| RBlur |
Function
The RBlur function blurs the image radially from a center point, creating flare
effects. Although an expensive process, it is extremely accurate. The entire
image is blurred, based on the range from the inner radius to the outer radius.
A pixel
outside of the oRadius distance is blurred by the oRadius amount. A pixel inside
of the
iRadius
amount is not blurred. A pixel between iRadius and oRadius is blurred
by a percentage
of its position between the two Radius parameters. You can also use the mirror
parameter to blur beyond the center point, as well as use a negative amplitude
to sample
pixels away from the center rather than toward the center.

|
Parameters
|
Type
|
Defaults
|
Function
|
| x/yCenter |
float
|
width/2, height/2 | The center point of the blur. |
| iRadius |
float
|
10 | The distance from the Center that contains the blur sample area. |
| oRadius |
float
|
20 | The outer edge for the blur area |
| aspectRatio |
float
|
1 | The aspect ratio of the pixels for anamorphic images. |
| damp |
float
|
1 | A gamma value on the blur |
| amplitude |
float
|
.5 | The amount of blur. This number can also be negative. |
| quality |
float
|
.25 | The amount of samples. A quality of 1, the maximum, means 64 samples. |
| mirror |
int
|
0 | This will consider points past the center area if your amplitude is high enough when it is turned on. |
Synopsis
image RBlur( image, float percent, float xCenter, float yCenter float iRadius, float oRadius, float aspectRatio, float damp, float amplitude, float quality, int mirror );
Script
image = RBlur( image, xCenter, yCenter, iRadius, etc....);
Command Line
shake -rblur percent xCenter yCenter iRadius etc....