The red-black wavelet transform and the lifting scheme