Electrocardiogram compression method based on the adaptive wavelet coefficients quantization combined to a modified two-role encoder