Two-dimensional systolic-array architecture for pixel-level vision tasks