Dilate/Erode Node

Нода "Расширить/размыть" (Dilate/Erode Node).

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

Входы

Маска

Single color channel (or a black-and-white image) input.

Свойства

Режим

Step, Threshold, Distance, Feather

Расстояние (distance)

The Distance is the filter radius. A positive value of Distance dilates (expands) the influence of a pixel on its surrounding pixels. A negative value erodes (shrinks) its influence.

Ребро (edge)

Граница для расширения или эрозии (Edge to inset).

Спад (falloff)

Falloff type the feather.

Выходы

Маска

The filtered mask output.

Пример

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