Houdini 21.0 Nodes Copernicus nodes

Fill Connected Copernicus node

Flood fills the connected regions of a layer.

On this page
Since 21.0

This node starts from a seed point (the Seed Location) to fill all connected pixels up to a certain Tolerance. The node replaces this flooded area with a constant value from a parameter or an input image, which the Source determines.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Seed Location

The location in image coordinates to start the flood fill.

Tip

Click and then click a location in the image to set the Seed Location.

Tolerance

The maximum difference in pixel values from the seed location to continue to spread the fill.

Note

Though fall-off can reduce the intensity, the fill is all-or-nothing for determining connectivity.

Fall Off

A ramp to adjust the alpha of the fill by how closely the pixels match the seed value.

See Ramp parameters for more information.

Source

The value with which to replace the flooded area.

Value

Use a specific color.

Image Location

Sample a value from the fillvalue input.

First Pixel

Use the first pixel of the fillvalue input.

Last Pixel

Use the last pixel of the fillvalue input.

Color

The color to flood the image with.

ID

The ID to flood with when flooding ID layers.

Source Location

The location (in image space) in the fillvalue input to use as the flood color.

Inputs

source

A layer in which to flood a connected region.

fillvalue

An optional layer that provides the fill color.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

fill

The source layer with the connected regions replaced by the flood color.

flood

A layer that’s white where the source was filled and zero where it was unaffected.

See also

Copernicus nodes