Hello Haibin, the -f dicom -d expects a directory name. To specify a single dicom file (the rest of the files in the series will be loaded automatically) use vmtkimagereader -ifile C:\\Aorta_voi\\hai.dcm --pipe vmtkimageviewer Best,
Luca On Mar 9, 2013, at 9:48 AM, Haibin Cai wrote: > dear Luca and vmtk-users, > Thanks for your help, I can use vmtk to open .mha and .vtk files in > windows7.But a new problem comes out today.I type > vmtkimagereader -f dicom -d C:\\Aorta_voi\\hai.dcm --pipe vmtkimageviewer > in my pypepad. An error comes out that says: > ERROR: In > C:\Users\orobix\Documents\VMTK\vmtk-build\VTK\IO\vtkDICOMImageReader.cxx, > line 158 > vtkvmtkDICOMImageReader (01E25CC0): Couldn't open C:\Aorta_voi\hai.dcm > > ERROR: In > C:\Users\orobix\Documents\VMTK\vmtk-build\VTK\IO\vtkDICOMImageReader.cxx, > line 256 > vtkvmtkDICOMImageReader (01E25CC0): Either a filename was not specified or > the specified directory does not contain any DICOM images. > I am sure that I have a hai.dcm in C:\Aorta_voi. > Thanks > haibin > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev_______________________________________________ > vmtk-users mailing list > vmtk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vmtk-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users