Nodes/comfyui_cv/CV Index Batch
ComfyUI Node

CV Index Batch

Picks a single element from a batched NPARRAY by index. E.g. (N, H, W, C) + index=2 -> (H, W, C). The index is clamped to the valid range (no out-of-bounds error).

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Index Batch
  • nparray
  • frame
index0
Categoryimage/CV/low-level

Inputs (2)

NameTypeDefaultDescription
nparrayNPARRAYBatched array, e.g. (N, H, W, C) from 'CV Unstack Batch' or 'DNN Images From Blob'.
indexINT00–4095Which element to extract (0-based). Clamped to the batch size.

Outputs (1)

NameTypeDescription
frameNPARRAYSingle (H, W, C) array at the given index.