A small, self-contained Python script that inspects a single frame (or folder of frames) for color artifacts WITHOUT a reference, using three blind checks on the color channels: (1) chroma detail ratio — the L2 (squared-gradient) edge energy of the color channels relative to the brightness channel, which drops when subsampling softens color edges (mean/L1 gradient is conserved by subsampling and cannot see it, which is why the script uses squared-gradient energy); (2) chroma edge width in pixels
Download free PDF

The handbook · 7 volumes
Fora Soft Video Engineering Handbook
This no-reference color-artifact detector checks a frame for color artifacts using chroma detail ratio, chroma edge width and other blind checks on the color channels. Our seven-volume handbook covers the full video stack; start with Volume 1 for color spaces, chroma subsampling and quality metrics, then Volume 3 for delivery and Volume 6 for AI quality models. Written by Nikolay Sapunov, CEO at Fora Soft.
Seeing color bleeding or soft chroma edges in your encodes?
Send us sample frames, and we will measure chroma loss and trace it to subsampling, scaling or encoder settings. 250+ video products shipped since 2005.