Wavelet transform and three-dimensional data compression