https://github.com/chenlongming/ComfyUI_Spectral
ComfyUI spectral processor
https://github.com/chenlongming/ComfyUI_Spectral
Last synced: about 2 months ago
JSON representation
ComfyUI spectral processor
- Host: GitHub
- URL: https://github.com/chenlongming/ComfyUI_Spectral
- Owner: chenlongming
- License: mit
- Created: 2025-02-21T09:57:26.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2025-02-21T10:23:53.000Z (about 2 months ago)
- Last Synced: 2025-02-21T11:28:30.995Z (about 2 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI_Spectral**
README
# ComfyUI Spectral
`ComfyUI Spectral` is a ComfyUI custom nodes library based on the [spectral](https://github.com/spectralpython/spectral),
mainly used for visual processing of spectral files## Install
You can choose to install it using [ComfyUI Manager](https://github.com/ltdrdata/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

download workflow: [example_01](./workflows/example_01.json)
### K-Means

download workflow: [example_01](./workflows/example_02.json)
## 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