Nodes Browser
FilterZeroMasksAndCorrespondingImages
FilterZeroMasksAndCorrespondingImages
Node Information
- Category:
- KJNodes/masking
- Python Module:
- custom_nodes.ComfyUI-KJNodes
- Output Node:
- No
FilterZeroMasksAndCorrespondingImages
PREVIEW
non_zero_masks_out
non_zero_mask_images_out
zero_mask_images_out
zero_mask_images_out_indexes
â—€
masks
MASK
â–¶
â—€
original_images
IMAGE
â–¶
Filter out all the empty (i.e. all zero) mask in masks
Also filter out all the corresponding images in original_images by indexes if provide
original_images (optional): If provided, need have same length as masks.