How to Calculate Local Spatial Variance of an Image? For those who work often on image processing, I'm facing an algorithm of Non-Uniformity Correction (NUC) that requires the calculation of a parameter called &quot;Local Spatial Variance&quot;. I can't find a definition for it.
Does anyone have any idea about it ?
The article is called A Novel Infrared Focal Plane Non Uniformity Correction Method Based on Co Occurrence Filter and Adaptive Learning Rate, IEEE Access, 2019.
The &quot;Local Spatial Variance&quot; is on the 3rd page if you please.
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.