Nodes/ComfyUI_UltimateSGUpscale/Generate Seam Mask
ComfyUI Node

Generate Seam Mask

Generates a mask image with white bands at tile seam positions. Used for targeted seam fix denoising.

By ethanfel·Created 6 months ago·Updated 6 months ago· 0
Generate Seam Mask
    • IMAGE
    image_width2048
    image_height2048
    tile_width1024
    tile_height1024
    overlap128
    seam_width64
    modebinary
    Categoryimage/upscaling

    Inputs (7)

    NameTypeDefaultDescription
    image_widthINT204864–16384Width of the image (from GetImageSize).
    image_heightINT204864–16384Height of the image (from GetImageSize).
    tile_widthINT102464–8192Tile width used in the main tiled redraw pass.
    tile_heightINT102464–8192Tile height used in the main tiled redraw pass.
    overlapINT1280–4096Overlap used in the main tiled redraw pass.
    seam_widthINT648–512Width of the seam bands to fix (in pixels).
    modeCOMBObinarybinary: hard 0/1 mask. gradient: linear falloff for use with Differential Diffusion.

    Outputs (1)

    NameTypeDescription
    IMAGEIMAGE