Nodes Browser

ComfyDeploy: How ComfyUI_Spectral works in ComfyUI?

What is ComfyUI_Spectral?

ComfyUI Spectral is a ComfyUI custom nodes library based on the spectral, mainly used for visual processing of spectral files

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI_Spectral and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI Spectral

ComfyUI Spectral is a ComfyUI custom nodes library based on the spectral, mainly used for visual processing of spectral files

Install

You can choose to install it using ComfyUI Manager

Or manual installation:

  1. clone to your custom_nodes folder
  2. cd ComfyUI_Spectral
  3. install dependencies pip install -r reqirements.txt
  4. restart ComfyUI

Notice

This repository is in the early stages of development, the functionality is not complete and may change in the future

Workflow

Load & Preview

example_01

download workflow: example_01

K-Means

example_02

download workflow: example_01

Nodes

  • Spectral Loader: load spectral file, output Spectral object and preview image
  • ENVI Loader: load imagery with associated ENVI header files and reading & writing spectral libraries with ENVI headers.

WIP

  • ~~plot node~~
  • ~~k-means node~~
  • ~~calculate nodes~~
  • pca node
  • save node
  • preprocess nodes
  • improve performance