[Insight-users] problem reading meta file formats

digvijay singh ds_1997in at yahoo . com
Wed, 21 Aug 2002 03:41:53 -0700 (PDT)


hello all,
i tried the MRIBiasCorrection example (solaris 8 gcc
-2.95+)and there was a problem reading the meta file
brainweb165a10f17.mha. 
i then tried the MetaImageReadWrite example and there
too i am having a problem reading the file format. the
command and the error message are like:
tarsus:/home/vertebra/digvijay/itk/proj_1/MetaImageReadWrite>MetaImageReadWrite
~digvijay/brain/brainweb165a10f17.mha
Problems reading file format
in the previous example too the command line and the
error message were like
tarsus:/home/vertebra/digvijay/itk/proj_1/MRIBiasCorrection>IntensityHistogram3D
 --file brainweb165a10f17.mha --bin-size 10
NDims required and not defined.
MetaObject: Read: MET_Read Failed
MetaImage: M_Read: Error parsing file
MetaImage: Read: Cannot parse file

itk::ExceptionObject (0xffbeeea8)
Location: "Unknown"
File:
/home/encephalon/mstyner/itk/Insight_Nightly/Insight/Code/IO/itkImageFileR
eader.txx
Line: 111
Description: Number of dimensions in file (0) does not
match number of dimension
s in output (3)
luis as u suggested i tried changing the bigendian
option to off as well but that too did not help
does somebody have a clue to the problem.
thanks
digvijay


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com