Nodes/ComfyUI-Spektrafilm/Spektrafilm DIR Couplers
ComfyUI Node

Spektrafilm DIR Couplers

DIR coupler inhibition: saturation, contrast and local sharpness.

By jtydhr88·Created 5 days ago·Updated 5 days ago· 21
Spektrafilm DIR Couplers
  • params
  • SPEKTRAFILM_PARAMS
◄override_stock_presetfalse►
◄activetrue►
◄amount1.00►
◄inhibition_samelayer1.00►
◄inhibition_interlayer1.00►
◄gamma_samelayer_rgb_r0.34►
◄gamma_samelayer_rgb_g0.32►
◄gamma_samelayer_rgb_b0.27►
◄gamma_interlayer_r_to_gb_g0.35►
◄gamma_interlayer_r_to_gb_b0.30►
◄gamma_interlayer_g_to_rb_r0.15►
◄gamma_interlayer_g_to_rb_b0.35►
◄gamma_interlayer_b_to_rg_r0.17►
◄gamma_interlayer_b_to_rg_g0.23►
◄diffusion_size_um20►
Categoryimage/spektrafilm/params

Inputs (16)

NameTypeDefaultDescription
override_stock_presetBOOLEANfalseUse the values below for gamma_samelayer_rgb, gamma_interlayer_r_to_gb, gamma_interlayer_g_to_rb, gamma_interlayer_b_to_rg instead of the ones spektrafilm picks for the chosen film stock.
activeBOOLEANtrueEnable DIR coupler inhibition.
amountFLOAT1.000–10000Global multiplier on the DIR coupler inhibition matrix. 1.0 leaves the per-channel gammas as-is.
inhibition_samelayerFLOAT1.000–10000Multiplier on the same-layer (diagonal) inhibition. Controls overall contrast / gamma reduction within each RGB layer.
inhibition_interlayerFLOAT1.000–10000Multiplier on the cross-layer (off-diagonal) inhibition. Controls saturation enhancement from interlayer DIR effects.
gamma_samelayer_rgb_rFLOAT0.340–10000Per-channel same-layer DIR gamma (R, G, B). Effective gamma reduction of each layer's density curve.
gamma_samelayer_rgb_gFLOAT0.320–10000Per-channel same-layer DIR gamma (R, G, B). Effective gamma reduction of each layer's density curve.
gamma_samelayer_rgb_bFLOAT0.270–10000Per-channel same-layer DIR gamma (R, G, B). Effective gamma reduction of each layer's density curve.
gamma_interlayer_r_to_gb_gFLOAT0.350–10000DIR inhibition from the R layer onto the G and B layers respectively (g_R->G, g_R->B).
gamma_interlayer_r_to_gb_bFLOAT0.300–10000DIR inhibition from the R layer onto the G and B layers respectively (g_R->G, g_R->B).
gamma_interlayer_g_to_rb_rFLOAT0.150–10000DIR inhibition from the G layer onto the R and B layers respectively (g_G->R, g_G->B).
gamma_interlayer_g_to_rb_bFLOAT0.350–10000DIR inhibition from the G layer onto the R and B layers respectively (g_G->R, g_G->B).
gamma_interlayer_b_to_rg_rFLOAT0.170–10000DIR inhibition from the B layer onto the R and G layers respectively (g_B->R, g_B->G).
gamma_interlayer_b_to_rg_gFLOAT0.230–10000DIR inhibition from the B layer onto the R and G layers respectively (g_B->R, g_B->G).
diffusion_size_umFLOAT200–10000Sigma in um for the diffusion of the couplers, (5-20 um), controls sharpness and affects saturation.
paramsoptSPEKTRAFILM_PARAMS—

Outputs (1)

NameTypeDescription
SPEKTRAFILM_PARAMSSPEKTRAFILM_PARAMS—