Two-dimensional snapshot measurement of surface variation of anchoring in liquid crystal cells