Visit ComfyUI Online for ready-to-use ComfyUI environment
Combine two mask images efficiently for complex image processing tasks, ensuring compatibility and accuracy in batch operations.
MaskBatch+ is a powerful node designed to combine two mask images into a single batch, facilitating more complex image processing tasks. This node is particularly useful when you need to handle multiple masks simultaneously, allowing for efficient batch processing. By merging two masks, MaskBatch+ ensures that they are compatible in terms of dimensions, automatically adjusting the second mask if necessary. This capability is essential for maintaining consistency and accuracy in your image processing workflows, especially when dealing with varying mask sizes. The node leverages advanced upscaling techniques to ensure that the combined masks are seamlessly integrated, providing a robust solution for batch mask operations.
mask1
is the first mask image that you want to include in the batch. This parameter is essential as it serves as the reference mask for the batch operation. The dimensions of mask1
are used to ensure that mask2
is compatible, making it a crucial input for the node's functionality.
mask2
is the second mask image that you want to combine with mask1
in the batch. If the dimensions of mask2
do not match those of mask1
, the node will automatically upscale mask2
to ensure compatibility. This parameter allows you to include an additional mask in the batch, expanding the scope of your image processing tasks.
The output parameter MASK
is the combined batch of the two input masks. This output is a single tensor that contains both mask1
and mask2
, stacked along the batch dimension. The combined mask batch is ready for further processing, enabling more complex and efficient image manipulation workflows.
mask1
and mask2
are relevant to the same image processing task to make the most out of the batch operation.mask2
.mask1
and mask2
are not compatible, and the node is unable to upscale mask2
to match mask1
.mask2
can be upscaled to match the dimensions of mask1
. If necessary, manually resize mask2
before inputting it into the node.mask1
or mask2
is not a valid mask image.mask1
and mask2
are valid mask images and are correctly formatted before inputting them into the node.© Copyright 2024 RunComfy. All Rights Reserved.