Edgedetect – Apple Shake 4 User Manual

Page 870

Advertising
background image

870

Chapter 28

Filters

Parameters

This node displays the following controls in the Parameters tab:

channels
Lets you set which channels Shake should blur. You can choose one or all of the red,
green, blue, or alpha channels. The default is “rgba.”

xPixels, yPixels
The number of pixels added (dilate) or taken from (erode) an edge. Positive values add
to the edge; negative values eat away at the edge.

borders
This parameter determines whether Shake considers or ignores the border pixels at the
edge of the image.

soften
This parameter lets you turn softening on or off. When this parameter is disabled,
DilateErode affects only whole pixels. When enabled, DilateErode can dilate or erode at a
subpixel level.

sharpness
The sharpness factor for the softening. A value of 0 gives a smooth gradation, whereas
2 gives you a sharp cutoff.

EdgeDetect

The EdgeDetect node is great for pulling out and massaging edges. You can control
what is detected, the strength of the edge, and the ability to expand or soften the
edge.

Parameters

This node displays the following controls in the Parameters tab:

strength
Applies a gain to the filter. Lower strength values eliminate detail in favor of the
strongest outlines, whereas higher strength values reveal more details. The slider lets
you choose a value from 0 to 10. Practically speaking, 10 is the highest useful value, but
you can enter higher values into the number field if you need to.

threshold
This parameter lets you further reduce the amount of detail in the resulting image.
Pixels below the threshold turn black. The range is 0 to 1.

binaryOutput
When binaryOutput is turned on, all pixels falling under the threshold parameter are
made black, and all pixels falling above the threshold parameter are made white. The
resulting image is only black and white, with no grayscale values.

Advertising