
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































CSE598G
CSE598G
Given a set of data samples xi; i=1...n Convolve with a kernel function H to generate a smooth function f(x) Equivalent to superposition of multiple kernels centered at each data point
CSE598G
Can be written in terms of a 1D Profile function that is is a function of the radius (we will use squared radius below) Height at point is function only of distance from center
CSE598G
Given a convolution kernel H, what is the corresponding mean-shift kernel K? Perform change of variables r = ||xi-x||^2 Rewrite H(xi-x) => h(||xi-x||^2 ) => h(r). Then kernel K must satisfy
Epanichnikov Biweight Gaussian Epanichnikov Gaussian Flat self-replicating!
CSE598G
We will derive an explicit equation relating the mean-shift procedure using kernel K with gradient ascent on the KDE surface formed by using the shadow kernel H. gradient of KDE rewrite using profile function
CSE598G
Sidebar derivation: chain rule change of variables change variables back
CSE598G
cont. x this does not depend on i, so can come out of the summation call this p(x). It is another KDE, using kernel K instead of H this is just 1! this is the relationship we wanted to derive.
CSE598G
cont. weighted center of mass mean shift vector
CSE598G
Let pixels form a uniform grid of data points, each with a weight (pixel value) proportional to the “likelihood” that the pixel is on the object we want to track. Perform standard mean-shift algorithm using this weighted set of points.
i
i
i
i
i
i
i
CSE598G
Running mean-shift with kernel K on weight image w is equivalent to performing gradient ascent in a (virtual) image formed by convolving w with some “shadow” kernel H. Computational savings: only have to compute convolution values at the relatively small number of points you visit on the path to the mode.
CSE598G
histogram is an empirical estimate of p(color | object) = p(c | o) Bayes rule says p(o | c) = p(c | o) p(o) / p(c) Simplistic approx: assume (p(o)/p(c)) is constant. Then p(o|c) = p(c|o). Use histogram h as a lookup table to set pixel values in the weight image. (if pixel maps to bucket i in histogram h, set weight for that pixel to h(i)
CSE598G
CSE598G
CSE598G