Circle Image

Pixaflux

Surface Group Erode node

Left Toolbar > 3D icon Mesh Nodes > Surface ErodeSurface Group Erode

The Surface Group Erode takes as input a surface image with groups (see Surface Groups node) and shrinks the groups, leaving an empty space between them. The empty space is Group 0.

This node can be used with the Surface Group Dilate to reshape the groups.

For more information about surfaces see surface workflow.

input
Surface Groups In Surface Image with Groups

output
Surface Groups Out Surface Image with Eroded Groups

Procedure

To erode groups in a Surface:

  1. On the left toolbar choose Mesh Nodes > Surface Group Erode. Mesh icon > Surface Erode
  2. Connect the Surface Group Erode node to a Surface value and an Image value.

Surface Group Erode node

Inputs

Surface
The surface value.

Image
The image with the groups. See Surface Groups node.

Outputs

Surface
The surface value.

Image
The image with the eroded groups.

Attributes Panel

Surface Group Erode attributes

Amount
A amount to erode on each iteration.

Random
A clamp value that controls if a surface pixel is eroded or not based on a random number.

Seed
Seed for the random generator

Iterations
Number of iterations the erosion process is applied.

3D Nodes Main Page