[Insight-users] Errors in reading .mha files by ImageViewer and WarpImageFilter1

Xiang, Hong HXIANG at LROC.HARVARD.EDU
Wed Oct 26 17:33:38 EDT 2005


Hello,
 
Someone may have had this problem before, any clue may be of help...!
 
Regards,
Hong
 
the problem:
 
I was running ImageViewer and WarpImageFilter1 with the 
example image files taken from ITK Examples\Data direcory 
(say, RatLungSlice2.mha) , but I got error messages like:
 
When running ImageViewer:
====================
 
"Loading File: RatLungSlice2.mha
MetaImage: Read: Cannot open data file
Problems reading file format"
 
When running WarpImageFilter1:
========================

"MetaImage: Read: Cannot open data file
Exception thrown
itk::ExceptionObject (010FEE50)
Location: "Unknown"
File: \Program Files\InsightToolkit-2.2.0\Code\Io\itkMetaImageIO.cxx
Line: 757
Description: File cannot be read"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4701 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20051026/f3b31fe4/attachment.bin


More information about the Insight-users mailing list