Put the inverse transform before the second OD_HAAR_KERNEL call