2025-01-16 12:11:33 +01:00
2025-01-03 18:15:09 +01:00
2025-01-03 11:46:52 +01:00
2025-01-10 11:12:51 +01:00
2025-01-16 12:11:33 +01:00
2025-01-16 12:11:33 +01:00
2025-01-10 11:12:51 +01:00
2025-01-10 11:12:51 +01:00

ColorMatrixGPU Node for ComfyUI

Overview

This node applies a custom 4x4 color matrix to an image using GPU acceleration via PyTorch.

Installation

  1. Ensure PyTorch with CUDA support is installed:
pip install torch torchvision
  1. Place colormatrix_gpu_node.py in your custom_nodes folder of ComfyUI.

Usage

  • Add the node ColorMatrixGPU in ComfyUI.
  • Provide an image input.
  • Input a 4x4 color matrix in comma-separated format (16 float values).

Example Matrix

1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1

License

MIT License

S
Description
No description provided
Readme
57 KiB
Languages
Python 100%