|
// DSP_ECG.h: interface for the DSP_ECG class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DSP_ECG_H__E0F5FD80_97A3_11D7_8A9A_96F3FFD7D17A__INCLUDED_)
#define AFX_DSP_ECG_H__E0F5FD80_97A3_11D7_8A9A_96F3FFD7D17A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DSP_Filter.h"
class DSP_ECG
{
public:
void SetECG(double* ARECG,int lenght,double* destMINMAX,int* qrs_count,int* qrs_ms,int* pr_ms,int* qt_qtc_ms,int select_segment);
DSP_ECG();
virtual ~DSP_ECG();
private:
void MoveArr(double* dest,double* source,int lenght);
DSP_Filter dsp_flf;
void ZeroAll();
double arMark[5000];
double arPR[5000];
double arQT[5000];
double arECG[5000];
double arQRS[5000];
double arD1[5000];
double arD2[5000];
int ms_QT_QTc(double *ECG, int lenght, double *D1, double *D2);
int ms_PR(double *ECG, int lenght, double *D1, double *D2);
int ms_QRS(double* ECG,int lenght,double* D1,double* D2);
int QRS_COUNT(double* ECG,int lenght,double* destminmax);
};
#endif // !defined(AFX_DSP_ECG_H__E0F5FD80_97A3_11D7_8A9A_96F3FFD7D17A__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here