Visit ComfyUI Online for ready-to-use ComfyUI environment
Divide image into equal parts for AI analysis and editing.
The FS: Crop Image Into Even Pieces node is designed to divide an image into a specified number of even pieces, both horizontally and vertically. This node is particularly useful for AI artists who need to process or analyze different sections of an image independently. By specifying the number of rows and columns, you can easily break down an image into smaller, manageable parts, which can be beneficial for tasks such as detailed editing, pattern recognition, or creating a collage. The node ensures that each piece is of equal size, making it easier to work with uniform segments of the original image.
This parameter represents the input image that you want to crop into even pieces. The image should be in a format that the node can process, typically a tensor representation of the image.
This parameter specifies the number of horizontal divisions (rows) you want to create in the image. The minimum value is 1, the maximum value is 32, and the default value is 3. Increasing the number of rows will result in more horizontal slices of the image, each with a smaller height.
This parameter specifies the number of vertical divisions (columns) you want to create in the image. The minimum value is 1, the maximum value is 32, and the default value is 1. Increasing the number of columns will result in more vertical slices of the image, each with a smaller width.
The output is a tensor containing the cropped pieces of the original image. Each piece is a segment of the original image, divided according to the specified number of rows and columns. The pieces are concatenated along the batch dimension, allowing you to process each piece individually.
© Copyright 2024 RunComfy. All Rights Reserved.