The wavelet coefficients are derived by reversing the order of the scaling function coefficients and then reversing the sign of every second one, (i.e., D4 wavelet = {−0.1830127, −0.3169873, 1.1830127, −0.6830127}).