ecg encoding

download ecg encoding

of 28

Transcript of ecg encoding

  • 7/31/2019 ecg encoding

    1/28

    Click to edit Master subtitle style

    7/1/12

    COMPRESSION OFBIOMEDICAL SIGNALS

    DWT AND RUN-LENGTH

  • 7/31/2019 ecg encoding

    2/28

    7/1/12

    This is a simulation based project

    Signal compression is done bypreserving the peak values of ECGsignal

    Wavelet Transform is used forfeature extraction

    Zero Run-length code is used for

    compression

    Abstract

  • 7/31/2019 ecg encoding

    3/28

    7/1/12

    WHAT ARE BIOMEDICAL SIGNALS?

    Biomedical signals are observations of

    physiological activities of organisms.

    ECG,EMG,EEG etc.

    The ECG is the electrical manifestation of thecontractile activity of the heart, and can berecorded fairly easily with surface electrodes on

    the limbs or chest.

    Introduction

  • 7/31/2019 ecg encoding

    4/28

    7/1/12

    For transmitting and storage applications.

    Save crucial time and unnecessarydifficulties in emergency cases.

    Reduce the memory cost also.

    Need for Compression

  • 7/31/2019 ecg encoding

    5/28

    7/1/12

    ECG data compression techniques aretypically classified into three major

    categories;

    q Direct data compressionq Transform coding

    q Parameter extraction methods

    EXISTING COMPRESSIONMETHODS

  • 7/31/2019 ecg encoding

    6/28

    7/1/12

    v Reduce the redundancy in data sequence byexamining a successive number of neighboringsamples.

    These techniques generally eliminate samples thatcan be implied by examining preceding andsucceeding samples.

    Examples :- Amplitude zone epoch coding (AZTEC),Coordinate reduction time encoding system(CORTES).

    DIRECT DATACOMPRESSION

  • 7/31/2019 ecg encoding

    7/28

    Click to edit Master subtitle style

    7/1/12

    Discrete Wavelet Transform(DWT)

  • 7/31/2019 ecg encoding

    8/28

    7/1/12

    Need for Compression

    Transmission and storage of

    uncompressed video would beextremely costly and impractical.

    Frame with 352x288 contains 202,752 bytesof information

    Recoding of uncompressed version of thisvideo at 15 frames per second wouldrequire 3 MB. One minute 180 MB storage.One 24-hour day 262 GB

    Using compression, 15 frames/second for24 hour 1.4 GB, 187 days of video could be

  • 7/31/2019 ecg encoding

    9/28

    7/1/1299

    Fourier Transform

    The frequency spectrum of the signal shows

    what frequencies exist in the signal

    FT

    Frequency domain

    Temporal domain

    No frequency information is available in time-domain

    No time information is available in frequency-

    domain signal

  • 7/31/2019 ecg encoding

    10/28

    7/1/121010

    What is wavelet transform?

    Provides time-frequency

    representation Wavelet transform decomposes a

    signal into a set of basis functions(wavelets)

    Wavelets are obtained from a singleprototype wavelet (t) called motherwavelet by dilations and shifting:

    )(1

    )(,a

    bt

    atba

    =

  • 7/31/2019 ecg encoding

    11/28

    7/1/12

    Discrete Wavelet Transform

    Theory of WT

    The wavelet transform is computedseparately for different segments of the time-domain signal at different frequencies.

    Multi-resolution analysis: analyzes the signal

    at different frequencies giving differentresolutions

    MRA is designed to give good time resolutionand poor frequency resolution at highfrequencies and good frequency resolution

    and poor time resolution at low frequencies

  • 7/31/2019 ecg encoding

    12/28

    7/1/12

    Filterbank Structure:Decomposition

  • 7/31/2019 ecg encoding

    13/28

    7/1/12

    Discrete Wavelet Transform

    2-D DWT for Image

  • 7/31/2019 ecg encoding

    14/28

    7/1/12

    Discrete Wavelet Transform

    Advantages of DWT over DCT

    No need to divide the input coding intonon-overlapping 2-D blocks, it has highercompression ratios avoid blocking artifacts.

    Allows good localization both in time and

    spatial frequency domain. Transformation of the whole image

    introduces inherent scaling

    Better identification of which data is

    relevant to human perception higher

    compression ratio

  • 7/31/2019 ecg encoding

    15/28

    7/1/12

    Discrete Wavelet Transform

    Advantages of DWT over DCT (cont.)

    Higher flexibility: Wavelet function can befreely chosen

    No need to divide the input coding into non-overlapping 2-D blocks, it has highercompression ratios avoid blocking artifacts.

    Transformation of the whole image introducesinherent scaling

    Better identification of which data is relevantto human perception higher compression

    ratio (64:1 vs. 500:1)

  • 7/31/2019 ecg encoding

    16/28

    7/1/12

    Discrete Wavelet Transform

    Disadvantages of DCT

    Only spatial correlation of the pixelsinside the single 2-D block isconsidered and the correlation fromthe pixels of the neighboring blocks is

    neglected

    Impossible to completely decorrelatethe blocks at their boundaries usingDCT

    Undesirable blockin artifacts affect

  • 7/31/2019 ecg encoding

    17/28

    7/1/12

    A set of parameters is extracted from the originalsignal which is used in the reconstruction process.

    The idea is to quantize a small set of extracted signalfeatures.

    PARAMETER EXTRACTIONMETHODS

  • 7/31/2019 ecg encoding

    18/28

    7/1/12

    Most widely used compression technique.

    A linear transformation is applied to thesignal and then compression via

    redundancy reduction is applied in thetransform domain rather than in the timedomain.

    Fourier transform FT Wavelet transform

    TRANSFORM CODING

  • 7/31/2019 ecg encoding

    19/28

    7/1/12

    In recent years the wavelet transform (WT)has received great attention.

    A wavelet is a waveform of effectively limitedduration that has an average value of zero.

    Wavelet Transform

  • 7/31/2019 ecg encoding

    20/28

    7/1/12

    With the blooming of wavelet based

    methods in signal processing, muchwork has been done in ECG compressionusing these techniques.

    There is a great number of wavelet

    compression techniques available in theliterature.

    Contd

  • 7/31/2019 ecg encoding

    21/28

    7/1/12

    The Discrete Wavelet Transform (DWT)has been used in the core of the compressionmodel and has combined with a losslessencoder which is the Runlength Encoder.

    Compression using DWT andRunlength

    Proposed System

  • 7/31/2019 ecg encoding

    22/28

    7/1/12

    Block Diagram

  • 7/31/2019 ecg encoding

    23/28

    7/1/12

    THRESHOLDING

    A comparison between a threshold valueis done before encoding.

    At the time of comparison the samplevalues greater than or equal to thresholdvalues are preserved.

    The samples with a lower value than thethreshold get at the output a zero value.

  • 7/31/2019 ecg encoding

    24/28

    7/1/12

    RUN LENGTH ENCODING

    Runlength encoding process

  • 7/31/2019 ecg encoding

    25/28

    7/1/12

    Interested information in asignal can be easilypreserved.

    Compression ratio is toohigh

    Cost effective

    Advantages

  • 7/31/2019 ecg encoding

    26/28

    7/1/12

    Matlab R2009b

    Biomedical signalprocessing toolbox

    Simulation Tool

  • 7/31/2019 ecg encoding

    27/28

    7/1/12

    FPGA implementation canbe done to make a realtime system

    This method can beincorporated withtelemetry

    Future Work

  • 7/31/2019 ecg encoding

    28/28

    7/1/12

    THANK YOU