[ITK] [ITK-users] the error in the example of ImageSeriesReadWrite

Apantar 2389127171 at qq.com
Tue Apr 5 20:37:44 EDT 2016


Hi
    I want use the example:"ImageSeriesReadWrite.cxx" to to read a series of 2D slices from independent
files in order to compose a volume. But when I input " 001 003 vwe.png" in the cmd window, there is always is a problem.
That is,
C:\Users\EVEN DUAN>H:\EVENF\I_VTK\TEXT\ImageSeriesReadWrite\bin\Debug\ImageSeriesReadWrite.exe 001 002 vwe.png
ExceptionObject caught !


itk::ExceptionObject (000000000014F530)
Location: "void __cdecl itk::ImageFileWriter<class itk::Image<unsigned char,3> >::Write(void)"
File: h:\evenf\i_vtk\itk\itk2010\include\itk-4.7\itkImageFileWriter.hxx
Line: 290
Description: itk::ERROR: ImageFileWriter(0000000002CA44A0): Largest possible region does not fully contain requested paste IO regionPaste IO region: ImageIORegion (000000000014EDA0)
  Dimension: 3
  Index: 0 0 0
  Size: 0 0 2
Largest possible region: ImageRegion (000000000014EC68)
  Dimension: 3
  Index: [0, 0, 0]
  Size: [0, 0, 2]
  so what's wrang?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160406/b1f6996e/attachment-0001.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list