Previous | Next --- Slide 53 of 123
Back to Lecture Thumbnails
tpbui

I am not getting what the window function does. And what is the difference for the output of the (1,0) and Gaussian functions?

motoole2

The window function serves to compute the (weighted) sum of pixel differences across some finite neighborhood. Note here that, technically, the values for $x$ and $y$ can span $-\infty$ to $\infty$. So we definite a window that limits the size of the neighborhood of pixels that we will be summing over.

The Gaussian-weighted version provides more emphasis to pixels at the center of the neighborhood. It's up to you, however, to choose between a binary window, a Gaussian one, or a completely different window function.