Skip to content

How do I tell a leaking matte from a real shadow under the replacement's hairline?

Change the test background in a disposable composite. A shadow painted into opaque foreground stays with that foreground. Light or color leaking through partial coverage responds to the background.

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

Inspect the layers

Select a hairline point away from natural wisps. Compare its RGB values over two known solid backgrounds while keeping the foreground unchanged.

Measure the pixel change against the background change. Inspect the alpha channel at the same coordinate to see whether that response is plausible.

Controlled edge example

With fixed foreground, changing the background by 100 codes changes a composite pixel by 20 at 80% coverage. The implied uncovered fraction in this linear example is 20%.

Which part of the composite to repair

Correct coverage only where the underlying plate should be fully hidden. Keep genuine thin hair responsive to its background and adjust an actual painted shadow separately.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example