[Dcmlib] makeDicomDir: png file ?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jan 12 23:22:13 CET 2005


J'ai tourner debugon pour makeDicomDir et voila ce que j'obtiens sur Win32:

Test project
Changing directory into c:\Dashboards\My Tests\gdcmVS60\Test
   1/  1 Testing makeDicomDir
Test command: "C:\Dashboards\My Tests\gdcmVS60\bin\Debug\gdcmTests.exe" 
makeDicomDir
Debug: In c:\Dashboards\My Tests\gdcm\src\gdcmDocument.cxx, line 349, 
function <unknow>
Last system error was: Permission denied
Cannot open file: C:/Dashboards/My Tests/gdcmData


Verbose: In c:\Dashboards\My Tests\gdcm\src\gdcmDicomDir.cxx, line 93, 
function <unknow>
Entry HT empty


On essai de faire un
new ifstream( "nom de repertoire" )

ca marche ca ? En C, on peut faire un FILE sur un repertoire ?

Mathieu


Mathieu Malaterre wrote:
> Salut,
> 
>     Comme a mon habitude je comprends rien :)
>     Est-ce que c'est le comportement voulu que makeDicomDir parcours les 
> fichiers png ? En tournant DebugOn j'ai:
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 392, function std::ifstream* gdcm::Document::OpenFile()
> Not DICOM/ACR (missing 
> preamble)/home/malaterre/Creatis/malaterre/gdcmData/Baseline/D_CLUNIE_CT1_RLE.png 
> 
> 
> 
> 
> 
> 
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 254, function virtual bool gdcm::Document::IsReadable()
> Wrong filetype
> 
> 
> 
> 
> 
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 392, function std::ifstream* gdcm::Document::OpenFile()
> Not DICOM/ACR (missing 
> preamble)/home/malaterre/Creatis/malaterre/gdcmData/Baseline/OT-PAL-8-face.png 
> 
> 
> 
> 
> 
> 
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 254, function virtual bool gdcm::Document::IsReadable()
> Wrong filetype
> 
> 
> 
> 
> 
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 392, function std::ifstream* gdcm::Document::OpenFile()
> Not DICOM/ACR (missing 
> preamble)/home/malaterre/Creatis/malaterre/gdcmData/Baseline/GE_DLX-8-MONO2-PrivateSyntax.png 
> 
> 
> 
> 
> 
> 
> 
> Verbose: In /home/malaterre/Creatis/malaterre/gdcm/src/gdcmDocument.cxx, 
> line 254, function virtual bool gdcm::Document::IsReadable()
> Wrong filetype
> 
> 
> Simple curiosite'
> Mathieu
> 
> 
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
> 






More information about the Dcmlib mailing list