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.