Skip to content

Can an exact pixel comparison unfairly penalize a correct face swap after a one-pixel shift?

Yes. Edges can produce a large difference signal from a simple translation. Align unchanged features before interpreting a difference image as a quality verdict.

VIDEO SIGNAL AND TIMING DIAGNOSTICSAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the comparison

Choose a stationary background edge present in both versions and estimate the displacement. Apply the same alignment to a review copy without warping the person to fit.

Compare the residual before and after alignment. Inspect the region intentionally changed separately from protected background details.

Worked review case

Changing the test row [0,0,255,255] to [0,255,255,255] moves one edge one sample. Its mean absolute difference is 63.75 codes despite unchanged plateau colors.

Make the delivery decision

Correct registration for the metric while retaining the unaltered delivery for visual approval. Treat real unwanted framing shifts as a separate deliverable defect.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example