Index-Based Image Selection

Description

Selects a single image precisely from an image array by specifying an index number or excludes the image at the specified index, returning the selected image list.

Overview

Selects and outputs images from an input image list based on specified index numbers.

Scenarios

Suitable for multi-image scenarios to quickly and accurately extract or exclude specific images.

Inputs and Outputs

Inputs

Image: The input list of images, which can contain multiple images.

Outputs

Indexed Image List: The list of images after selection or exclusion based on the index parameter, usually a single image or the original sequence minus the image at the specified index.

Parameters

Index Number

Description

  • Set to 0: Selects the first image in the array.

  • Set to -1: Selects the last image in the array.

Please note to select an appropriate index according to the actual length of the input array to avoid going out of bounds.

Parameter Range

[-1, 1000], Default value: 0

Parameter Range

Values/Range: [-1, 10000]

Default: 0

Invert Index

Description

Controls the index selection logic.

Tuning Instructions

  • Disabled (Default): Selects the image at the specified index.

  • Enabled: Reverse index — excludes the image at the specified index.

Parameter Range

Default: False