From: Research of segmentation method on color image of Lingwu long jujubes based on the maximum entropy
(i − 1, j − 1)
(i − 1, j)
(i − 1, j + 1)
(i, j − 1)
(i, j)
(i, j + 1)
(i + 1, j − 1)
(i + 1, j)
(i + 1, j + 1)