arXiv:2609.37951cs.LGSep 2026

Manuscript Offprint

arXiv:2609.37951

Scene-Consistent Illumination Transfer for Inserted Advertising Graphics

Rameshwar Mishra, Bishshoy Das, A. V. Subramanyam, Guan-Ming Su

Rameshwar Mishra*, Bishshoy Das†, A. V. Subramanyam*, Guan-Ming Su†

*Indraprastha Institute of Information Technology, Delhi, India

{rameshwarm, subramanyam}@iiitd.ac.in

†Dolby Laboratories, Bangalore, India and Sunnyvale, USA

{bishshoy.das, guanming.su}@dolby.com

Abstract—Replacing a visible advertisement in a broadcast frame is geometrically straightforward but photometrically delicate. A pasted graphic can have the correct perspective and still appear detached when its brightness, shading, or shadow disagrees with the surface beneath it. This paper presents Ad-Relight, an inference-only procedure for transferring scene illumination to a supplied advertising graphic without collecting a banner-specific training set. The procedure first separates slowly varying shade from graphic structure, then probes a pretrained diffusion relighter with two nearly identical backgrounds to isolate the contribution of the target region. A final pass combines this residual with a smoothed luminance field and a soft attenuation mask. Across 560 generated placements, the approach improves structural similarity, perceptual distance, and illumination agreement over geometric compositing and direct relighting baselines. Human judgments and an automated preference study show the clearest gains on floor-mounted graphics with nonuniform lighting. The current study is image based; temporal stabilization remains an open extension.

Index Terms—advertising graphics, image harmonization, illumination transfer, diffusion prior, scene compositing

I. TASK AND CONTRIBUTIONS

Personalized advertising often begins with a finished graphic and a location in an existing frame. The production system must preserve the graphic's identity while making it look as though it was present when the scene was captured. This requirement is especially visible on courts, floors, walls, and other broad surfaces: the replacement area may contain a brightness ramp, a soft occlusion, or a color cast that cannot be reproduced by a homography alone. Figure 1 illustrates the resulting gap between geometric placement and scene-aware appearance.

Let I denote a frame, M a mask for the region to be replaced, and L a user-supplied banner. The desired output should satisfy three constraints: its boundary must follow M, the semantic content of L must remain legible, and its low-frequency appearance should agree with the illumination already present in I. These constraints pull in different directions. Strong generative editing can improve realism while changing a logo, whereas a literal paste preserves the logo while exposing the mismatch in lighting.

Our design treats a pretrained relighting network as a source of illumination evidence rather than as a direct banner generator. A pair of controlled queries reveals how the network responds to the original target region; that response is then reused while the supplied graphic remains explicit throughout the pipeline. This separation makes the method usable at inference time and avoids fitting a new relighting model to a small, specialized advertising collection.

The paper makes three contributions:

  • a formulation of banner replacement as region-conditioned illumination transfer, with identity preservation treated as a first-class constraint;

  • a training-free procedure that combines shade normalization, differential probing, and soft shadow attenuation under the name Ad-Relight;

  • a focused evaluation covering 560 placements, component ablations, automated rankings, and human pairwise preferences.