Hi Dan, try omitting the square brackets and the commas in the command line: tuples are simply specified as a plain list of numbers:
vmtkimagereader -f raw -ifile X:\Studies\AIF\AIF_01\PET\Sum\AIF_01_f1_1_nas.i -spacing 1.25 1.25 1.25 -extent 0 255 0 255 0 152 --pipe vmtkimageviewer Hope this helps Luca On Oct 1, 2011, at 12:34 AM, Dan wrote: > Hi, > > I'm very new to using the toolkit, so forgive my ignorance, but I > cannot seem to load in my flat data into vmtk. I have a file that is > a 256x256x153 array of 32 bit numbers with an isotropic spatial > resolution of 1.25 anda center at voxel 128,128,76.5. > > I try to load it with: > > > vmtkimagereader -f raw -ifile > X:\Studies\AIF\AIF_01\PET\Sum\AIF_01_f1_1_nas.i -spacing [1.25, 1.25, > 1.25] -extent [0 255 0 255 0 152] --pipe vmtkimageviewer > > but all I get out is: > > Creating vmtkImageReader instance. > Automatic piping vmtkimagereader > Parsing options vmtkimagereader > Format = raw > InputFileName = X:\Studies\AIF\AIF_01\PET\Sum\AIF_01_f1_1_nas.i > > How do you load non-DICOM data into vmtk? > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > vmtk-users mailing list > vmtk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vmtk-users ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users