
Background Subtraction fo r Moving Cameras 4-11
FIGURE 4.3 Left: Example results from Sheikh et al. [42] Right: (a) The background trajectory bases
of a 30 frame window. (b) background trajectories lie in this subspace, (c) foreground trajectories do not
lie in this subspace. (IEEE
c
2009)
where the posterior is further factored using Bayes Theorem in prior and likelihood terms.
The likelihood p(x|L) is computed as:
p(x
i
|l
i
) = p(x
i
|B)
(l
i
−1)
p(x
i
|F)
l
i
,
where p(x
i
|B) and p(x
i
|F) are the likelihood of a pixel given the background foreground
models respectively. Kernel Density Estimation (KDE) was then used to model the appear-
ance of the background and