如何将bmp格式图片保存为dicom格式的vc源码
LPCWSTR==constwchar_*你如果用了"xxx.dll"改成L"xxx.dll"
- http://bbs.hc3i.cn/thread-9856-1-1.html
- 时间: 2010/05/13
BMp转换DICOM碰到一个代码问题,谁知道请回答下
...参阅C.7.6.3的图象象素组件描述gTag=0x0028;eTag=0x0100;strcpy(VR,"US");//2bytesfixedSLength=2;if(ConvertMode==3)Data=8;elseData=16;fwrite(&gTag,2,1,fpDICOM);fwrite(&eTag,2,1,fpDICOM);fwrite(VR,2,1,fpDICOM);fwrite(&SLength,2,1,fpDICOM);fwrite(&Data,SLength,1,fpDICOM...
- http://bbs.hc3i.cn/thread-5792-1-1.html
- 时间: 2010/03/24
怎样编译自己的DICOM工程啊?
...dicom文件中病人的名字,老是通不过。具体如下:#include"dcmtk\dcmdata\dcdeftag.h"#include"dcmtk\dcmdata\dcfilefo.h"voidCDcmMFCView::OnTryDicom(){CStringstrName;DcmFileFormatfileformat;OFConditionstatus=fileformat.loadFile("IM000007.dcm");if(status.good...
- http://bbs.hc3i.cn/thread-5952-1-1.html
- 时间: 2010/03/20
[求助]关于鼠标的拖动
在VC中,用什么函数能实现在成功读取图象后,通过拖动鼠标来改变"WindowCenter"和"WindowWidth"的值。谢谢!
- http://bbs.hc3i.cn/thread-5780-1-1.html
- 时间: 2010/03/07
请教DICOM问题,关于dcmtk开发包问题~~
...译成exe文件时候出错,信息如下:ofConsole.lockCerr()<<"Error:DcmSequenceOfItems::readSubItem():cannotcreateSubItem"<<newTag<<endl;错误提示:C:\dcmsource\dcmtk\dcmdata\libsrc\dcsequen.cxx(517):errorC2679:binary'<<':nooperatordefinedwhichtakesaright-...
- http://bbs.hc3i.cn/thread-3479-1-1.html
- 时间: 2010/03/04
请教关于DCMTK的使用,高手请进
...!1、我仿照DCM2PNM.CXX的程序,包含了如下头文件:#include"osconfig.h"/*makesureOSspecificconfigurationisincludedfirst*/#defineINCLUDE_CSTDIO#defineINCLUDE_CSTRING#include"ofstdinc.h"#ifdefHAVE_GUSI_H#include<GUSI.h>#endif#include"dctk.h"/*forvario...
- http://bbs.hc3i.cn/thread-5713-1-1.html
- 时间: 2010/03/01
用过DCMTK的请看过来!
用CMake后再用VC编译时,出现fatalerrorLNK1104:cannotopenfile"ofstd.lib"会是什么原因呢?
- http://bbs.hc3i.cn/thread-3262-1-1.html
- 时间: 2010/02/22
vc6 + dcmtk环境配置问题
...Debug--------------------Linking...libcpmtd.lib(locale0.obj):errorLNK2005:"public:classstd::locale::facetconst*__thiscallstd::locale::_Getfacet(unsignedint,bool)const"(?_Getfacet@locale@std@@QBEPBVfacet@12@I_N@Z)alreadydefinedinmsvcprtd.lib(MSVCP60D.dll)libcpmtd.lib(locale0.obj):errorLNK20...
- http://bbs.hc3i.cn/thread-6994-1-1.html
- 时间: 2010/02/22
dcmtk 在 vs2008中MFC应用问题!
...案(1)進入C:\DCMTK\cmake-2.6.0-win32-x86\bin\執行CMakeSetup.exe(2)在"Whereisthesourcecode:"填入C:\DCMTK\dcmtk-3.5.4(3)在"Wheretobuildthebinary:"填入C:\DCMTK\dcmtk-3.5.4(4)按一下"Configure"按鈕,並在出現的對話盒選"VisualStudio82005",...
- http://bbs.hc3i.cn/thread-6153-1-1.html
- 时间: 2010/02/12
怎样编译自己的DICOM工程啊?
...dicom文件中病人的名字,老是通不过。具体如下:#include"dcmtk\dcmdata\dcdeftag.h"#include"dcmtk\dcmdata\dcfilefo.h"voidCDcmMFCView::OnTryDicom(){CStringstrName;DcmFileFormatfileformat;OFConditionstatus=fileformat.loadFile("IM000007.dcm");if(status.good...
- http://bbs.hc3i.cn/thread-6302-1-1.html
- 时间: 2010/01/28
DR图象dicom打印 胶片打反(有代码)
...spFormat[0xff];charszPages[0xff];longlPages=0;char*tmp;sprintf(szFilmSize,"%dINX%dIN",(long)m_dFilmX,(long)m_dFilmY);sprintf(szImageDispFormat,"STANDARD\\%d,%d",m_iX,m_iY);lPages=strtod(m_Pages_Value,&tmp);if(lPages<1){lPages=1;}sprintf(szPages,"%d",lPages);Dicom...
- http://bbs.hc3i.cn/thread-3978-1-1.html
- 时间: 2010/01/22
DCMTK编译错误
我用VC6编译DCMTK时,而且也配置了ZLIB,但是为什么还会出现这样的错误呢LINK:fatalerrorLNK1181:cannotopeninputfile"zlib_o.lib"谁有DICOM目录源程序,多谢帮助
- http://bbs.hc3i.cn/thread-5176-1-1.html
- 时间: 2010/01/11
[求助]dcmtk vc7.0中如何使用DicomImage
...sleay32.liblibeay32.libnetapi32.libwsock32.libzlib.lib包含文件#include"dctk.h"#include"dcmimage.h"当使用DicomImage时DicomImage*pDImage=newDicomImage("test.dcm");生成解决方案时输出正在链接...LINK:warningLNK4098:默认库“LIBCMT”与其他库的使...
- http://bbs.hc3i.cn/thread-5095-1-1.html
- 时间: 2009/12/25
DCMTK在VC6下面的问题
...能生成.DSW了,但老是出现:LINK:fatalerrorLNK1104:cannotopenfile"……自己的目录…………dcmtk-3.5.4\zlib-1.2.3\lib\.\Debug.obj"的问题不知是什么原因啊?2CMaker2.6时的问题是LINK:fatalerrorLNK1104:cannotopenfile"自己的中文目录\CMakeFiles\CMakeT...
- http://bbs.hc3i.cn/thread-6150-1-1.html
- 时间: 2009/12/25
使用ucdmc99时出现重定义的错误!
...义的错误,如下:Linking...msvcprtd.lib(MSVCP60D.dll):errorLNK2005:"public:classstd::basic_ostream>&__thiscallstd::basic_ostream>::operator<<(classstd::basic_ostream>&(__cdecl*)(classstd::basic_ostream>&))"(??6?$basic_ostream@DU?$char_traits@D@std@@@std...
- http://bbs.hc3i.cn/thread-7145-1-1.html
- 时间: 2009/12/01
求救!VC显示灰度图的问题
...PY);if(pOldPal)pDC->SelectPalette(pOldPal,FALSE);CStringstr;str.Format("位图颜色索引值:%d",*(pData+200*30));pDC->TextOut(10,10,str);pDC->TextOut(10,50,"调色板颜色:");str.Format("Red:%d",pBitmapInfo->bmiColors[m_nColors].rgbRed);pDC->TextOu...
- http://bbs.hc3i.cn/thread-5040-1-1.html
- 时间: 2009/11/29
基于dcmtk编程,老是出现错误“无法解析的外部符号”
错误1errorLNK2001:无法解析的外部符号"public:virtualclassOFConditionBaseconst*__thiscallOFConditionConst::clone(void)const"(链接标记?clone@OFConditionConst@@UBEPBVOFConditionBase@@XZ)我已经将lib文件,都加到C:\ProgramFiles\MicrosoftVisualStudio8\VC\lib下了,怎么...
- http://bbs.hc3i.cn/thread-5250-1-1.html
- 时间: 2009/11/27
DCMTK在VC6下面的问题
...能生成.DSW了,但老是出现:LINK:fatalerrorLNK1104:cannotopenfile"……自己的目录…………dcmtk-3.5.4\zlib-1.2.3\lib\.\Debug.obj"的问题不知是什么原因啊?2CMaker2.6时的问题是LINK:fatalerrorLNK1104:cannotopenfile"自己的中文目录\CMakeFiles\CMakeT...
- http://bbs.hc3i.cn/thread-5867-1-1.html
- 时间: 2009/11/25
dcmtk 在 vs2008中MFC应用问题!
...案(1)進入C:\DCMTK\cmake-2.6.0-win32-x86\bin\執行CMakeSetup.exe(2)在"Whereisthesourcecode:"填入C:\DCMTK\dcmtk-3.5.4(3)在"Wheretobuildthebinary:"填入C:\DCMTK\dcmtk-3.5.4(4)按一下"Configure"按鈕,並在出現的對話盒選"VisualStudio82005",...
- http://bbs.hc3i.cn/thread-6555-1-1.html
- 时间: 2009/11/14
请教DICOM问题,关于dcmtk开发包问题~~
...译成exe文件时候出错,信息如下:ofConsole.lockCerr()<<"Error:DcmSequenceOfItems::readSubItem():cannotcreateSubItem"<<newTag<<endl;错误提示:C:\dcmsource\dcmtk\dcmdata\libsrc\dcsequen.cxx(517):errorC2679:binary'<<':nooperatordefinedwhichtakesaright-...
- http://bbs.hc3i.cn/thread-3255-1-1.html
- 时间: 2009/10/30