Feature extraction and reconstruction of two dimensional patterns using autoregressive moving average models and Fourier descriptors