list-inject — Traditional AI Model
The counterpart to extracting: List Inject returns a new collection with one member swapped for the image you supply and everything else carried over untouched. It closes an edit-one-layer round trip. CPU, near-instant.
Details
- CategoryTraditional
- Year-1
- License
Inputs & Outputs
- ListInputlist:image
Image list to modify
- ImageInputimage
Replacement image
- ListOutputlist:image
New image list with the member replaced
Parameters
- indexintegerdefault 0range 0–299
0-based index of the member to replace.
- fitstringdefault coveroptions: cover, contain, stretch
How to fit a differently-sized replacement image to the frame resolution.
When the replacement image's resolution differs from the collection's frame size, how to fit it: 'cover' (default) scales to fill and center-crops without distorting aspect, 'contain' scales to fit and pads (letterbox), 'stretch' resizes to the exact size (may distort). The image is always aligned so downstream nodes (e.g. Video Reassemble) see one uniform resolution.
Tags
Alternatives in Selection & Extraction
- Color Pick by Class
Extract a segmentation class by name.
- Color Pick by RGB Value
Extract segmentation regions by exact RGB color.
- Image Collect
Gather separately made images into one image list, in port order.
- Image Crop by Class
Crop detected objects by class name.
- Image Crop by Coord
Crop a region from explicit bounding-box coordinates.
- Image Crop Each by Class
Crop every detected object into its own image.
- Image Gate by Text
Pass or block an image based on text match.
- Image Selector
Pick first non-empty image from inputs (fallback).