Do the opencv libraries contain functions to subject a grayscale image to an L-level discrete wavelet decomposition? I want to calculate the three detail images HL, LH and HH for every level, in order to use them to obtain the weighted standard deviation decriptor (WSD).