Applying Multifractal Formalism Combined with Wavelet Transform to Wood Defects Detection