| On this page |
このノードは、入力レイヤの 累積和 を計算します。 Direction パラメータは、X軸とY軸に沿ってスキャンをどのように実行するのかを決めます。 各シーケンスは、設定した Direction に沿ったすべてのバッファエレメントで構築されます。
パラメータ ¶
Signature
ソースが受け入れるレイヤタイプ。
詳細は、シグネチャを参照してください。
Direction
スキャンの方向。
+X
プラスXに沿ってスキャンします(左から右に水平に)。
-X
マイナスXに沿ってスキャンします(右から左に水平に)。
+Y
プラスYに沿ってスキャンします(下から上に垂直に)。
-Y
マイナスYに沿ってスキャンします(上から下に垂直に)。
+X+Y
左下から右上へと蛇行するパスでスキャンします。つまり、プラスX方向とプラスY方向への移動が交互に繰り返されます。
Linear
左下から右上まで、左から右、下から上にスキャンします。それぞれの水平スキャンラインは縮約されてから、次に移ります。
Operation
シーケンスのエレメントに適用するオペレーション。
Add
シーケンスのすべてのエレメントを合算します。
Minimum
シーケンスの最小のエレメントを返します。
Maximum
シーケンスの最大のエレメントを返します。
Count
シーケンスのエレメント数を返します。
Scale
Scale the prefix sum by the pixel size. This ensures the summation is independent either of resolution or during proxy cooking.
This parameter applies to only non-integer summation. The scale factor changes depending on whether X or Y passes of the prefix sum are present. It’s scaled by the horizontal factor if there’s an X pass, the vertical factor if there’s a Y pass, or the horizontal and vertical factors if there’s both an X and Y pass.
None
Don’t perform scaling.
Pixel
Divide the values by the pixel scale. This means the values remain the same when proxy-resolution cooking is used.
Texture
Divide the values by the texture size of a buffer element. This causes a constant pixel value of 1 for the data window to sum to 1. This is often an anistropic scale for non-square images. See 空間 for more information.
Image
Divide the values by the image size of the buffer elements. This causes a constant pixel value of 1 for the image to sum to 2. This summation is independent of the data window, so it stays the same when a tile is cropped out. See 空間 for more information.
入力 ¶
source
累積和を計算する元のレイヤ。
active
オプションのピクセル毎のアクティブマップ。
このマップは、統計を計算する時に考慮する値を決定します。
0.5より大きい値はアクティブ、0.5以下の値は非アクティブです。
出力 ¶
prefixsum
元のレイヤの累積和です。