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
| Input | What it takes |
|---|---|
| source | — |
| target | — |
| regions | — |
| target_regions | — |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| task | Choice | graded | graded: 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_frames | Text | The 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_frames | Text | For 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. | |
| iterations | Int | 8 | For 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_skin | Bool | false | For 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. |
| analysis | Choice | reference | reference: 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_frames | Int | 5 | For per frame smoothed: how many frames either side each frame's grade is eased with. More is steadier; fewer follows a fast change. |
| lut_seq | Text | Where 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_keep | Float | 0.0 | Keeps 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. |
| mask | Choice | none | Learn only from part of the picture: source's alpha, or its inverse. nonealphainverted |
| apply_to_mask | Choice | on | on: the grade lands only where the mask is. off: learned from the mask, applied to the whole picture. onoff |
| output | Choice | matched | matched: source with the grade. source / target: the inputs, to compare. difference: what is left between the match and the target. matchedsourcetargetdifference |
| prelut | Choice | auto | How the LUT spaces its steps. auto and log: finer in the shadows, where errors show most. linear: evenly. autolinearlog |
| lut_res | Choice | 33 | The LUT's size per side: 33 is the usual, 65 the finest, 17 the quickest. 173365 |
| smoothness | Float | 0.1 | How smooth the learned grade is between the colours it saw: higher follows the reference frames less closely and generalises more. |
| strength | Float | 1.0 | How much of the grade to apply: 0 is source, 1 the full match. |
| lut | Text | The learned grade (written by Analyze). | |
| grade_fit | Text | The 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_fit | Text | The 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. | |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
