Visit ComfyUI Online for ready-to-use ComfyUI environment
Restore cropped images to original dimensions seamlessly, maintaining image integrity and context for AI artists.
The BatchUncrop
node is designed to seamlessly restore cropped images back to their original dimensions. This node is particularly useful for AI artists who need to revert modifications made during the cropping process, ensuring that the integrity and context of the original image are maintained. By leveraging advanced techniques, BatchUncrop
can handle various scenarios, including border blending and rescaling, to produce a smooth and natural uncropped image. This node is essential for workflows that involve iterative editing and refinement, allowing you to experiment with different crops and easily revert to the original state without losing any details.
This parameter takes the original set of images before any cropping was applied. It is crucial as it serves as the reference for restoring the cropped images to their original dimensions.
This parameter includes the images that have been cropped. These are the images that will be restored to their original dimensions using the BatchUncrop
node.
Bounding boxes that define the regions of the cropped images. These coordinates are used to accurately place the cropped images back into their original positions within the uncropped image.
This parameter controls the blending of borders between the cropped and original images. It ensures a smooth transition and avoids harsh edges, making the uncropped image look natural.
This parameter determines if the cropped images should be rescaled to match the dimensions of the original images. It ensures that the restored images maintain the correct proportions and fit seamlessly into the original context.
Specifies the number of pixels to blend at the top border of the cropped image. This helps in achieving a smooth transition between the cropped and original images.
Specifies the number of pixels to blend at the bottom border of the cropped image. This helps in achieving a smooth transition between the cropped and original images.
Specifies the number of pixels to blend at the left border of the cropped image. This helps in achieving a smooth transition between the cropped and original images.
Specifies the number of pixels to blend at the right border of the cropped image. This helps in achieving a smooth transition between the cropped and original images.
The original set of images before any cropping was applied. This output is useful for reference and comparison purposes.
A stack of the cropped images that have been processed. This output allows you to see the results of the uncropping process and verify that the images have been restored correctly.
The bounding boxes used during the uncropping process. These coordinates can be useful for further processing or analysis.
The maximum width of the bounding boxes used in the uncropping process. This value provides insight into the dimensions of the cropped regions.
The maximum height of the bounding boxes used in the uncropping process. This value provides insight into the dimensions of the cropped regions.
original_images
and cropped_images
parameters are correctly aligned to avoid mismatches during the uncropping process.border_blending
parameter to achieve smooth transitions between the cropped and original images, especially when dealing with complex backgrounds.crop_rescale
parameter to maintain the correct proportions of the restored images, ensuring they fit seamlessly into the original context.border_top
, border_bottom
, border_left
, and border_right
parameters to achieve the best visual results for your specific images.original_images
and cropped_images
do not match.original_images
and cropped_images
parameters are correctly aligned and have matching dimensions.border_top
, border_bottom
, border_left
, border_right
) are set to values outside the acceptable range.© Copyright 2024 RunComfy. All Rights Reserved.