[Insight-users] MetaImageIO

Kalpathi Subramanian krs at uncc.edu
Tue Dec 20 15:33:18 EST 2005


I am trying to read a raw image with a .mhd file containing
its header using the MetaImageIO class..

But when compiling, it doesnt even seem to find this template class.
Isnt it supposed to be part of the libITKIO.so library? (nm shows
the symbols for it). There is also a libMetaIO.so. Including
this doesnt seem to make any difference, either..

The exact error from compilation..

itk::MetaImageIO is not a template


Also, I am a little unclear as to using this reader. I have a .mhd
file and a corresponding image file in raw format. Do I need
to explicitly create the MetaImageIO class and then call 
ReadImageInformation() or something?  Its just not clear to me
how the header is read in. Are  there any examples I can look at.
I dont think there is one in teh software guide.

Thanks.

	== krs




•••••••••••••••••••••••••••
K.R.Subramanian                        Phone: (704) 687-8579
Department of Computer Science         FAX:   (704) 687-3516
UNC Charlotte, STech 435E              Email: krs at uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs


More information about the Insight-users mailing list