ComfyUI Node
Spektrafilm Spectral Upsampling
How RGB is turned into spectra, and the enlarger/scanner LUTs.
Spektrafilm Spectral Upsampling
- params
- SPEKTRAFILM_PARAMS
◄rgb_to_raw_methodhanatos2025►
◄apply_hanatos2025_adaptation_windowtrue►
◄apply_hanatos2025_adaptation_surfacefalse►
◄spectral_gaussian_blur0.0►
◄use_enlarger_lutfalse►
◄use_scanner_lutfalse►
◄lut_resolution17►
Categoryimage/spektrafilm/params
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| rgb_to_raw_method | COMBO | hanatos2025 | Method to upsample the spectral resolution of the image, hanatos2025 works on the full visible locus, mallett2019 works only on sRGB (will clip input). |
| apply_hanatos2025_adaptation_window | BOOLEAN | true | Apply the hanatos2025 bandpass adaptation window when reconstructing spectra. |
| apply_hanatos2025_adaptation_surface | BOOLEAN | false | Apply the hanatos2025 surface adaptation polynomial when reconstructing spectra. |
| spectral_gaussian_blur | FLOAT | 0.00–10000 | Sigma in nm for Gaussian blur applied to reconstructed spectra. |
| use_enlarger_lut | BOOLEAN | false | Precompute the enlarger stage as a 3D LUT. Much faster, very close to the exact result. |
| use_scanner_lut | BOOLEAN | false | Precompute the scanner stage as a 3D LUT. Much faster, very close to the exact result. |
| lut_resolution | INT | 175–65 | Grid size of the enlarger and scanner LUTs. |
| paramsopt | SPEKTRAFILM_PARAMS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SPEKTRAFILM_PARAMS | SPEKTRAFILM_PARAMS | — |