基于MATLAB的心电信号二值化算法

    Binarization Algorithm for ECG Signal Based on MATLAB

    • 摘要: 利用MATLAB语言比较了最大方差阈值法选择阈值、基于灰度期望值法选择阈值以及整体阈值与局部阈值相结合的几种图像二值化算法.将以索引图格式保存的心电图信号转换为RGB格式,利用上述方法单独对R数组、G数组和B数组进行二值化处理,然后分别对结果数组作“或”操作,作为二值化结果,试验结果表明,基于全局阈值的二值化算法比较实用,能够很好地滤除背景噪声、背景网格以及QRS综合波处所做的标记,并保留有用的心电信号.

       

      Abstract: Based on MATLAB language, the paper compares with several binarization algorithm: Ostu algorithm, the algorithm for threshold selection based on arithmetic mean of gray value and the adaptive threshold selection which combines the global threshold with local threshold. The indexed ECG images are converted to RGB ones. And then binarization processing is implemented to the R-array, G-array and B-array separately by using the methods above. "OR" operation is experimented with the gotten arrays so as to get the result. The experimental results show that binarization approaches based on global threshold discussed in theis paper are useful and can remove the background noise, background grid and the marks at QRS complexes and keep the useful ECG signals.

       

    /

    返回文章
    返回