CVPR 2006 Computational photography
Edge Suppression by Gradient Field Transformation Using Cross-Projection Tensors
The idea
Suppress shared edges. Reveal what changed.
Use one image to suppress corresponding edges in another, even when illumination changes. Cross-projection tensors transform the gradient field, separating foreground structure from shared background texture through gradient integration.
Foreground
recovery
Images A and B are captured from the same viewpoint with significant illumination differences. To recover the foreground layer, remove edges from A that also appear in B. A 2 × 2 projection tensor is estimated at every pixel and used to apply an affine transformation to A’s gradient field. Integrating that transformed field gives the foreground result.
The example removes background texture, including texture within the box’s shadow. Simple frame differencing and cross-correlation struggle with the illumination changes. Only one background image is available, making statistical background modeling difficult, and the box has a similar color to the red book behind it. This approach uses gradient direction rather than pixel intensity.
Limitations: illumination and reflectance edges are assumed not to coincide. A foreground reflectance edge coinciding with an illumination edge in B cannot be recovered. The box’s shadow remains because it introduces a new edge in A; the flash/no-flash examples below demonstrate shadow removal.
The algorithm
Estimate cross-projection tensors from A and B, then transform the gradient field of A. Integration produces A′, with the corresponding shared edges suppressed. Integrating the residual field produces A″, containing the edges in A that also occur in B.
The reference image B can be captured under different illumination. Applications include removing shadows from color images, suppressing glass reflections, and recovering intrinsic images for non-Lambertian scenes.
03 / Applications
Removing shadows with flash/no-flash pairs
A flash image provides the reference structure for removing shadows from an ambient photograph. The method avoids transferring flash shadows and can handle different color tones in the two inputs.
04 / Glass reflections
Remove reflections
without color artifacts.
A low-contrast no-flash photograph guides removal of checkerboard reflections from the flash image. Although the input color tones differ, the reconstructed result avoids color artifacts.
Relationship to
gradient projection
Our SIGGRAPH 2005 gradient-projection method removes glass reflections by projecting a flash-image gradient onto the ambient-image gradient at each pixel.
This paper shows that projection is a special case of an affine transformation of the gradient field. Building on research in restoration using diffusion tensors, it derives projection tensors from one image and applies them to another for edge suppression under variable illumination.



