Construction of linear and robust codes that is based on the scaling function coefficients of wavelet transforms