How to Calculate Local Spatial Variance of an Image?
Usually it means the variance within a window of pixels where the (i, j) pixel is in its center:

In the above you can see a 3 x 3 window (Radius of 1).
You'd calculate the variance in this window and set its value to the location of the Pij pixel.