Visit ComfyUI Online for ready-to-use ComfyUI environment
Breaks down image grids into individual components for AI artists to manipulate and analyze creatively.
The ImageGridDecompose
node is designed to break down a grid of images into individual image components. This node is particularly useful for AI artists who work with composite images and need to manipulate or analyze individual sections of a larger image grid. By decomposing the grid, you can apply different transformations or processes to each segment independently, enhancing your creative workflow. The node offers flexibility in terms of grid dimensions, padding, and randomization, making it a versatile tool for various artistic and technical applications.
This parameter expects an input of type IMAGE
. It represents the grid of images that you want to decompose into individual components. The images should be provided in a format that the node can process, typically as a tensor or similar data structure.
This parameter is an integer that defines the number of images along the x-axis of the grid. It determines the grid's width and indirectly its height, as the grid is assumed to be square. The value can range from 2 to 8, with a default of 3. Adjusting this value changes the number of segments the grid will be divided into.
This is a boolean parameter that specifies whether to add padding between the grid segments. The default value is False
. When set to True
, a padding of 8 pixels is added between each segment, which can help in distinguishing individual images more clearly.
This boolean parameter determines whether the decomposed images should be shuffled randomly. The default value is False
. When set to True
, the order of the decomposed images will be randomized, which can be useful for certain artistic effects or data augmentation purposes.
This integer parameter sets the random seed for shuffling the images when the random
parameter is enabled. It ensures reproducibility of the randomization process. The value can range from 0 to 0xffffffffffffffff, with a default of 0.
The output is a tensor of type IMAGE
that contains the decomposed individual images from the original grid. Each segment of the grid is extracted and returned as part of a batch, allowing for further processing or manipulation.
random
parameter set to False
.pad_grid
parameter to add padding between segments if you need to visually separate the decomposed images for better clarity.x_dim
parameter based on the number of images in your grid to ensure proper decomposition.x_dim
parameter is set to a value that does not match the actual dimensions of the image grid.x_dim
value correctly represents the number of images along the x-axis of your grid.x_dim
and pad_grid
settings.rs
parameter is set to a value outside the acceptable range.rs
value is within the range of 0 to 0xffffffffffffffff.© Copyright 2024 RunComfy. All Rights Reserved.