An improved method for 2-D ECG compression based on SPIHT algorithm