Visit ComfyUI Online for ready-to-use ComfyUI environment
Select specific segments from segmented images based on criteria, handling fallback images for refined data management.
The ImpactSEGSPicker node is designed to help you select specific segments from a set of segmented images. This node is particularly useful when you have multiple segments and need to isolate or focus on certain ones based on your criteria. It allows you to provide a list of segment IDs to pick, and it will return only those segments, making it easier to work with large sets of segmented data. Additionally, it can handle fallback images to ensure that segments are properly cropped and masked, even if some segments are missing cropped images. This node is essential for refining and managing segmented image data, ensuring that you can focus on the most relevant parts of your images.
This parameter is a string that contains a comma-separated list of segment IDs you want to select. Each ID corresponds to a specific segment in the segmented image data. The IDs should be integers, and they are 1-based, meaning the first segment is represented by the number 1. This parameter is crucial for specifying which segments you want to isolate from the entire set.
This parameter represents the segmented image data, which is a tuple containing the original image shape and a list of segment objects. Each segment object includes information such as the cropped image, cropped mask, confidence score, and crop region. This parameter is essential as it provides the data from which the node will pick the specified segments.
This optional parameter is an image that can be used as a fallback in case some segments do not have cropped images. If provided, the node will use this image to generate cropped images for those segments. This ensures that all segments have corresponding cropped images, even if they were not initially available.
This optional parameter is a unique identifier used to store the generated candidate images in a map. This can be useful for tracking and managing the candidate images generated during the segment picking process.
The output parameter is a tuple containing the original image shape and a list of the selected segment objects. Each segment object includes the cropped image, cropped mask, confidence score, and crop region. This output allows you to work with a refined set of segments based on your specified criteria, making it easier to focus on the most relevant parts of your images.
picks
parameter contains valid segment IDs, and remember that the IDs are 1-based.fallback_image_opt
to ensure all segments have corresponding cropped images.unique_id
parameter to manage and track candidate images if you are working with multiple sets of segmented data.picks
parameter contains an invalid segment ID that does not correspond to any segment in the segmented image data.picks
parameter are valid and within the range of available segments.fallback_image_opt
is provided.fallback_image_opt
to ensure that all segments have corresponding cropped images.unique_id
parameter is not unique or is missing, causing issues with tracking candidate images.unique_id
parameter is unique for each set of segmented data you are working with.© Copyright 2024 RunComfy. All Rights Reserved.