1. A method for encoding data, comprising: transforming the data to obtain original transform coefficients; generating predicted transform coefficients using a nonlinear predictor; and encoding residuals obtained by associating the original transform coefficients and the predicted transform coefficients.