ComfyUI Node

Lut

A node for applying Color Grading LUTS to an image. This node supports many different types/formats of luts, .1dlut, .png(HALD CLUTs, reshade luts), .3dl, .cube. lut_filepath = path to the lut file, the path can have "" or not. .1dlut, .png, .3dl and .cube are supported chroma_amount = changes the chroma amout of the lut (1.0 is default) luma_amount = changes the luma amout of the lut (1.0 is default) lut_strength = exponentially scales the lut values use_torch_optimized_interpolation = use a more torch optimized algorithm while applying the lut. (nearest neighbor and bilinear only) interpolation = interpolation method to use gaussian_interpolation_radius = gaussian interpolation blur radius stochastic_interpolation_samples = how many samples to use for stochastic interpolation stochastic_interpolation_use_gaussian = use use gaussian blur for stochastic interpolation sigma = sigma blur for gaussian and stochastic interpolation lut_order = the order of the lut data, some are rgb and some are bgr gamma_correction = apply gamma correction to .3dl luts if they are meant for different spaces opacity = like in photoshop opacity amount of the effect

By TrophiHunter·Created about a year ago·Updated about a year ago· 4
Lut
  • image
  • IMAGE
lut_filepath
chroma_amount1.000
luma_amount1.000
lut_strength1.000
use_torch_optimized_interpolationfalse
interpolationbilinear
gaussian_interpolation_radius1
stochastic_interpolation_samples8
stochastic_interpolation_use_gaussiantrue
sigma0.50
lut_orderRGB
gamma_correctionfalse
opacity100
CategoryTrophiHunter/Photography

Inputs (14)

NameTypeDefaultDescription
imageIMAGE
lut_filepathSTRING
chroma_amountFLOAT1.0000–2
luma_amountFLOAT1.0000–2
lut_strengthFLOAT1.0000.5–1.5
use_torch_optimized_interpolationBOOLEANfalse
interpolationCOMBObilinear5 options: nearest neighbor, bilinear, tricubic, gaussian, stochastic
gaussian_interpolation_radiusINT11–20
stochastic_interpolation_samplesINT81–200
stochastic_interpolation_use_gaussianBOOLEANtrue
sigmaFLOAT0.500.01–10
lut_orderCOMBORGB2 options: RGB, BGR
gamma_correctionBOOLEANfalse
opacityINT1000–100

Outputs (1)

NameTypeDescription
IMAGEIMAGE