Wavelet transform of a gray-scale image in a finite GF(2) field