DeepFromFrames

The DeepFromFrames node copies multiple input frames from a regular 2D image to samples in a single deep frame.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence from which you want to copy the frames from.

Control (UI)

Knob (Scripting)

Default Value

Function

DeepFromFrames Tab

samples

samples

5

Sets the number of frames to sample the input at.

frame range

range_first

1

Sets the start frame for sampling the input. For example, with the default samples value (5) and frame range value (1-9) DeepFromFrames samples at frames 1, 3, 5, 7 and 9.

range_last

9

Sets the end frame for sampling the input. For example, with the default samples value (5) and frame range value (1-9) DeepFromFrames samples at frames 1, 3, 5, 7 and 9.

premult

premult

enabled

Set whether the input needs premultiplying.

When disabled, DeepFromFrames assumes that the input is already premultiplied.

split alpha mode

alpha_mode

multiplicative

Set how the alpha channel is split:

additive - performs a straight division by the number of samples. This does not result in the original alpha values if the deep samples are flattened later on.

multiplicative - the samples are split so that each is
1-pow(1-alpha,1/numSamples). If the deep samples are flattened later on (for example, using DeepToImage), the alpha values match the originals.

zmin

zmin

1

Sets the depth at which the first sampled frame is placed. This is the front-most sample in depth.

zmax

zmax

2

Sets the depth at which the last sampled frame is placed. This is the furthermost sample in depth.

Step-by-Step Guides

Converting a 2D Image Sequence to a Deep Frame Using Input Frames