Pan[xPan][yPan](xPix,yPix).rgb=srcImg(x,y).rgb
xM=x ⊙ m yM=y ⊙ m
xSlide=floor((double)xM_ corner/xBase ) ySlide=floor((double)yM_ corner/yBase )
xPan=floor((double)xM/xBase) - xSlide yPan=floor((double)yM/yBase) - ySlide
xPix=xM – xBase*xPan yPix=yM – y
=============================================================