01
How a LUT creator fits a grade from three keyframes
A LUT creator has to answer one question: for every input color, which output color should come back? Here the answers come from pairs of images. Each keyframe is center-cropped to 16:9, 9:16 or 1:1, log keyframes are converted to Rec.709 first, and the model grades it with an instruction to change color only. The browser then solves a 33-point working grid by regularized least squares, with a smoothness term so neighboring cells cannot jump apart and gradients stay clean. Three keyframes matter because one frame rarely covers the whole range: the wide shot brings background and sky, the face brings skin, and the brightest shot pins the highlights. Colors that none of the frames contain are filled in smoothly from their neighbors rather than guessed.



