ComfyUI Extension: ComfyUI_Spectral

Authored by chenlongming

Created

Updated

1 stars

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

README

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