Nodes/comfyui_cv/CV Stack Batch
ComfyUI Node

CV Stack Batch

Inverse of 'CV Unstack Batch': merges a list of NPARRAYs into one batched array along the first axis. E.g. N x (H, W, C) -> (N, H, W, C), where N is the number of items in the list. All arrays must have identical shapes (and the same number of dimensions) so the stack stays regular.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Stack Batch
  • arrays
  • batch
Categoryimage/CV/low-level

Inputs (1)

NameTypeDefaultDescription
arraysNPARRAYList of NPARRAYs, one per batch element, e.g. the 'frame' list output of 'CV Unstack Batch'. All arrays must share the same shape.

Outputs (1)

NameTypeDescription
batchNPARRAYBatched array (N, ...): the first axis is the list length, each element along it is one input array.