Edge Blur
compositing node
Blurs the edges of an image.
See also: Blur, Radial Blur, Sharpen
This operation blurs the edges of an image. The alpha matte is used to determine the edges, not the luminance (for luminance, use a Lumamatte COP first to copy the luminance to the alpha matte).
Scoping
This operation may be restricted to certain planes, or components of planes. In addition, the operation may be applied to a subset of frames within the sequence. An image must have both its frame and plane scoped to be modified.
Images that are not modified are passed through, which does not take any memory or processing time.
Masking
This operation may be masked, which restricts the operation to an area of the image. The mask may be inverted, brightened or dimmed.
The mask input is on the side of the node. The label on the connector indicates the plane being used as a mask.
The mask input can also be scaled to fit the output image’s resolution, if they differ. However, if this node changes more often than the mask input, it is faster to place a Scale COP in front of the mask input to do the resize, as the resize will not occur on every cook of this node.
Parameters
|
Blur Size |
The maximum size of the blur kernel to apply to the edges. |
||||||
|
Blur Effect |
Scales the amount of blurring, for less or more edge softening. |
||||||
|
Soften Edge Matte |
Makes the edge blur drop off more gradually. |
|
Effect Amount |
If no mask is present, this blends the output with the input by a constant amount (0 = all input, 1 = all output). If a mask is present, this amount multiplies the mask. |
||||||
|
Operation Mask |
Selects the mask plane to use as a mask from the mask input. The mask can be selected from: A mask can be a component of a plane or an entire plane. If a vector plane is supplied as a mask, its components are multiplied by the images' components. Scalar Mask ('A', 'C.r')
C.r = I.r * M C.g = I.g * M C.b = I.b * MVector Mask ('C') C.r = I.r * M.r C.g = I.g * M.g C.b = I.b * M.b
|
||||||
|
Resize Mask to Fit Image |
If the mask image is a different resolution than the output image, turning on this parameter will scale the mask to the output image’s resolution. If this node is changing constantly, and the mask is not, it is somewhat faster to put a Scale COP down to do the resize for the mask image. Otherwise, the scale will occur every time this node cooks. |
||||||
|
Invert Mask |
Inverts the mask so that all fully 'masked' portions become unmasked. This saves you from inserting an Invert COP after the node with the mask. |
[Include:coppixelparms#coppixelparms”]
Local variables
|
L |
Sequence length |
|
S |
Start of sequence |
|
E |
End of sequence |
|
IL |
Input sequence length |
|
SR |
Sequence frame rate |
|
NP |
Number of planes in sequence |
|
W,H |
Width and height of image |
|
I |
Image index (0 at start frame) |
|
IT |
Image time (0 at start frame) |
|
AI |
Current plane array index |
|
PI |
Current plane index |
|
PC |
Num of channels in current plane |
|
CXRES |
Composite Project X resolution |
|
CYRES |
Composite Project Y resolution |
|
CPIXA |
Composite Project pixel aspect ratio |
|
CDEPTH |
Composite Project raster depth |
|
CBP |
Composite Project black point |
|
CWP |
Composite Project white point |
Usages in other examples
| Example name | Example for |
|---|