膨胀/腐蚀节点

膨胀/腐蚀节点。

The Dilate/Erode node expands and shrinks masks, using a morphological operator.

输入

遮罩

单色通道(或灰度图)输入。

属性

模式

步长,阈值,距离,羽化

距离

距离是过滤器半径。距离的正值会扩大(扩展)像素对其周围像素的影响。负值会侵蚀(缩小)其影响力。

插入的边线。

衰减

羽化的衰减类型。

输出

遮罩

滤镜遮罩输出。

例子

In this example, we wanted to take the rather boring array of ball bearings and add some variation to it. So, we dilated the red and eroded the green, leaving the blue alone. If we had dilated both red and green… (hint: red and green make yellow). The amount of influence is increased by increasing the Distance values. Blend-file available here.

../../../_images/compositing_types_filter_dilate-erode_example.png