From 590a2c14b800adc60288a58432a50413dbe6a9b5 Mon Sep 17 00:00:00 2001 From: QL-boy <46901341+QL-boy@users.noreply.github.com> Date: Sat, 17 Jan 2026 19:20:56 +0800 Subject: [PATCH] Refactor CustomTileSplitter and CustomTileMerger details Updated the CustomTileSplitter and CustomTileMerger nodes to enhance descriptions, inputs, and outputs for better clarity and functionality. --- locales/en/nodeDefs.json | 97 +++++++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 37 deletions(-) diff --git a/locales/en/nodeDefs.json b/locales/en/nodeDefs.json index 683a4ef..ef60a31 100644 --- a/locales/en/nodeDefs.json +++ b/locales/en/nodeDefs.json @@ -1,92 +1,115 @@ { "CustomTileSplitter": { - "display_name": "🔧 Advanced Tile Splitter (Smart)", - "description": "Intelligent image tile splitting node. Supports automatic padding to fit 8x multiple dimensions, and synchronous slicing of Latent and Image.", + "display_name": "🔧 Advanced Tile Splitter", + "description": "Split images or latent representations into overlapping tiles for high-resolution processing. Supports flexible grid configuration with automatic or manual row/column settings.", "inputs": { "tile_size": { - "name": "Tile Size (px)", - "tooltip": "Tile resolution. Recommended 512 or 1024." + "name": "Tile Size", + "tooltip": "Base size for each tile (square). When rows/columns are specified, this becomes a target size that may be adjusted for grid fitting." }, "overlap": { - "name": "Overlap Pixels (px)", - "tooltip": "Overlap area between tiles. Automatically uses 1/8 of tile size when set to 0." + "name": "Overlap", + "tooltip": "Pixel overlap between adjacent tiles. Essential for seamless blending during merging." }, - "force_multiple_of_8": { - "name": "Force 8x Multiple Padding", - "tooltip": "If True, automatically pads the image edges to meet VAE compression requirements and avoid edge artifacts." + "rows": { + "name": "Rows", + "tooltip": "Number of vertical divisions. Set to 0 for automatic calculation based on tile size." + }, + "columns": { + "name": "Columns", + "tooltip": "Number of horizontal divisions. Set to 0 for automatic calculation based on tile size." + }, + "normalize": { + "name": "Normalize to Multiples", + "tooltip": "Pad dimensions to multiples of 64 (images) or 8 (latent) for compatibility with AI models." }, "image": { - "name": "Image", - "tooltip": "Input image." + "name": "Image (Optional)", + "tooltip": "Input image to be split. Can use either image or latent, but not both required." }, "latent": { - "name": "Latent", - "tooltip": "Input Latent." + "name": "Latent (Optional)", + "tooltip": "Input latent representation to be split. Can use either image or latent, but not both required." } }, "outputs": { "0": { - "name": "Config", - "tooltip": "Core configuration data, must be connected to Merger node." + "name": "Tile Configuration", + "tooltip": "Structured configuration data containing tile layout, coordinates, and dimensions for use with the Tile Merger." }, "1": { "name": "Image Tiles (Batch)", - "tooltip": "Tile images in Batch Tensor format." + "tooltip": "All extracted tiles concatenated into a single batch tensor for parallel processing." }, "2": { "name": "Image Tiles (List)", - "tooltip": "Tile images in List format." + "tooltip": "Each tile as a separate list element, maintaining original positional relationships." }, "3": { "name": "Latent Tiles (Batch)", - "tooltip": "Latent tiles in Batch format." + "tooltip": "Latent representations of tiles concatenated into a batch tensor." }, "4": { "name": "Latent Tiles (List)", - "tooltip": "Latent tiles in List format." + "tooltip": "Individual latent tiles in a list structure preserving positional order." } } }, "CustomTileMerger": { - "display_name": "🔧 Advanced Tile Merger (Multi-Mode)", - "description": "Multi-mode tile merging node. Supports Laplacian pyramid blending for Hollywood-level seamless stitching.", + "display_name": "🔧 Advanced Tile Merger", + "description": "Reassemble processed tiles into a seamless full image using advanced blending algorithms, seam optimization, and color correction techniques.", "inputs": { "tile_config": { - "name": "Tile Config", - "tooltip": "Must connect to the Config output of Splitter node." + "name": "Tile Configuration", + "tooltip": "Tile layout configuration generated by the Tile Splitter node." }, "blend_mode": { - "name": "Blend Mode", - "tooltip": "Recommended to use Gaussian or Laplacian. Laplacian mode is computationally intensive but preserves the best details.", + "name": "Blending Mode", + "tooltip": "Algorithm for blending overlapping tile regions. \nlinear: Linear gradient (simple transition)\ngaussian: Gaussian blur (classic blending)\nmulti_band: Multi-band blending (optimal effect)\nnone: No blending (fastest)", "options": { - "gaussian": "Gaussian (Standard)", - "linear": "Linear (Fast)", - "cosine": "Cosine (Smooth)", - "laplacian": "Laplacian Pyramid (Best Quality)", - "none": "None" + "linear": "Linear Gradient", + "gaussian": "Gaussian Blur", + "multi_band": "Multi-Band (Laplacian Pyramid)", + "none": "No Blending (Hard Cut)" } }, - "feather_percent": { - "name": "Feather Ratio (%)", - "tooltip": "Controls the softness of blended edges." + "blend_strength": { + "name": "Blend Strength", + "tooltip": "Intensity of blending effect. Higher values create smoother transitions." + }, + "seam_mode": { + "name": "Seam Placement", + "tooltip": "Method for determining optimal seam lines in overlap regions.\noptimal: Calculate the optimal stitching seam (slow but high quality)\nmiddle: Center line (simple and fast)", + "options": { + "optimal": "Optimal Path (Lowest Difference)", + "middle": "Center Line (Simplest)" + } + }, + "histogram_matching": { + "name": "Histogram Matching", + "tooltip": "Adjust color distribution of each tile to match neighbors, reducing color inconsistencies." + }, + "seam_search_radius": { + "name": "Seam Search Radius", + "tooltip": "Restrict seam search to pixels within this distance from center. 0 allows full search." }, "processed_tiles_image": { "name": "Processed Image Tiles", - "tooltip": "Receives tile images in Batch or List format." + "tooltip": "List of enhanced/processed image tiles ready for merging." }, "processed_tiles_latent": { "name": "Processed Latent Tiles", - "tooltip": "Receives latent tiles in Batch or List format." + "tooltip": "List of processed latent representations for merging." } }, "outputs": { "0": { "name": "Merged Image", - "tooltip": "Reconstructed full-resolution image." + "tooltip": "Final reconstructed image with seamless tile integration." }, "1": { "name": "Merged Latent", - "tooltip": "Reconstructed full-resolution latent." + "tooltip": "Reconstructed latent representation from merged tiles." } } }