Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract specific image range from batch based on percentages for targeted processing and analysis.
The GetImagesFromBatchRanged_F2
node is designed to extract a specific range of images from a batch based on percentage values. This node is particularly useful when you want to focus on a subset of images within a larger collection, allowing for more targeted processing or analysis. By specifying the start and end percentages, you can precisely control which portion of the image batch is selected, making it a versatile tool for workflows that require dynamic image selection. This functionality is beneficial in scenarios where you need to process only a segment of a dataset, such as when working with time-lapse sequences or when you want to apply different processing techniques to different parts of a batch.
This parameter represents the batch of images from which a range will be extracted. It is the primary input and should be a collection of images that you want to process. The node will operate on this batch to select a subset based on the specified percentage range.
The start_percent
parameter determines the starting point of the image range to be extracted, expressed as a percentage of the total batch size. It allows you to specify where the selection should begin, with a minimum value of 0.00 and a maximum of 1.00. The default value is 0.00, meaning the selection starts from the beginning of the batch. Adjusting this value lets you skip a portion of the initial images in the batch.
The end_percent
parameter specifies the endpoint of the image range to be extracted, also expressed as a percentage of the total batch size. It defines where the selection should end, with a minimum value of 0.00 and a maximum of 1.00. The default value is 1.00, indicating that the selection extends to the end of the batch. By modifying this value, you can exclude a portion of the images at the end of the batch from the selection.
The output is a subset of the original batch of images, determined by the specified start and end percentages. This output allows you to work with a focused selection of images, which can be further processed or analyzed according to your needs. The extracted images maintain the same format and structure as the input batch, ensuring compatibility with subsequent processing steps.
start_percent
to 0.00 and end_percent
to 0.50.start_percent
to 0.75 and end_percent
to 1.00.start_percent
is less than the end_percent
to avoid an empty selection.start_percent
is greater than or equal to end_percent
, resulting in an invalid range.start_percent
and end_percent
values to ensure that start_percent
is less than end_percent
.images
parameter is empty, leading to no images being available for selection.start_percent
or end_percent
values are set outside the allowed range of 0.00 to 1.00.start_percent
and end_percent
are within the valid range of 0.00 to 1.00.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.