In this paper a fast spatial adaptive algorithm is presented for the efficient least squares (LS), autoregressive exogenous (ARX), two-dimensional (2-D) modeling. Filter masks of general boundaries are allowed. Efficient space updating recursions are developed by exploiting the spatial shift invariance property of the 2-D data set.< >