In neighborhood background correction, we use neighborhood background to replace the adjacent background. A local three by three window around B i,j is chosen and the neighborhood background is defined as: