export file dicom to bmp, png...

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Marìa Dolore
Posts: 10
Joined: Mon, 2006-06-12, 23:16

export file dicom to bmp, png...

#1 Post by Marìa Dolore »

hI!
I use VC++ 6.0, windows XP

I can't export File DICOM to BMP
the instrucction:
c:\dcm2pnm.exe +obt fileName resultadodcm.bmp;

where
dcm2pnm path: c:\dcm2pnm.exe
option: +obt
File DICOM: fileName
File out: resultadodcm.bmp

Marìa Dolore
Posts: 10
Joined: Mon, 2006-06-12, 23:16

#2 Post by Marìa Dolore »

Someone can explain to me how use the dcm2pnm because I don't understand!

(I need basic help )

Program Errors :

--------------------Configuration: dcm - Win32 Debug--------------------
Compiling...
dcmDlg.cpp
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2017: illegal escape sequence
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2065: 'dcm2pnm' : undeclared identifier
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2228: left of '.exe' must have class/struct/union type
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2065: 'obt' : undeclared identifier
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2146: syntax error : missing ';' before identifier 'fileName'
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2146: syntax error : missing ';' before identifier 'resultadodcm'
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2065: 'resultadodcm' : undeclared identifier
C:\Documents and Settings\dnava\Escritorio\Bibliotecas\guarda_DCM_16oct2006\dcm\dcmDlg.cpp(260) : error C2228: left of '.bmp' must have class/struct/union type
Error executing cl.exe.

dcmDlg.obj - 8 error(s), 0 warning(s)

Marìa Dolore
Posts: 10
Joined: Mon, 2006-06-12, 23:16

#3 Post by Marìa Dolore »

can work, in the moment I don´t have problem!
Thanks!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests