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).
CV Index Batch
- nparray
- frame
◄index0►
Categoryimage/CV/low-level
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| nparray | NPARRAY | Batched array, e.g. (N, H, W, C) from 'CV Unstack Batch' or 'DNN Images From Blob'. | |
| index | INT | 00–4095 | Which element to extract (0-based). Clamped to the batch size. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| frame | NPARRAY | Single (H, W, C) array at the given index. |