[Insight-users] Exception thrown while reading a cropped file !

Juliette Deniau juliette.deniau at yahoo.fr
Mon Nov 30 08:08:13 EST 2009


Hi,
I have a reading problem of a cropped volume. The error I get is as follows:
Exception thrown while reading the cropped file
itk::ExceptionObject (013DFA88)
Location: "void __thiscall itk::ImageFileReader<class itk::Image<unsigned char,3>,class itk::DefaultConvertPixelTraits<unsigned char> >::EnlargeOutputRequestedRegion(class itk::DataObject *)"
File: c:\mytools\insight\insighttoolkit-3.10.0\code\io\itkImageFileReader.txx
Line: 341
Description: itk::ERROR: ImageFileReader(02616CA8): ImageIO returns IO region that does not fully contain the requested regionRequested region: ImageRegion (013DFC74)
  Dimension: 3
  Index: [13, 13, 13]
  Size: [25, 25, 25]
StreamableRegion region: ImageRegion (02616D8C)
  Dimension: 3
  Index: [0, 0, 0]
  Size: [25, 25, 25]
// end error
The cropped volume is obtained by cropping the original volume using  Bounding Box Index [13, 13, 13]and Bounding Box size [25, 25, 25]of a segmented object contained in the original volume.
The original volume is as following:
inputSize= 64, 64, 64
inputOrigin= 0, 0, 0
inputSpacing= 1, 1, 1
inputStart= 0, 0, 0
I could not understand the above error especially I can view the cropped volume using  Volview without any problem! But I can’t read it !
Could anyone help me on this matter? 
Many thanks
Juliette.
 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091130/47762b0e/attachment.htm>


More information about the Insight-users mailing list