Skip to content

Nodes · Color

LookMatch

Colorv1core

Overview

Learns the grade between two versions of a shot and applies it: wire the ungraded shot into source and a graded copy into target, pick reference frames, press Analyze. The grade is a smooth 3D LUT, the same every time, and exports as a .cube. To match parts to parts, wire region mattes into regions (the source's) and target_regions (the target's) - up to four each, one per channel, red with red: sky to sky, skin to skin; each region counts equally, and the result is still one grade.

Inputs

InputWhat it takes
source—
target—
regions—
target_regions—

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
taskChoicegradedgraded: Target is a graded copy of the same shot, and the grade is learned pixel for pixel. different: Target is another shot whose look you want - the colours are matched as a whole (an overall match, then a transfer that follows the target's colours), with no need for the two to line up. gradeddifferent
source_framesTextThe frames the grade is learned from, e.g. 1, 24, 48. Empty: the current frame. Pick frames that show the range of colours in the shot.
target_framesTextFor a different shot: the frames of Target to learn its look from (they need not be the same frames, or as many, as Source's). Empty: the same frame numbers as Source's.
iterationsInt8For a different shot: how many passes the colour transfer makes after its first overall match. More follows the target's colours more closely; 8 suits most shots.
protect_skinBoolfalseFor a different shot: faces keep their own hue. Skin tones still take the target's brightness and colourfulness, but a scene's green or magenta cast is not put on them.
analysisChoicereferencereference: one grade learned from the reference frames, for the whole shot. per frame: a grade for every frame in the reference frames (give a range such as 1-100), for a shot whose look changes - a sunset, a camera adjusting itself. per frame smoothed: the same, eased over the frames either side so it never pumps. referenceper frameper frame smoothed
smooth_framesInt5For per frame smoothed: how many frames either side each frame's grade is eased with. More is steadier; fewer follows a fast change.
lut_seqTextWhere the per-frame grades are kept: a file beside the project, written by Analyze. Every frame's grade can be written out as a numbered LUT sequence.
detail_keepFloat0.0Keeps the source's grain and fine texture as they were: the match is applied to the picture's broad colours and the fine detail added back unchanged, so a match that adds contrast does not add it to the noise. 0 is off.
maskChoicenoneLearn only from part of the picture: source's alpha, or its inverse. nonealphainverted
apply_to_maskChoiceonon: the grade lands only where the mask is. off: learned from the mask, applied to the whole picture. onoff
outputChoicematchedmatched: source with the grade. source / target: the inputs, to compare. difference: what is left between the match and the target. matchedsourcetargetdifference
prelutChoiceautoHow the LUT spaces its steps. auto and log: finer in the shadows, where errors show most. linear: evenly. autolinearlog
lut_resChoice33The LUT's size per side: 33 is the usual, 65 the finest, 17 the quickest. 173365
smoothnessFloat0.1How smooth the learned grade is between the colours it saw: higher follows the reference frames less closely and generalises more.
strengthFloat1.0How much of the grade to apply: 0 is source, 1 the full match.
lutTextThe learned grade (written by Analyze).
grade_fitTextThe match as Grade values (gain, offset, gamma per channel), fitted at Analyze alongside the 3D LUT. Create Grade node builds a Grade with them, to edit by hand; its error shows how much of the match a per-channel grade can carry.
cdl_fitTextThe match as a CDL (slope, offset, power per channel and a saturation), fitted at Analyze. Create CDL node builds it and writes a .cdl file for other applications.
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).