-
大小: 5.04MB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-10-21
- 語言: 其他
- 標簽: DCM圖像??DCMTK3.5.3??raw圖像??
資源簡介
這里的代碼是用DCMTK3.5.3自動把原始圖像生成DCM圖像。需要同事下載DCMTK3.5.3

代碼片段和文件信息
//?DCMCreate.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“DCMCreate.h“
#include?“DCMCreateDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDCMCreateApp
BEGIN_MESSAGE_MAP(CDCMCreateApp?CWinApp)
//{{AFX_MSG_MAP(CDCMCreateApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDCMCreateApp?construction
CDCMCreateApp::CDCMCreateApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDCMCreateApp?object
CDCMCreateApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDCMCreateApp?initialization
BOOL?CDCMCreateApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDCMCreateDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-30?09:15??DCMCreate\
?????文件???????21220??2013-05-30?08:43??DCMCreate\DCMCreate.aps
?????文件????????1411??2013-05-30?09:14??DCMCreate\DCMCreate.clw
?????文件????????2111??2013-05-28?16:56??DCMCreate\DCMCreate.cpp
?????文件????????4444??2013-05-29?09:32??DCMCreate\DCMCreate.dsp
?????文件?????????541??2013-05-28?13:42??DCMCreate\DCMCreate.dsw
?????文件????????1357??2013-05-28?13:35??DCMCreate\DCMCreate.h
?????文件???????74752??2013-05-30?09:15??DCMCreate\DCMCreate.ncb
?????文件???????50688??2013-05-30?09:15??DCMCreate\DCMCreate.opt
?????文件????????1647??2013-05-29?11:06??DCMCreate\DCMCreate.plg
?????文件????????5675??2013-05-29?11:06??DCMCreate\DCMCreate.rc
?????文件???????19561??2013-05-29?11:05??DCMCreate\DCMCreateDlg.cpp
?????文件????????1466??2013-05-29?10:04??DCMCreate\DCMCreateDlg.h
?????文件???????10335??2013-05-29?08:46??DCMCreate\DcmAPI.h
?????文件?????2379776??2013-05-29?08:32??DCMCreate\DcmProc.dll
?????文件????????4932??2013-05-29?08:32??DCMCreate\DcmProc.lib
?????目錄???????????0??2013-05-29?11:07??DCMCreate\Debug\
?????文件??????122947??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.exe
?????文件??????228236??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.ilk
?????文件???????14160??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.obj
?????文件?????5503664??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.pch
?????文件??????304128??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.pdb
?????文件????????2812??2013-05-29?11:06??DCMCreate\Debug\DCMCreate.res
?????文件???????92051??2013-05-29?11:06??DCMCreate\Debug\DCMCreateDlg.obj
?????文件??????105451??2013-05-29?11:06??DCMCreate\Debug\StdAfx.obj
?????文件??????369664??2013-05-29?11:06??DCMCreate\Debug\vc60.idb
?????文件??????659456??2013-05-29?11:06??DCMCreate\Debug\vc60.pdb
?????文件??????401462??2007-04-02?15:21??DCMCreate\MSVCP60.DLL
?????文件????????3633??2013-05-28?13:35??DCMCreate\ReadMe.txt
?????目錄???????????0??2013-05-29?11:07??DCMCreate\Release\
?????文件???????53248??2013-05-29?11:06??DCMCreate\Release\DCMCreate.exe
............此處省略13個文件信息
評論
共有 條評論