CollectImages

Forms a series of image layers by repeatedly evaluating the input with different Contexts. Useful for networks that need to dynamically build an unknown number of image layers.

user

Container for user-defined plugs. Nodes should never make their own plugs here, so users are free to do as they wish.

out

The output image generated by this node.

enabled

Turns the node on and off.

in

The image which will be evaluated for each layer.

rootLayers

A list of values for the layerVariable, defining the layers to be collected.

layerVariable

This Context Variable will be set with the current layer name when evaluating the in plug. This allows you to vary the upstream processing for each new layer.

addLayerPrefix

When on, the output channel names are automatically prefixed with the name of the layer being collected. Should be turned off when the input channel names already contain the layer name.

mergeMetadata

Controls how the output metadata is generated from the collected images. By default, the metadata from the first image alone is passed through. When mergeMetadata is on, the metadata from all collected images is merged, with the last image winning in the case of multiple image specifying the same piece of metadata.