Nodes/ComfyUI-Spektrafilm/Spektrafilm Spectral Upsampling
ComfyUI Node

Spektrafilm Spectral Upsampling

How RGB is turned into spectra, and the enlarger/scanner LUTs.

By jtydhr88·Created 5 days ago·Updated 5 days ago· 21
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)

NameTypeDefaultDescription
rgb_to_raw_methodCOMBOhanatos2025Method 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_windowBOOLEANtrueApply the hanatos2025 bandpass adaptation window when reconstructing spectra.
apply_hanatos2025_adaptation_surfaceBOOLEANfalseApply the hanatos2025 surface adaptation polynomial when reconstructing spectra.
spectral_gaussian_blurFLOAT0.00–10000Sigma in nm for Gaussian blur applied to reconstructed spectra.
use_enlarger_lutBOOLEANfalsePrecompute the enlarger stage as a 3D LUT. Much faster, very close to the exact result.
use_scanner_lutBOOLEANfalsePrecompute the scanner stage as a 3D LUT. Much faster, very close to the exact result.
lut_resolutionINT175–65Grid size of the enlarger and scanner LUTs.
paramsoptSPEKTRAFILM_PARAMS—

Outputs (1)

NameTypeDescription
SPEKTRAFILM_PARAMSSPEKTRAFILM_PARAMS—