Linear domain. y:patch size for contrast, x:overlapped patch size