Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

TTP_Image_Assy

Documentation for TTP_Image_Assy Node

Overview

The TTP_Image_Assy node is an integral part of the ComfyUI TTP Toolset, which facilitates advanced image processing workflows. This node specifically handles the assembly of individual image tiles back into a complete image, performing seamless blending to ensure there are no visible lines between the tiles. This functionality is particularly beneficial in upscaling workflows where the original image is divided into smaller sections for detailed processing.

Functionality

What This Node Does

  • The TTP_Image_Assy node reassembles image tiles back into a complete and unified image.
  • It prevents visible lines at the junctions of tiles by blending them smoothly.
  • The blending occurs through a method using gradient masks, ensuring a natural transition between tiles.

Input Parameters

  • Tiles (IMAGE): This input accepts the batch of image tiles that were originally created by an image tile processing node.
  • Positions (LIST): A list of positions where each tile fits in the context of the original image.
  • Original Size (TUPLE): The dimensions of the original image before it was divided into tiles.
  • Grid Size (TUPLE): The grid structure of the tiles, defined by the number of rows and columns.
  • Padding (INT): Specifies the padding used during the merging of tiles to blend them seamlessly. The default is set to 64.

Output

  • RECONSTRUCTED_IMAGE (IMAGE): This output provides the final reconstructed image, where all tiles have been merged back into a complete picture with smooth transitions.

Usage in ComfyUI Workflows

The TTP_Image_Assy node is typically used in the latter stages of a ComfyUI workflow involving image processing or upscaling. Its role facilitates the smooth reintegration of processed tiles:

  1. Image Tiling: An initial node divides an image into smaller tiles. This enables detailed processing on each segment.
  2. Processing: Each tile undergoes processing, which can include upscaling, enhancing, and other transformations.
  3. Assembly: The TTP_Image_Assy node takes the processed tiles and assembles them into a single cohesive image, applying blending to eliminate edge artifacts.
  4. Result Analysis: The final image is analyzed for quality, ensuring that the intended enhancements are achieved without visible seams or distortions.

Special Features and Considerations

  • Seamless Blending: The node uses a gradient-based blending technique to ensure that edges between tiles do not show hard lines, maintaining the visual integrity of the image.
  • Customizable Padding: Allows users to specify padding, providing control over the blending intensity and coverage.
  • Integration Readiness: Perfectly integrates within larger ComfyUI workflows, particularly with nodes dealing with splitting and processing image segments.

By incorporating the TTP_Image_Assy node, users can achieve high-quality image reconstructions from tile-based processing approaches, making it a powerful tool for art, design, and visualization projects.