This document presents a novel approach for lossless compression of 4D medical images using adaptive inter-slice filtering combined with 2D integer wavelet transform and motion compensation. The proposed method, which employs 3D SPIHT coding, shows superior performance in compression rates compared to existing techniques that rely solely on either motion compensation or wavelet transforms. Experimental results demonstrate the effectiveness of the approach in efficiently eliminating redundancies in the 4D medical images.