ComfyUI > Nodes > SimpleTiles > TileMerge (Dynamic)

ComfyUI Node: TileMerge (Dynamic)

Class Name

DynamicTileMerge

Category
utils
Author
kinfolk0117 (Account age: 523days)
Extension
SimpleTiles
Latest Updated
2024-05-22
Github Stars
0.04K

How to Install SimpleTiles

Install this extension via the ComfyUI Manager by searching for SimpleTiles
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SimpleTiles in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

TileMerge (Dynamic) Description

Merge image tiles seamlessly for continuous final image appearance without visible seams, ideal for large image processing tasks.

TileMerge (Dynamic):

DynamicTileMerge is a powerful node designed to seamlessly merge image tiles back into a single cohesive image. This node is particularly useful when working with large images that have been split into smaller tiles for processing, such as in AI art generation or image manipulation tasks. The primary benefit of DynamicTileMerge is its ability to handle overlapping regions between tiles, ensuring smooth transitions and avoiding visible seams. By dynamically blending the borders of adjacent tiles, it creates a final image that appears continuous and natural. This node is essential for artists and developers who need to process large images in smaller sections without compromising the quality of the final output.

TileMerge (Dynamic) Input Parameters:

images

This parameter represents the collection of image tiles that need to be merged. Each tile is a smaller section of the original image, and they are processed to form a single, unified image. The quality and accuracy of the final merged image depend on the correct arrangement and blending of these tiles.

blend

The blend parameter controls the width of the border region where adjacent tiles are blended together. This blending helps to smooth out any seams or edges between tiles, ensuring a seamless final image. The value of blend determines how gradual the transition between tiles will be, with higher values resulting in a smoother blend. Typical values range from 0 to a few pixels, depending on the desired smoothness.

tile_calc

This parameter provides essential information about the tiling configuration, including overlap, final image dimensions, and offset. It is used to accurately position and merge the tiles back into the original image layout. The tile_calc parameter ensures that the tiles are correctly aligned and that any overlapping regions are properly handled during the merging process.

TileMerge (Dynamic) Output Parameters:

output

The output parameter is the final merged image, which is a single, cohesive image created by blending the input tiles. This image retains the original dimensions and quality, with smooth transitions between the tiles, thanks to the blending process. The output is ready for further processing or final use in your projects.

count

The count parameter is a tensor that keeps track of the number of times each pixel has been processed during the merging. This is particularly useful for ensuring that the blending process is applied correctly and that no pixel is left unprocessed. It helps in maintaining the integrity and quality of the final merged image.

TileMerge (Dynamic) Usage Tips:

  • Ensure that the input tiles are correctly aligned and have the necessary overlap to facilitate smooth blending.
  • Adjust the blend parameter to achieve the desired smoothness in the transitions between tiles. A higher blend value can help eliminate visible seams.
  • Use the tile_calc parameter to accurately position the tiles and handle any overlapping regions effectively.

TileMerge (Dynamic) Common Errors and Solutions:

"Mismatch in tile dimensions"

  • Explanation: This error occurs when the dimensions of the input tiles do not match the expected dimensions based on the tile_calc parameter.
  • Solution: Verify that the input tiles are correctly sized and that the tile_calc parameter accurately reflects the tiling configuration used during the splitting process.

"Invalid blend value"

  • Explanation: This error is triggered when the blend parameter is set to a negative value or a value that is too high for the given tile dimensions.
  • Solution: Ensure that the blend parameter is set to a positive value that is appropriate for the size of the tiles. Adjust the blend value to achieve the desired smoothness without exceeding the tile dimensions.

"Tile alignment error"

  • Explanation: This error occurs when the tiles are not correctly aligned, leading to gaps or overlaps in the final merged image.
  • Solution: Check the tile_calc parameter to ensure that it accurately represents the tiling configuration. Verify that the tiles are correctly positioned and that any offsets are properly accounted for.

TileMerge (Dynamic) Related Nodes

Go back to the extension to check out more related nodes.
SimpleTiles
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.