ComfyUI Extension: ComfyUI-GTF-Utilities

Authored by wmpmiles

Created

Updated

2 stars

Generalised 'image' processing nodes for images, masks, latents, and combinations thereof.

Custom Nodes (0)

    README

    Generalised Tensor Format (GTF) Utilities

    'Unified Tensor Format' makes more sense but UTF is overloaded.

    What is this?

    This is a set of ComfyUI custom nodes that provide implementations or building blocks for implementations of a variety of image processing algorithms and methods.

    These nodes operate on a generalised tensor format that can be converted to and from images, latents, and masks and allow for combining raw tensors from these sources. They are also implemented purely with PyTorch and have no external dependencies.

    The general philosophy of this node set is to provide a selection of fundamental operations that can be usefully composed together to create a wide variety of more complex operations.

    Node Categories

    • Interface - conversion between the GTF type and standard ComfyUI IMAGE, MASK, and LATENT types
    • Filter - image filtering algorithms
    • Resample - image resampling (resizing) algorithms
    • Transform - procedures that change tensor dimensions, such as cropping and batching
    • Colorspace - colorspace conversion
    • Tonemap - tonemapping algorithms
    • Convert - TODO
    • Source - new GTFs from wholecloth
    • Math - elementwise mathematical operations
    • BBOX - bounding box creation and manipulation
    • Dimensions - dimension creation and manipulation
    • Primitive - primitive value providers

    TODO

    • Write documentation for all of the nodes and node categories
    • Reorganise the Transform, Convert, and Filter categories
    • Create a selection of reference group nodes and workflows
    • Tests

    Changelog

    v0.0.2

    • Updated README with a reasonable placeholder.

    v0.0.1

    • Initial release.