Image processing in Java with wavelet