01
How color matching video by statistics works
The match converts both images into Oklab, a color space where equal steps look roughly equal to the eye, and keeps lightness apart from the two color axes. It then measures how each channel is distributed in the source and in the reference, its average and its spread, and builds a mapping that shifts and scales the source so those line up with the reference. In practice that corrects overall brightness, contrast, white balance and saturation in one move. Because it works on statistics rather than recognizing objects, it needs no AI and runs quickly in the browser. The same mapping is baked into a 3D LUT, so the preview, the .cube and the MP4 all show the same result.

