Uzol Dilatovať/Erodovať
![Uzol Dilatovať/Erodovať.](../../../_images/compositing_node-types_CompositorNodeDilateErode.webp)
The Dilate/Erode node provides a morphology (mathematical shape analysis) filter.
Vstupy
- Maska
Vstup pre jeden farebný kanál (alebo čiernobiely obraz).
Vlastnosti
- Režim
Krok, Prah, Vzdialenosť, Zmäkčenie
- Vzdialenosť
Vzdialenosť je polomer filtra. Kladná hodnota Vzdialenosti rozširuje vplyv pixelu na okolité pixely. Záporná hodnota znižuje (zmenšuje) jeho vplyv.
- Hrana
Hrana na vloženie.
- Dopad
Typ dopadu zmäkčenia.
Výstupy
- Maska
Výstupná filtrovaná maska.
Napríklad
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](../../../_images/compositing_types_filter_dilate-erode_example.png)