DeepFromFrames

DeepFromFrames节点将多个输入帧从常规2D图像复制到单个深度帧中的样本。

输入和控制

连接类型

连接名称

功能

输入值

未命名

您要从中复制帧的图像序列。

Control (UI)

Knob (Scripting)

Default Value

功能

DeepFromFrames Tab

samples

samples

5

设置要对输入进行采样的帧数。

frame range

range_first

1

设置用于采样输入的起始帧。例如,使用默认samples值(5)和frame range值(1-9)DeepFromFrames在第1、3、5、7和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

设置输入是否需要预乘。

禁用时,DeepFromFrames假定输入已经预乘。

split alpha mode

alpha_mode

multiplicative

设置Alpha通道的拆分方式:

additive -按样本数进行直接除法。如果稍后将深采样弄平,则不会产生原始的alpha值。

multiplicative -样本被分割成每个
1-pow(1-alpha,1 / numSamples)。如果稍后将深样本弄平(例如,使用DeepToImage),则alpha值与原稿匹配。

zmin

zmin

1

设置放置第一个采样帧的深度。这是深度最靠前的样本。

zmax

zmax

2

设置放置最后一个采样帧的深度。这是深度最深的样本。

分步指南

使用输入帧将2D图像序列转换为深帧