ECGDlg.h ( File view )

  • By c654162067 2013-10-31
  • View(s):227
  • Download(s):9
  • Point(s): 3
			// ECGDlg.h : header file
//

#if !defined(AFX_ECGDLG_H__67550623_C727_4F1B_AF71_E8B8AB7181B7__INCLUDED_)
#define AFX_ECGDLG_H__67550623_C727_4F1B_AF71_E8B8AB7181B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define   pi      3.14159265358979323846
#include "cplxCput.h"

#define SNR  0.5
#define shift  2
#include "wavelet.h"
#include "WaveParamSet.h"
// #define N 5000
const static int N = 4096;
/////////////////////////////////////////////////////////////////////////////
// CECGDlg dialog

class CECGDlg : public CDialog
{

// Construction

public:
	void drawing4(double *buf, CPoint point1, CPoint point2);
	void drawing3(float *buf, CPoint point1, CPoint point2);
	void Onanalyse1();
	void Onanalyse();
	void drawing2(double *buf, int m_size);
	void QRS_Detect1();
	void QRS_Detect();
	void R_Detect1();
	void drawing1(double *buf,int m_size);
	void drawing1(float *buf, int m_size);
	void Butterworth(double *x, double *y, double fp,double FS,int num);
	WaveParamSet m_wps;
	  double *x1;
	double *y1;
    double t3[N],t4[N];
	void Butter4(double *x, double *y, double fp, double FS, int num);
	void getdata();
	int  LowPassFilter(int data);
	void R_Detect();
	void exchangeOrder(double *a);
	void computeW(CcplxCput W[]);
	float temp[N];//存放txt数据
	double a1[N];
	int Derivative(int data);
	int HighPassFilter(int data);
	double t1[N];
	float *buffer;
    int iLen;
	bool btn;
	bool btn1;
	bool btn2;
	CPoint orpoint,m_point;
	double buffer1[3*N];
	double temp1[N];//存放dat数据
	float temp7[N];
	int iLen1;
	unsigned char buffer2[12*N];
	double m2;//max-min
	double max,max1;
	int type;
	CECGDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{
{
AFX_DATA(CECGDlg)
	enum {
 IDD = IDD_ECG_DIALOG 
};


	CString	m_View;
	//
}
}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{
{
AFX_VIRTUAL(CECGDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//
}
}AFX_VIRTUAL

// Implementation
protected:	
	HICON m_hIcon;

	// Generated message map functions
	//{
{
AFX_MSG(CECGDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnQrs();
	afx_msg void OnFft();
	afx_msg void OnParameter();
	afx_msg void OnHtanalyse();
	afx_msg void OnChoosearea();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMagnify();
	afx_msg void OnMenuitem1();
	afx_msg void OnMenuitem3();
	afx_msg void OnLpfilter();
	afx_msg void OnMenuitem4();
	afx_msg void OnMenuitem5();
	afx_msg void OnMenuitem2();
	afx_msg void OnButton1();
	afx_msg void OnButterWorth2();
	afx_msg void OnButterWorth4();
	afx_msg void OnWaveparaset();
	afx_msg void OnWavelet();
	//
}
}AFX_MSG

    HMENU m_hMenu1;
	DECLARE_MESSAGE_MAP()

};

//{
{
AFX_INSERT_LOCATION
}
}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ECGDLG_H__67550623_C727_4F1B_AF71_E8B8AB7181B7__INCLUDED_)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 3

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.96 kB
~$?+?+?-+?-?+???+?final.doc162.00 B2013-10-21 17:36
01.96 kB
01.96 kB
1001099ECG.txt303.95 kB2011-10-27 09:55
1001104ECG.txt449.72 kB2011-10-27 09:55
1001105ECG.txt300.11 kB2011-10-27 09:55
1002122ECG.txt298.52 kB2011-10-27 09:55
20090010ECG.txt306.25 kB2011-10-27 09:55
01.96 kB
01.96 kB
1002093ECG.txt298.05 kB2011-10-27 09:55
1002113ECG.txt297.83 kB2011-10-27 09:55
20080962ECG.txt300.06 kB2011-10-27 09:55
20080983ECG.txt302.18 kB2011-10-27 09:55
20091662ECG.txt302.89 kB2011-10-27 09:55
01.96 kB
cplxCput.cpp1.31 kB2011-10-27 09:55
cplxCput.h816.00 B2011-10-27 09:55
01.96 kB
cplxCput.obj21.55 kB2011-10-27 15:16
cplxCput.sbr1.33 MB2011-10-27 15:16
ECG.bsc5.12 MB2011-10-27 09:55
ECG.exe176.07 kB2013-10-24 18:12
ECG.ilk537.42 kB2013-10-24 18:12
ECG.obj25.34 kB2011-10-27 15:16
ECG.pch6.93 MB2011-10-27 15:16
ECG.pdb593.00 kB2013-10-24 18:12
ECG.res4.60 kB2011-10-27 15:16
ECG.sbr1.34 MB2011-10-27 15:16
ECGDlg.obj153.13 kB2013-10-24 18:12
ECGDlg.sbr1.56 MB2013-10-24 18:12
HeartAnalyse.obj20.09 kB2011-10-27 15:16
HeartAnalyse.sbr1.31 MB2011-10-27 15:16
mfc42d.dll908.05 kB2011-10-27 09:55
mfco42d.dll780.05 kB2011-10-27 09:55
MSVCIRTD.DLL92.08 kB2011-10-27 09:55
msvcrt.dll335.00 kB2011-10-27 09:55
msvcrtd.dll392.07 kB2011-10-27 09:55
Parameter.obj19.91 kB2011-10-27 15:16
Parameter.sbr1.31 MB2011-10-27 15:16
StdAfx.obj103.36 kB2011-10-27 15:16
StdAfx.sbr1.31 MB2011-10-27 15:16
vc60.idb601.00 kB2013-10-25 10:15
vc60.pdb484.00 kB2013-10-24 18:12
WaveCoef.obj13.76 kB2011-10-27 15:16
WaveCoef.sbr1.31 MB2011-10-27 15:16
wavelet.obj75.29 kB2011-10-27 09:55
wavelet.sbr22.38 kB2011-10-27 09:55
WaveParamSet.obj25.86 kB2011-10-27 15:16
WaveParamSet.sbr1.31 MB2011-10-27 15:16
ECG.APS24.64 kB2011-11-10 20:30
ECG.clw5.99 kB2011-11-10 21:56
ECG.cpp2.01 kB2011-10-27 09:55
ECG.dsp4.88 kB2011-10-27 09:55
ECG.dsw531.00 B2011-10-27 09:55
ECG.h1.26 kB2011-10-27 09:55
ECG.ncb553.00 kB2013-10-25 18:56
ECG.opt452.00 kB2013-10-25 18:56
ECG.plg240.00 B2013-10-25 10:15
ECG.rc9.51 kB2011-10-27 09:55
ECGDlg.cpp52.35 kB2013-10-24 18:12
ECGDlg.cpp.bak49.92 kB2013-10-24 13:59
ECGDlg.h3.12 kB2011-10-27 09:55
HeartAnalyse.cpp1.25 kB2011-10-27 09:55
HeartAnalyse.h1.29 kB2011-10-27 09:55
Parameter.cpp1.03 kB2011-10-27 09:55
Parameter.h1.22 kB2011-10-27 09:55
ReadMe.txt3.44 kB2011-10-27 09:55
01.96 kB
resource.h2.47 kB2011-10-27 09:55
cursor1.cur326.00 B2011-10-27 09:55
ECG.ico1.05 kB2011-10-27 09:55
ECG.rc2395.00 B2011-10-27 09:55
StdAfx.cpp205.00 B2011-10-27 09:55
StdAfx.h1.03 kB2011-10-27 09:55
WaveCoef.cpp667.00 B2011-10-27 09:55
WaveCoef.h703.00 B2011-10-27 09:55
wavelet.cpp33.78 kB2011-10-27 09:55
wavelet.h8.32 kB2011-10-27 09:55
WaveParamSet.cpp1.75 kB2011-10-27 09:55
WaveParamSet.h1.26 kB2011-10-27 09:55
~VCBAE.tmp432.00 kB2013-10-23 19:28
<~VCBAF.tmp>0.00 B2013-10-23 19:28
?-???+?+?-+?-?+???+?final.doc495.50 kB2011-11-10 20:06
-?-???4.33 MB2012-01-28 17:39
...
Sponsored links

ECGDlg.h (14.44 MB)

Need 3 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D