At a glance
Anuja Gawde's 2012 IEEE AVSS paper removes shadows and reflections from video foreground detection using spatial and spectral features, with thresholds set from the scene itself rather than preset numbers.
Walk across a sunlit plaza in front of a fixed camera and the software watching the feed registers two moving objects: you, and the dark shape dragging along the pavement beside you. Background subtraction, the workhorse of video motion detection, cannot separate them on its own. It reports both as foreground, and that shadow stretches the detected silhouette into something no tracking system can use.
Anuja Gawde's paper on the problem, written with Kedar Joshi and Senem Velipasalar at Syracuse University's Department of Electrical Engineering and Computer Science, treats shadow removal as a post-processing step: find the moving blob first, then decide which of its pixels belong to an actual object. It appeared at the IEEE Ninth International Conference on Advanced Video and Signal-Based Surveillance in Beijing and runs from page 264 to 269 of the proceedings.
Why a 2012 conference paper still deserves a close read: the cameras have changed, the problem hasn't. Motion detection now runs on doorbell units, warehouse robots, farm equipment and traffic poles, often on a processor with no graphics chip to spare. Standardised benchmarks such as the ChangeDetection.net dataset give shadows their own test category precisely because so many methods still fail on them, and a recent survey of deep-learning shadow work found that published gains are hard to compare and often don't survive a move to a new dataset.
Gawde's method is not a neural network. It uses spectral and spatial features, and it sets its own thresholds instead of importing fixed numbers chosen in advance. That last part is the interesting one.
What background subtraction actually does
The idea fits in a sentence. A camera that never moves stores a picture of the empty scene, then subtracts that picture from each incoming frame. Pixels that differ get labelled foreground; pixels that match stay background. Cheap, fast, and it works until the light does something.
A shadow is a region where something blocked the light. Those pixels are darker than the stored background, so they differ, so they get labelled foreground. Polished floors and glass doors do the same thing in reverse, throwing bright reflections of a passer-by onto surfaces the person never touched. The paper names both artifacts: shadows and reflection effects, indoors and outdoors.
The damage is geometric as much as visual. A tracking system measures a blob's bounding box, its centre, its width-to-height ratio, and it uses those numbers to decide whether two detections in consecutive frames are the same person. Add a long shadow to a walking figure and the box roughly doubles in one direction. Two people standing close enough for their shadows to touch merge into a single detection. Everything downstream is now working from the wrong input.
Colour as evidence, geometry as a second opinion
Spectral features in this context means colour: how the red, green and blue channels relate to each other. A shadow acts like a dimmer switch on a lamp. It turns the light down, but it doesn't repaint the wall. The absolute brightness of a shadowed patch of pavement drops, while the ratios between its colour channels stay close to what they were in the unshadowed background. An object that walks into the scene brings its own paint: new ratios, not just lower numbers. That difference is what the method exploits.
Spatial features ask a different question, which is where a candidate shadow sits and what shape it makes. A cast shadow is attached to the thing casting it, runs along the ground, and has a soft edge where the light source is partly visible, a transition region known as the penumbra. Colour evidence alone gets fooled by dark objects. Geometry alone gets fooled by objects that happen to lie flat. Run the two together and the failure modes stop overlapping, which is the argument the paper makes for combining them.
The full method and the comparison figures are in the proceedings; the abstract page is hosted by the IEEE Computer Society.
The number everyone fudges
Almost every shadow detector needs at least one threshold. How much darker does a pixel have to get before it counts as shadow rather than a dark object? How far can its colour ratios drift before the answer is no? Set those values by hand and you have tuned them for one camera, one building, one time of day. Move the camera to a corridor lit by fluorescent tubes, or wait for a cloud to pass, and the numbers are wrong.
Picture a doorframe with a height marker painted on it, installed in a house where the floor slopes. The rule is objective and completely arbitrary. Gawde's method measures the doorway instead: thresholds are derived from the scene in front of the camera rather than preset. The abstract is explicit that this is the design goal, an adaptive way to set thresholds that avoids preset numbers.
That makes the method easier to deploy and harder to benchmark, a trade-off worth naming. A fixed threshold is a number another lab can copy. An adaptive one depends on how the statistics are computed from each frame, so reproducing the result means reproducing the estimator as well.
What the comparison settled
In Lightweight and Robust Shadow Removal for Foreground Detection, the authors compare their output against several other shadow removal methods and report that the experimental results demonstrate the success of the proposed algorithm. On the indoor and outdoor sequences they tested, the shadows came off and the object outlines came back.
What that comparison can't do is rank the method against the field. Conference papers of this length typically evaluate on sequences the authors collected or selected, using metrics of their choosing. The shared benchmark that would have allowed an apples-to-apples ranking arrived at almost the same moment. ChangeDetection.net launched in 2012 and expanded in 2014, adding a shadow category built from sequences such as busStation, cubicle and peopleInShade, with ground-truth masks where shadow pixels carry their own label. Work published before that convention settled cannot be placed on the leaderboard after the fact, and the paper's keyword list, which runs from image sensors to video signal processing, says plainly what world it was written for.
Where the caution belongs
It would be easy to over-read a result like this one. Shadows are not the only dark regions in a video. A person in a black coat, a car with tinted windows, a doorway at night, a thermal camera image where brightness means temperature rather than reflected light: each of those breaks assumptions that colour-based shadow detection depends on. The method targets static cameras, so anything panning, tilting or zooming sits outside its scope by construction.
The wider literature is a useful corrective. The 2025 survey of deep-learning shadow detection, removal and generation retrained representative models under identical conditions and found that earlier reports disagreed with each other, that performance depended heavily on model design and input resolution, and that models transferred poorly across datasets because the datasets themselves are biased. Those criticisms land on deep networks, not on a 2012 statistical method. The underlying lesson is general, though: a claim of success is a claim about the data it was measured on.
A reviewer reading Gawde's paper today would ask something specific. How does the adaptive threshold cope when the scene statistics shift abruptly, say when someone switches on the overhead lights mid-sequence? Whether the method recomputes from the current frame or leans on statistics that build up over time, an adaptive cut-off has to survive that kind of step change, and six pages don't leave room to characterise it. That is the sort of question a follow-up study answers, not a flaw that undoes the result.
The survey and its benchmark resources are on arXiv.
Photo by Zulfugar Karimov on Unsplash
What lightweight buys you now
Shadow work has since moved toward large learned models, and the trade-offs are visible. A modern transformer-based remover can produce a clean, relit image, and it needs hardware that a fixed camera on a pole does not have. That is why the survey's authors list physics-guided priors inside multimodal models as a direction worth pursuing: a learned system that already knows how shadows behave physically needs less training data to reach the same answer.
Gawde's contribution sits at the frugal end of that spectrum. Two feature families, thresholds chosen from the scene, no training set, no accelerator. For a research group building a tracking pipeline, that is a component you can drop in and reason about. For a manufacturer shipping ten thousand cameras, the absence of a model file and its memory footprint is the more persuasive argument.
The citation record reflects it. Later papers on shadow-aware background subtraction and on compute-efficient shadow handling for embedded devices list the work among their references, often when justifying cheap approximations such as lookup tables for logarithmic operations. Six pages, one method, and a habit of thinking about the arithmetic budget.
The next five years look like fewer knobs
The direction of travel is toward methods that configure themselves. Cameras are multiplying faster than anyone can tune them one at a time, and every preset number in shipped firmware is a support ticket waiting to happen. Adaptive thresholding, the least glamorous part of Gawde's paper, is the part most likely to be borrowed.
What would count as progress: shadow removal that holds up when the camera pans, since static-camera assumptions are now the exception rather than the rule. Colour models that don't collapse at night or in infrared. Annotation standards that let two labs compare numbers without re-running each other's code, which the deep-learning survey shows is not a given. A method from 2012 that measures its own scene instead of trusting a number typed by a researcher is a small, durable answer to a problem that hasn't gone away.
- syracuse-university
- computer-vision
- shadow-removal
- anuja-gawde
- foreground-detection

